Business Core | Entity
Service to manage entities of type 'Party'.
Overview
URL | api/{tenantKey}/{orgKey}/businessCore/parties |
Methods Supported | GET, POST, PUT, DELETE |
All Operations
This service includes the following operations:
- GET:
- POST:
-
PUT:
- PUT Set Custom Attribute Party
- PUT Set Custom Attribute PartyAddress
- PUT Set Custom Attribute PartyContact
- PUT Set IsActive Party
- PUT Set PartyKey Party
- PUT Set Name Party
- PUT Set SearchTerm Party
- PUT Set Keyword Party
- PUT Set CompanyTaxID Party
- PUT Set ElectronicMail Party
- PUT Set Telephone Party
- PUT Set Mobile Party
- PUT Set WebsiteUrl Party
- PUT Set Notes Party
- PUT Set Picture Party
- PUT Set StreetName Party
- PUT Set BuildingNumber Party
- PUT Set PostalZone Party
- PUT Set CityName Party
- PUT Set ContactName Party
- PUT Set ContactTitle Party
- PUT Set Username Party
- PUT Set OneTimeParty Party
- PUT Set Currency Party
- PUT Set Country Party
- PUT Set Address Party
- PUT Set Contact Party
- PUT Set Culture Party
- PUT Set PartyAccountType Party
- PUT Set IsPerson Party
- PUT Set IsEmployee Party
- PUT Set IsSupplier Party
- PUT Set IsCustomer Party
- PUT Set StreetName PartyAddress
- PUT Set BuildingNumber PartyAddress
- PUT Set PostalZone PartyAddress
- PUT Set CityName PartyAddress
- PUT Set ContactName PartyAddress
- PUT Set ContactTitle PartyAddress
- PUT Set Country PartyAddress
- PUT Set ContactTitle PartyContact
- PUT Set ContactName PartyContact
- PUT Set ElectronicMail PartyContact
- PUT Set Mobile PartyContact
- PUT Set Telephone PartyContact
- PUT Set ContactType PartyContact
- DELETE:
All Resources
This service uses the following resources:
GET Parties (odata)
Returns a page of the list of all the entity records available.
The following elements are optional:
opts | (ODataQueryOptions) OData query option. |
Response:
When successful, the response body contains the list of records available. See PartyResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET Party by identifier
Returns the entity record that matches the specified identifier.
The following elements are required:
id | (string) The record identifier. |
Response:
When successful, the response body contains the entity record. See PartyResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
GET Party by key
Returns the entity record that matches the specified key.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
Response:
When successful, the response body contains the entity record. See PartyResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
GET Entity Picture.
Returns the value of attribute 'Picture' of the specified entity record.
The following elements are required:
id | (string) The record identifier. |
fileName | (string) The file name. |
Response:
When successful, the response is a stream with the image file. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
GET Get User Subscription Product
Custom operation 'GetUserSubscriptionProduct'.
Response:
When successful, the response body contains a string. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
POST Parties
Creates a new entity record.
The following elements are required:
partyResource | (ApiPartyResource) The request body should contain the entity record that should be created. See ApiPartyResource. |
The following elements are optional:
customAttributes | (JSON Document) A key-value pair in JSON format that represents the extensibility custom attributes for this entity. The key should be the custom attribute name prefixed with "custom_", e.g. "custom_attributeName". While the "customAttributes" element is optional, please notice that specific custom attributes might be marked as required. |
Response:
When successful, the response body contains the new entity record identifier. The resource header location property contains the URL for the new entity record. See ApiPartyResource. |
Response status codes:
201 | Created. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
POST Party Address
Inserts a new 'Party Address' in the 'Entity'.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (ApiPartyPartyAddressesResource) The ApiPartyPartyAddressesResource instance. See ApiPartyPartyAddressesResource. |
The following elements are optional:
customAttributes | (JSON Document) A key-value pair in JSON format that represents the extensibility custom attributes for this entity. The key should be the custom attribute name prefixed with "custom_", e.g. "custom_attributeName". While the "customAttributes" element is optional, please notice that specific custom attributes might be marked as required. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | NoContent. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
POST Party Contact
Inserts a new 'Party Contact' in the 'Entity'.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (ApiPartyPartyContactsResource) The ApiPartyPartyContactsResource instance. See ApiPartyPartyContactsResource. |
The following elements are optional:
customAttributes | (JSON Document) A key-value pair in JSON format that represents the extensibility custom attributes for this entity. The key should be the custom attribute name prefixed with "custom_", e.g. "custom_attributeName". While the "customAttributes" element is optional, please notice that specific custom attributes might be marked as required. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | NoContent. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
POST Build Party
Custom operation 'BuildParty'.
The following elements are required:
companyKey | (string) CompanyKey. |
The following elements are optional:
customAttributes | (JSON Document) A key-value pair in JSON format that represents the extensibility custom attributes for this entity. The key should be the custom attribute name prefixed with "custom_", e.g. "custom_attributeName". While the "customAttributes" element is optional, please notice that specific custom attributes might be marked as required. |
Response:
When successful, the response body contains a resource of type 'PartyResource'. See PartyResource. |
Resource URL:
PUT Set Address Party
Updates the value of attribute 'Address' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set BuildingNumber Party
Updates the value of attribute 'BuildingNumber' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set BuildingNumber PartyAddress
Updates the value of attribute 'BuildingNumber' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
lineId | (string) The detail identifier. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set CityName Party
Updates the value of attribute 'CityName' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set CityName PartyAddress
Updates the value of attribute 'CityName' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
lineId | (string) The detail identifier. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set CompanyTaxID Party
Updates the value of attribute 'CompanyTaxID' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Contact Party
Updates the value of attribute 'Contact' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set ContactName Party
Updates the value of attribute 'ContactName' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set ContactName PartyAddress
Updates the value of attribute 'ContactName' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
lineId | (string) The detail identifier. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set ContactName PartyContact
Updates the value of attribute 'ContactName' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
lineId | (string) The detail identifier. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set ContactTitle Party
Updates the value of attribute 'ContactTitle' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set ContactTitle PartyAddress
Updates the value of attribute 'ContactTitle' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
lineId | (string) The detail identifier. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set ContactTitle PartyContact
Updates the value of attribute 'ContactTitle' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
lineId | (string) The detail identifier. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set ContactType PartyContact
Updates the value of attribute 'ContactType' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
lineId | (string) The detail identifier. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Country Party
Updates the value of attribute 'Country' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Country PartyAddress
Updates the value of attribute 'Country' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
lineId | (string) The detail identifier. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Culture Party
Updates the value of attribute 'Culture' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Currency Party
Updates the value of attribute 'Currency' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set ElectronicMail Party
Updates the value of attribute 'ElectronicMail' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set ElectronicMail PartyContact
Updates the value of attribute 'ElectronicMail' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
lineId | (string) The detail identifier. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set IsActive Party
Updates the value of attribute 'IsActive' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (bool) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
PUT Set IsCustomer Party
Updates the value of attribute 'IsCustomer' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (bool) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set IsEmployee Party
Updates the value of attribute 'IsEmployee' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (bool) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set IsPerson Party
Updates the value of attribute 'IsPerson' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (bool) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set IsSupplier Party
Updates the value of attribute 'IsSupplier' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (bool) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Keyword Party
Updates the value of attribute 'Keyword' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Mobile Party
Updates the value of attribute 'Mobile' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Mobile PartyContact
Updates the value of attribute 'Mobile' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
lineId | (string) The detail identifier. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Name Party
Updates the value of attribute 'Name' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Notes Party
Updates the value of attribute 'Notes' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set OneTimeParty Party
Updates the value of attribute 'OneTimeParty' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (bool) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set PartyAccountType Party
Updates the value of attribute 'PartyAccountType' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set PartyKey Party
Updates the value of attribute 'PartyKey' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Picture Party
Updates the value of attribute 'Picture' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set PostalZone Party
Updates the value of attribute 'PostalZone' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set PostalZone PartyAddress
Updates the value of attribute 'PostalZone' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
lineId | (string) The detail identifier. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set SearchTerm Party
Updates the value of attribute 'SearchTerm' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set StreetName Party
Updates the value of attribute 'StreetName' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set StreetName PartyAddress
Updates the value of attribute 'StreetName' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
lineId | (string) The detail identifier. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Telephone Party
Updates the value of attribute 'Telephone' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Telephone PartyContact
Updates the value of attribute 'Telephone' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
lineId | (string) The detail identifier. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Username Party
Updates the value of attribute 'Username' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set WebsiteUrl Party
Updates the value of attribute 'WebsiteUrl' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Custom Attribute Party
Updates the value of 'CustomAttribute' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
customAttributeName | (string) The custom attribute name. |
value | (ExtensibilityCustomAttributeValueResource) The request body should contain the new value for the custom attribute. See ExtensibilityCustomAttributeValueResource. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
PUT Set Custom Attribute PartyAddress
Updates the value of 'CustomAttribute' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
lineId | (string) The detail identifier. |
customAttributeName | (string) The custom attribute name. |
value | (ExtensibilityCustomAttributeValueResource) The request body should contain the new value for the custom attribute. See ExtensibilityCustomAttributeValueResource. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
PUT Set Custom Attribute PartyContact
Updates the value of 'CustomAttribute' in the specified entity record.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
lineId | (string) The detail identifier. |
customAttributeName | (string) The custom attribute name. |
value | (ExtensibilityCustomAttributeValueResource) The request body should contain the new value for the custom attribute. See ExtensibilityCustomAttributeValueResource. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE Party Address by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
lineId | (string) The line identifier. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | NoContent. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE Party Contact by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
lineId | (string) The line identifier. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | NoContent. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE Party by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
id | (string) The record identifier. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | Deleted. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE Party by key
Deletes the entity record that matches the specified key.
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | Deleted. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
Resources
ApiPartyPartyAddressesResource
The following elements are required:
country | (string) The country for the party address. |
The following elements are optional:
streetName | (string) The street name for the party address. |
buildingNumber | (string) The building number for the party address. |
postalZone | (string) The postal zone for the party address. |
cityName | (string) The city name for the party address. |
contactName | (string) The contact name for the party address. |
contactTitle | (string) The contact title for the party address. |
ApiPartyPartyContactsResource
The following elements are required:
contactName | (string) The name for the party contact. |
contactType | (string) The contact type for the party contact. |
The following elements are optional:
contactTitle | (string) The title for the party contact. |
electronicMail | (string) The electronic mail for the party contact. |
mobile | (string) The mobile for the party contact. |
telephone | (string) The telephone for the party contact. |
ApiPartyResource
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
name | (string) The name for the party. |
isExternallyManaged | (bool) A flag indicating if the party is externally managed. |
oneTimeParty | (bool) One Time Party. |
currency | (string) The party's default currency. |
country | (string) The party's country. |
isPerson | (bool) Indicates that this entity is a person. |
isEmployee | (bool) Indicates that this entity is an employee. |
The following elements are optional:
searchTerm | (string) The search term. |
keyword | (string) Keyword. |
companyTaxID | (string) The party tax identifier. The unique code assigned by a country's tax authority to establish an entity's fiscal identification and responsibilities. |
electronicMail | (string) The electronic mail for the party. |
telephone | (string) The telephone for the party. |
mobile | (string) The mobile for the party. |
websiteUrl | (string) The website url for the party. |
notes | (string) The notes for the party. |
picture | (string) The picture for the party. |
streetName | (string) The party main address street's name. |
buildingNumber | (string) The party main address building's number. |
postalZone | (string) The party main address postal zone. |
cityName | (string) The party main address city's name. |
contactName | (string) The party main contact's name. |
contactTitle | (string) The party main contact's title. |
username | (string) The party's Identity Username. |
externalId | (string) The external identifier for the party. |
externalVersion | (string) The external version for the party. |
partyAddresses | (List of ApiPartyPartyAddressesResource) The party's alternative addresses.
See ApiPartyPartyAddressesResource. |
partyContacts | (List of ApiPartyPartyContactsResource) The party's alternative contacts.
See ApiPartyPartyContactsResource. |
address | (string) The party's main address. |
contact | (string) The party's main contact. |
culture | (string) The culture for the party. |
partyAccountType | (string) The type of party for accounting purposes. |
isSupplier | (bool) Indicates that this entity is a Supplier. |
isCustomer | (bool) Indicates that this entity is an customer. |
PartyAddressResource
The following elements are required:
country | (string) The country for the party address. |
The following elements are optional:
streetName | (string) The street name for the party address. |
buildingNumber | (string) The building number for the party address. |
postalZone | (string) The postal zone for the party address. |
cityName | (string) The city name for the party address. |
contactName | (string) The contact name for the party address. |
contactTitle | (string) The contact title for the party address. |
PartyBaseResource
The following elements are required:
country | (string) The party's country. |
currency | (string) The party's default currency. |
isExternallyManaged | (bool) A flag indicating if the party is externally managed. |
name | (string) The name for the party. |
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
oneTimeParty | (bool) One Time Party. |
isPerson | (bool) Indicates that this entity is a person. |
isEmployee | (bool) Indicates that this entity is an employee. |
The following elements are optional:
buildingNumber | (string) The party main address building's number. |
cityName | (string) The party main address city's name. |
companyTaxID | (string) The party tax identifier. The unique code assigned by a country's tax authority to establish an entity's fiscal identification and responsibilities. |
contactName | (string) The party main contact's name. |
contactTitle | (string) The party main contact's title. |
electronicMail | (string) The electronic mail for the party. |
externalId | (string) The external identifier for the party. |
externalVersion | (string) The external version for the party. |
mobile | (string) The mobile for the party. |
notes | (string) The notes for the party. |
picture | (string) The picture for the party. |
postalZone | (string) The party main address postal zone. |
searchTerm | (string) The search term. |
streetName | (string) The party main address street's name. |
telephone | (string) The telephone for the party. |
username | (string) The party's Identity Username. |
websiteUrl | (string) The website url for the party. |
address | (string) The party's main address. |
contact | (string) The party's main contact. |
culture | (string) The culture for the party. |
partyAccountType | (string) The type of party for accounting purposes. |
keyword | (string) Keyword. |
isCustomer | (bool) Indicates that this entity is an customer. |
isSupplier | (bool) Indicates that this entity is a Supplier. |
PartyContactResource
The following elements are required:
contactName | (string) The name for the party contact. |
contactType | (string) The contact type for the party contact. |
The following elements are optional:
contactTitle | (string) The title for the party contact. |
electronicMail | (string) The electronic mail for the party contact. |
mobile | (string) The mobile for the party contact. |
telephone | (string) The telephone for the party contact. |
PartyResource
The following elements are required:
partyKey | (string) The key for the party. Uniquely identifies the entity/party within the organization. |
name | (string) The name for the party. |
isExternallyManaged | (bool) A flag indicating if the party is externally managed. |
oneTimeParty | (bool) One Time Party. |
currency | (string) The party's default currency. |
country | (string) The party's country. |
isPerson | (bool) Indicates that this entity is a person. |
isEmployee | (bool) Indicates that this entity is an employee. |
The following elements are optional:
searchTerm | (string) The search term. |
keyword | (string) Keyword. |
companyTaxID | (string) The party tax identifier. The unique code assigned by a country's tax authority to establish an entity's fiscal identification and responsibilities. |
electronicMail | (string) The electronic mail for the party. |
telephone | (string) The telephone for the party. |
mobile | (string) The mobile for the party. |
websiteUrl | (string) The website url for the party. |
notes | (string) The notes for the party. |
picture | (string) The picture for the party. |
streetName | (string) The party main address street's name. |
buildingNumber | (string) The party main address building's number. |
postalZone | (string) The party main address postal zone. |
cityName | (string) The party main address city's name. |
contactName | (string) The party main contact's name. |
contactTitle | (string) The party main contact's title. |
username | (string) The party's Identity Username. |
externalId | (string) The external identifier for the party. |
externalVersion | (string) The external version for the party. |
partyAddresses | (List of PartyAddressResource) The party's alternative addresses.
See PartyAddressResource. |
partyContacts | (List of PartyContactResource) The party's alternative contacts.
See PartyContactResource. |
address | (string) The party's main address. |
contact | (string) The party's main contact. |
culture | (string) The culture for the party. |
partyAccountType | (string) The type of party for accounting purposes. |
isSupplier | (bool) Indicates that this entity is a Supplier. |
isCustomer | (bool) Indicates that this entity is an customer. |
ExtensibilityCustomAttributeValueResource
The following elements are required:
value | (object) The custom attribute value. |