Method | Description | |
---|---|---|
CompanyResource ( ApiClient client ) : System |
Instantiates a new CompanyResource object.
|
|
Create ( |
Create an empty company.
|
|
Delete ( |
Delete a company.
|
|
Get ( string businessIdentityCode ) : |
Get company
|
|
GetCollectionUrl ( ) : string |
Url for the company resource.
|
|
GetUrl ( |
Url for the company collection resource
|
|
List ( bool showAll ) : List |
List companies.
|
|
Update ( |
Update a company. Business identity code can not be edited. If the identity code is edited, the system assumes it´s a new company. |
public CompanyResource ( ApiClient client ) : System | ||
client | ApiClient | REST client to use. |
return | System |
public Create ( |
||
company | Company to create. | |
return | void |
public Delete ( |
||
company | Company to delete. | |
return | void |
public Get ( string businessIdentityCode ) : |
||
businessIdentityCode | string | Business identity code for company. |
return |
public GetUrl ( |
||
companyInfo | Company to get the url for. | |
return | string |
public List ( bool showAll ) : List |
||
showAll | bool | Get all companies for agency if |
return | List |
public Update ( |
||
company | New company information. | |
return | void |