Jasmin Developers - Web API Reference

Master Data Business Entities | 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

Returns the list of all the entity records available.

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

GET Parties (paged)

Returns a page of the list of all the entity records available.

The following elements are optional:

page (int) The index of the page of the list that should be returned. This is a query string parameter.
pageSize (int) The number of page elements that should be returned (max. is 1000). This is a query string parameter.

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?page={page}&pageSize={pageSize}

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 Print Party by identifier

Prints the specified entity record.

The following elements are required:

id (string) The record identifier.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response body contains a stream with the printed file.

Response status codes:

200 OK. The operation was completed successfully.
404 NotFound. The specified resord does not exist.

Resource URL:

GET /businessCore/parties/{id}/print?template={template}

GET Print Party by key

Prints the specified entity record.

The following elements are required:

partyKey (string) The key for the party. Uniquely identifies the entity/party within the organization.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response body contains a stream with the printed 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/{partyKey}/print

GET Original Print PartyOriginal by identifier

Prints the specified entity record.

The following elements are required:

id (string) The record identifier.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response body contains a stream with the printed file.

Response status codes:

200 OK. The operation was completed successfully.
404 NotFound. The specified resord does not exist.

Resource URL:

GET /businessCore/parties/{id}/printOriginal?template={template}

GET Original Print Party by key

Prints the specified entity record.

The following elements are required:

partyKey (string) The key for the party. Uniquely identifies the entity/party within the organization.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response body contains a stream with the printed 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/{partyKey}/printOriginal

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 Party By Company Tax Id

Custom operation 'GetPartyByCompanyTaxId'.

The following elements are required:

companyTaxId (string) CompanyTaxId.

Response:

When successful, the response body contains a resource of type 'PartyDataResource'. See PartyDataResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

GET /businessCore/parties/getPartyByCompanyTaxId

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 Entity

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 Entity

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

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 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 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 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}

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.
currency (string) The party's default currency.
country (string) The party's country.
isPerson (bool) Indicates that this entity is a person.

The following elements are optional:

searchTerm (string) The search term.
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.


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.


PartyContactResource

The following elements are required:

contactName (string) The name for the party contact.
contactType (string) The contact type for the party contact.
culture (string) Culture.

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.


PartyDataResource

The following elements are required:

name (string) The name for the party.
partyKey (string) The key for the party. Uniquely identifies the entity/party within the organization.

The following elements are optional:

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.


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.
currency (string) The party's default currency.
(fk) Allowed value: the natural key of a record of type Currency. These records are accessibly through the Currencies service.
country (string) The party's country.
(fk) Allowed value: the natural key of a record of type Country. These records are accessibly through the Countries service.
isPerson (bool) Indicates that this entity is a person.

The following elements are optional:

searchTerm (string) The search term.
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.
(fk) Allowed value: the natural key of a record of type Address. These records are accessibly through the Addresses service.
contact (string) The party's main contact.
(fk) Allowed value: the natural key of a record of type Contact. These records are accessibly through the Contacts service.
culture (string) The culture for the party.
(fk) Allowed value: the natural key of a record of type Culture. These records are accessibly through the Cultures service.


ExtensibilityCustomAttributeValueResource

The following elements are required:

value (object) The custom attribute value.