Companies
Get all companies
Returns all company profiles of the enterprise, possibly filtered by identifiers, names or other filters. Note this operation uses Pagination and supports Portfolio Access Tokens.
Request
[PlatformAddress]/api/connector/v1/companies/getAll
Property | Type | Contract | Description |
---|---|---|---|
| string | required | Token identifying the client application. |
| string | required | Access token of the client application. |
| string | required | Name and version of the client application. |
| array of string | optional, max 1000 items | Unique identifiers of the chain. If not specified, the operation returns data for all chains within scope of the Access Token. |
| array of string | optional, max 1000 items | Unique identifiers of Companies. |
| array of string | optional, max 1000 items | Names of Companies. |
| optional, max length 3 months | Interval of Company creation date and time. | |
| optional, max length 3 months | Interval of Company last update date and time. | |
| array of string | optional, max 1000 items | Identifiers of Company from external system. |
| required | Limitation on the quantity of customers returned. |
Response
Property | Type | Contract | Description |
---|---|---|---|
| array of Company | required | The company profiles of the enterprise. |
| string | required | Unique identifier of the last and hence oldest company item returned. This can be used in Limitation in a subsequent request to fetch the next batch of older companies. If Limitation is specified in the request message, then |
Company
Property | Type | Contract | Description |
---|---|---|---|
| string | required | Unique identifier of the company. |
| string | required | Unique identifier of the chain. |
| string | required | Name of the company. |
| boolean | required | Whether the company is still active. |
| number | required | Unique number of the company. |
| string | optional | Other identifier of the company, e.g. legal identifier. |
| string | optional | Tax identification number of the company. |
| string | optional | Additional tax identifier of the company. |
| string | optional | Electronic invoice identifier of the company. |
| string | optional | The maximum time, when the invoice has to be be paid in ISO 8601 duration format. |
| string | optional | Accounting code of the company. |
| guid | optional | Unique identifier of mother company. |
| string | optional | Date of Company creation date and time. |
| string | optional | Date of Company last update date and time. |
| string | optional | Unique identifier of the company Address. |
| string | optional | Billing code of the company. |
| string | optional | Iata of the company. |
| string | optional | Contact telephone number. |
| string | optional | Email for issuing invoices to the company. |
| string | optional | Contact person of the company. |
| string | optional | Other contact details, such as telephone, email or similar. |
| string | optional | Additional notes. |
| required | Options of the company. | |
| string | optional | The internal segmentation of a company, e.g. sales department. |
| string | optional | The Dun & Bradstreet unique 9-digit DUNS number. |
| optional | Credit rating to define creditworthiness of the company. | |
| string | optional | External system identifier - custom identifier used by an external system such as an external database. |
| string | optional | The website url of the company. |
| string | optional, max 255 characters | Identifier of company from external system. |
Company options
Property | Type | Contract | Description |
---|---|---|---|
| boolean | required | Whether the company is invoiceable or not. |
| boolean | required | Whether the company has an additional fee applied for invoicing or not. |
Credit rating
Property | Type | Contract | Description |
---|---|---|---|
| string Credit rating basic | optional | The level of creditworthiness of the company. |
Credit rating basic
CreditOk
PaymentRequiredUpfront
LocalDecisionRequired
Add company
Adds a new company. Note this operation supports Portfolio Access Tokens.
Request
[PlatformAddress]/api/connector/v1/companies/add
Property | Type | Contract | Description |
---|---|---|---|
| string | required | Token identifying the client application. |
| string | required | Access token of the client application. |
| string | required | Name and version of the client application. |
| string | optional | Unique identifier of the chain. Required when using Portfolio Access Tokens, ignored otherwise. |
| string | required | Name of the company. |
| required | Options of the company. | |
| string | optional | Unique identifier of the mother company. |
| string | optional | Identifier of the company (e.g. legal identifier). |
| string | optional | Tax identification number of the company. |
| string | optional | Additional tax identifer of the company. |
| string | optional | Billing code of the company. |
| string | optional | Accounting code of the company. |
| optional | Address of the company. | |
| string | optional | The maximum time, when the invoice has to be be paid in ISO 8601 duration format. |
| string | optional | Contact person of the company. |
| string | optional | Other contact details, such as telephone, email or similar. |
| string | optional | Notes of the company. |
| string | optional | Iata of the company. |
| string | optional | The internal segmentation of a company, e.g. sales department. |
| string | optional | The Dun & Bradstreet unique 9-digit DUNS number. |
| optional | Credit rating to define creditworthiness of the company. | |
| string | optional, max 255 characters | Identifier of the company from external system. |
| string | optional | External system identifier - custom identifier used by an external system such as an external database. |
| string | optional | The website url of the company. |
Company options parameters
Property | Type | Contract | Description |
---|---|---|---|
| boolean | required | Whether the company is invoiceable or not. |
| boolean | required | Whether the company has an additional fee applied for invoicing or not. |
Response
Same structure as in Get all companies operation.
Update company
Updates information of the company. Note this operation supports Portfolio Access Tokens.
Request
[PlatformAddress]/api/connector/v1/companies/update
Property | Type | Contract | Description |
---|---|---|---|
| string | required | Token identifying the client application. |
| string | required | Access token of the client application. |
| string | required | Name and version of the client application. |
| string | optional | Unique identifier of the chain. Required when using Portfolio Access Tokens, ignored otherwise. |
| string | required | Unique identifier of the Company. |
| optional | Name of the company (or | |
| optional | Options of the company. | |
| optional | Unique identifier of the mother company (or | |
| optional | Identifier of the company, e.g. legal identifier (or | |
| optional | Tax identification number of the company (or | |
| optional | Additional tax identifer of the company (or | |
| optional | Billing code of the company (or | |
| optional | Accounting code of the company (or | |
| optional | The maximum time, when the invoice has to be be paid in ISO 8601 duration format. | |
| optional | Contact person of the company. | |
| optional | Other contact details, such as telephone, email or similar. | |
| optional | Notes of the company. | |
| optional | Iata of the company. | |
| optional | The internal segmentation of a company, e.g. sales department. | |
| optional | The Dun & Bradstreet unique 9-digit DUNS number. | |
| optional | Credit rating to define creditworthiness of the company. | |
| string | optional | |
| optional | External system identifier - custom identifier used by an external system such as an external database. | |
| optional | The website url of the company. |
Company options update value
Property | Type | Contract | Description |
---|---|---|---|
| optional | Whether the company is invoiceable or not. | |
| optional | Whether the company has an additional fee applied for invoicing or not. |
Credit rating update value
Property | Type | Contract | Description |
---|---|---|---|
| string update value with possible values of Credit rating basic | optional | The level of creditworthiness of the company. |
Response
Same structure as in Get all companies operation.
Delete companies
Deletes specified companies.
Request
[PlatformAddress]/api/connector/v1/companies/delete
Property | Type | Contract | Description |
---|---|---|---|
| string | required | Token identifying the client application. |
| string | required | Access token of the client application. |
| string | required | Name and version of the client application. |
| array of string | required, max 1000 items | Unique identifiers of the companies to be deleted. |
Response
Last updated