C# Class BatchBook.Location

Show file Open project: batchblue/batchbook-net

Public Methods

Method Description
CreateOnCompany ( int companyId, string label, bool isPrimary, string email, string website, string phone, string cell, string fax, string street1, string street2, string city, string state, string postalCode, string country ) : void
CreateOnCompany ( string apiKey, int companyId, string label, bool isPrimary, string email, string website, string phone, string cell, string fax, string street1, string street2, string city, string state, string postalCode, string country ) : void
CreateOnPerson ( int personId, string label, bool isPrimary, string email, string website, string phone, string cell, string fax, string street1, string street2, string city, string state, string postalCode, string country ) : void
CreateOnPerson ( string apiKey, int personId, string label, bool isPrimary, string email, string website, string phone, string cell, string fax, string street1, string street2, string city, string state, string postalCode, string country ) : void
DestroyOnCompany ( int companyId, string label ) : void
DestroyOnCompany ( string apiKey, int companyId, string label ) : void
DestroyOnPerson ( string apiKey, int personId, string label ) : void
GetByCompany ( int companyId, string locationName ) : Location
GetByCompany ( string apiKey, int companyId, string locationName ) : Location
GetByPerson ( int personId, string locationName ) : Location
GetByPerson ( string apiKey, int personId, string locationName ) : Location
ListByCompany ( int companyId ) : BatchBook.Location[]
ListByCompany ( string apiKey, int companyId ) : BatchBook.Location[]
ListByPerson ( int personId ) : BatchBook.Location[]
ListByPerson ( string apiKey, int personId ) : BatchBook.Location[]
UpdateOnCompany ( int companyId, string label, bool isPrimary, string email, string website, string phone, string cell, string fax, string street1, string street2, string city, string state, string postalCode, string country ) : void
UpdateOnCompany ( string apiKey, int companyId, string label, bool isPrimary, string email, string website, string phone, string cell, string fax, string street1, string street2, string city, string state, string postalCode, string country ) : void
UpdateOnPerson ( int personId, string label, bool isPrimary, string email, string website, string phone, string cell, string fax, string street1, string street2, string city, string state, string postalCode, string country ) : void
UpdateOnPerson ( string apiKey, int personId, string label, bool isPrimary, string email, string website, string phone, string cell, string fax, string street1, string street2, string city, string state, string postalCode, string country ) : void

Private Methods

Method Description
BuildList ( XmlReader rdr ) : BatchBook.Location[]
Location ( XmlReader rdr ) : System

Method Details

CreateOnCompany() public static method

public static CreateOnCompany ( int companyId, string label, bool isPrimary, string email, string website, string phone, string cell, string fax, string street1, string street2, string city, string state, string postalCode, string country ) : void
companyId int
label string
isPrimary bool
email string
website string
phone string
cell string
fax string
street1 string
street2 string
city string
state string
postalCode string
country string
return void

CreateOnCompany() public static method

public static CreateOnCompany ( string apiKey, int companyId, string label, bool isPrimary, string email, string website, string phone, string cell, string fax, string street1, string street2, string city, string state, string postalCode, string country ) : void
apiKey string
companyId int
label string
isPrimary bool
email string
website string
phone string
cell string
fax string
street1 string
street2 string
city string
state string
postalCode string
country string
return void

CreateOnPerson() public static method

public static CreateOnPerson ( int personId, string label, bool isPrimary, string email, string website, string phone, string cell, string fax, string street1, string street2, string city, string state, string postalCode, string country ) : void
personId int
label string
isPrimary bool
email string
website string
phone string
cell string
fax string
street1 string
street2 string
city string
state string
postalCode string
country string
return void

CreateOnPerson() public static method

public static CreateOnPerson ( string apiKey, int personId, string label, bool isPrimary, string email, string website, string phone, string cell, string fax, string street1, string street2, string city, string state, string postalCode, string country ) : void
apiKey string
personId int
label string
isPrimary bool
email string
website string
phone string
cell string
fax string
street1 string
street2 string
city string
state string
postalCode string
country string
return void

DestroyOnCompany() public static method

public static DestroyOnCompany ( int companyId, string label ) : void
companyId int
label string
return void

DestroyOnCompany() public static method

public static DestroyOnCompany ( string apiKey, int companyId, string label ) : void
apiKey string
companyId int
label string
return void

DestroyOnPerson() public static method

public static DestroyOnPerson ( string apiKey, int personId, string label ) : void
apiKey string
personId int
label string
return void

GetByCompany() public static method

public static GetByCompany ( int companyId, string locationName ) : Location
companyId int
locationName string
return Location

GetByCompany() public static method

public static GetByCompany ( string apiKey, int companyId, string locationName ) : Location
apiKey string
companyId int
locationName string
return Location

GetByPerson() public static method

public static GetByPerson ( int personId, string locationName ) : Location
personId int
locationName string
return Location

GetByPerson() public static method

public static GetByPerson ( string apiKey, int personId, string locationName ) : Location
apiKey string
personId int
locationName string
return Location

ListByCompany() public static method

public static ListByCompany ( int companyId ) : BatchBook.Location[]
companyId int
return BatchBook.Location[]

ListByCompany() public static method

public static ListByCompany ( string apiKey, int companyId ) : BatchBook.Location[]
apiKey string
companyId int
return BatchBook.Location[]

ListByPerson() public static method

public static ListByPerson ( int personId ) : BatchBook.Location[]
personId int
return BatchBook.Location[]

ListByPerson() public static method

public static ListByPerson ( string apiKey, int personId ) : BatchBook.Location[]
apiKey string
personId int
return BatchBook.Location[]

UpdateOnCompany() public static method

public static UpdateOnCompany ( int companyId, string label, bool isPrimary, string email, string website, string phone, string cell, string fax, string street1, string street2, string city, string state, string postalCode, string country ) : void
companyId int
label string
isPrimary bool
email string
website string
phone string
cell string
fax string
street1 string
street2 string
city string
state string
postalCode string
country string
return void

UpdateOnCompany() public static method

public static UpdateOnCompany ( string apiKey, int companyId, string label, bool isPrimary, string email, string website, string phone, string cell, string fax, string street1, string street2, string city, string state, string postalCode, string country ) : void
apiKey string
companyId int
label string
isPrimary bool
email string
website string
phone string
cell string
fax string
street1 string
street2 string
city string
state string
postalCode string
country string
return void

UpdateOnPerson() public static method

public static UpdateOnPerson ( int personId, string label, bool isPrimary, string email, string website, string phone, string cell, string fax, string street1, string street2, string city, string state, string postalCode, string country ) : void
personId int
label string
isPrimary bool
email string
website string
phone string
cell string
fax string
street1 string
street2 string
city string
state string
postalCode string
country string
return void

UpdateOnPerson() public static method

public static UpdateOnPerson ( string apiKey, int personId, string label, bool isPrimary, string email, string website, string phone, string cell, string fax, string street1, string street2, string city, string state, string postalCode, string country ) : void
apiKey string
personId int
label string
isPrimary bool
email string
website string
phone string
cell string
fax string
street1 string
street2 string
city string
state string
postalCode string
country string
return void