C# Class BatchBook.Location

Afficher le fichier Open project: batchblue/batchbook-net

Méthodes publiques

Méthode 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

Méthode Description
BuildList ( XmlReader rdr ) : BatchBook.Location[]
Location ( XmlReader rdr ) : System

Method Details

CreateOnCompany() public static méthode

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
Résultat void

CreateOnCompany() public static méthode

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
Résultat void

CreateOnPerson() public static méthode

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
Résultat void

CreateOnPerson() public static méthode

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
Résultat void

DestroyOnCompany() public static méthode

public static DestroyOnCompany ( int companyId, string label ) : void
companyId int
label string
Résultat void

DestroyOnCompany() public static méthode

public static DestroyOnCompany ( string apiKey, int companyId, string label ) : void
apiKey string
companyId int
label string
Résultat void

DestroyOnPerson() public static méthode

public static DestroyOnPerson ( string apiKey, int personId, string label ) : void
apiKey string
personId int
label string
Résultat void

GetByCompany() public static méthode

public static GetByCompany ( int companyId, string locationName ) : Location
companyId int
locationName string
Résultat Location

GetByCompany() public static méthode

public static GetByCompany ( string apiKey, int companyId, string locationName ) : Location
apiKey string
companyId int
locationName string
Résultat Location

GetByPerson() public static méthode

public static GetByPerson ( int personId, string locationName ) : Location
personId int
locationName string
Résultat Location

GetByPerson() public static méthode

public static GetByPerson ( string apiKey, int personId, string locationName ) : Location
apiKey string
personId int
locationName string
Résultat Location

ListByCompany() public static méthode

public static ListByCompany ( int companyId ) : BatchBook.Location[]
companyId int
Résultat BatchBook.Location[]

ListByCompany() public static méthode

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

ListByPerson() public static méthode

public static ListByPerson ( int personId ) : BatchBook.Location[]
personId int
Résultat BatchBook.Location[]

ListByPerson() public static méthode

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

UpdateOnCompany() public static méthode

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
Résultat void

UpdateOnCompany() public static méthode

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
Résultat void

UpdateOnPerson() public static méthode

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
Résultat void

UpdateOnPerson() public static méthode

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
Résultat void