Valuekeep Developers - Web API Reference

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:

All Resources

This service uses the following resources:

GET Operations

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 /businessCore/parties/odata

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 /businessCore/parties/{id}

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 /businessCore/parties/{partyKey}

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 /businessCore/parties/{id}/picture

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:

GET /businessCore/parties/getUserSubscriptionProduct

POST Operations

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 /businessCore/parties

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 /businessCore/parties/{partyKey}/partyAddresses

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 /businessCore/parties/{partyKey}/partyContacts

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:

POST /businessCore/parties/buildParty/{companyKey}

PUT Operations

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 /businessCore/parties/{partyKey}/address

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 /businessCore/parties/{partyKey}/buildingNumber

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 /businessCore/parties/{partyKey}/partyAddresses/{lineId}/buildingNumber

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 /businessCore/parties/{partyKey}/cityName

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 /businessCore/parties/{partyKey}/partyAddresses/{lineId}/cityName

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 /businessCore/parties/{partyKey}/companyTaxID

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 /businessCore/parties/{partyKey}/contact

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 /businessCore/parties/{partyKey}/contactName

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 /businessCore/parties/{partyKey}/partyAddresses/{lineId}/contactName

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 /businessCore/parties/{partyKey}/partyContacts/{lineId}/contactName

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 /businessCore/parties/{partyKey}/contactTitle

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 /businessCore/parties/{partyKey}/partyAddresses/{lineId}/contactTitle

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 /businessCore/parties/{partyKey}/partyContacts/{lineId}/contactTitle

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 /businessCore/parties/{partyKey}/partyContacts/{lineId}/contactType

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 /businessCore/parties/{partyKey}/country

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 /businessCore/parties/{partyKey}/partyAddresses/{lineId}/country

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 /businessCore/parties/{partyKey}/culture

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 /businessCore/parties/{partyKey}/currency

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 /businessCore/parties/{partyKey}/electronicMail

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 /businessCore/parties/{partyKey}/partyContacts/{lineId}/electronicMail

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 /businessCore/parties/{partyKey}/isActive

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 /businessCore/parties/{partyKey}/isCustomer

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 /businessCore/parties/{partyKey}/isEmployee

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 /businessCore/parties/{partyKey}/isPerson

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 /businessCore/parties/{partyKey}/isSupplier

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 /businessCore/parties/{partyKey}/keyword

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 /businessCore/parties/{partyKey}/mobile

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 /businessCore/parties/{partyKey}/partyContacts/{lineId}/mobile

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 /businessCore/parties/{partyKey}/name

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 /businessCore/parties/{partyKey}/notes

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 /businessCore/parties/{partyKey}/oneTimeParty

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 /businessCore/parties/{partyKey}/partyAccountType

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 /businessCore/parties/{partyKey}/partyKey

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 /businessCore/parties/{partyKey}/picture

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 /businessCore/parties/{partyKey}/postalZone

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 /businessCore/parties/{partyKey}/partyAddresses/{lineId}/postalZone

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 /businessCore/parties/{partyKey}/searchTerm

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 /businessCore/parties/{partyKey}/streetName

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 /businessCore/parties/{partyKey}/partyAddresses/{lineId}/streetName

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 /businessCore/parties/{partyKey}/telephone

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 /businessCore/parties/{partyKey}/partyContacts/{lineId}/telephone

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 /businessCore/parties/{partyKey}/username

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 /businessCore/parties/{partyKey}/websiteUrl

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 /businessCore/parties/{partyKey}/{customAttributeName}

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 /businessCore/parties/{partyKey}/partyAddresses/{lineId}/{customAttributeName}

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:

PUT /businessCore/parties/{partyKey}/partyContacts/{lineId}/{customAttributeName}

DELETE Operations

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 /businessCore/parties/{partyKey}/partyAddresses/{lineId}

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 /businessCore/parties/{partyKey}/partyContacts/{lineId}

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 /businessCore/parties/{id}

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:

DELETE /businessCore/parties/{partyKey}

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.