This Help Center is a preview of a future release. The final Help Center will be available on the Validation date.
Identifier APIs
IT system administrators use these APIs to add, edit, or remove identifiers in company, company location, Partner, or Partner location master data to track and leverage information necessary to complete operations needed for serialized production, shipping and receiving, and regulatory compliance. These APIs only impact new identifiers, IT system administrators can edit identifiers without needing to fill out the entire set of data for the associated record.
Add Identifiers to Master Data
IT system administrators use this API to add identifiers to company, company location, Partner, or Partner location master data.
Guidelines
Element | Type | Description | |||
---|---|---|---|---|---|
header | – | Required. The request header. | |||
headerVersion | Integer | Required. The version identifier for the request.1 . |
|||
eventName | String |
Required. The fully qualified name of the request event. |
|||
ownerId | String | Required. The identifier for the Owner company associated with the request. | |||
appName | String | Required. The application that owns the event.masterdata-manager . |
|||
dataspace | String | Required. The dataspace within the environment where the request is being made. Valid value for the Production and Validation environments is default . |
|||
payload | – | Required. The request body. | |||
masterDataObjectId | String |
Required. The master data identifier for the master data record that the new identifier is being added to. |
|||
masterDataObjectType | Enumeration |
Required. Specifies the type of identifier that is being added to the master data record. Valid values:
|
|||
identifiers | Array | Required. The identifier for company, company location, Partner, or Partner location. | |||
masterDataIdentifierTypeDef | Object |
Required. The information for the identifiers to add. |
|||
identifierType | String |
Required. The type of the identifier. Valid values
|
|||
identifierValue | String | Required. The identifier value. | |||
isPrimary | Boolean |
Required. Indicates whether the given company, company location, Partner, or Partner identifier is the primary identifier. One only identifier can be set as the primary identifier. Not all identifiers are eligible to be set as the primary. |
Example
{
"header": {
"headerVersion": 1,
"eventName": "masterdata-manager:add-identifier:v1",
"ownerId": "bb40845c-8912-4b98-9c9a-f08bd5a9bd07",
"dataspace": "default",
"appName": "masterdata-manager"
},
"payload": {
"masterDataObjectId": "bb40845c-8912-4b98-9c9a-f08bd5a9bd07",
"masterDataObjectType": "COMPANY",
"identifiers": [
{
"identifierType": "AM_TIN",
"identifierValue": "12345678",
"isPrimary": false
},
{
"identifierType": "BR_CNES",
"identifierValue": ".1929229",
"isPrimary": false
}
]
}
}
Guidelines
Element | Type | Description | |
---|---|---|---|
header | – | Required. The response header. | |
headerVersion | Integer | Required. The version identifier for the response.1 . |
|
eventName | String | Required. The fully qualified name of the response event.masterdata-manager:add-identifier-response:v1 . |
|
ownerId | String | Required. The identifier for the Owner company associated with the request. | |
isErr | Boolean |
Required. Indicates whether the request was successful. Valid values:
|
|
errCode | String | Required. The status code of the request. 200_OK indicates that the request was successful. |
|
errMsg | String |
Conditionally required if the call is unsuccessful. The message associated with the error code. |
|
licensePlate | String | Required. The unique identifier for the request and response instance. | |
exceptionName | String |
The exception returned for the request, if applicable. Valid values:
|
|
payload | – | Required. The payload containing the response body. If the call is unsuccessful, payload is null. | |
id | String | Required. The GUID of the updated master data record. |
Example
{
"header": {
"headerVersion": 1,
"eventName": "masterdata-manager:add-identifier-response:v1",
"ownerId": "bb40845c-8912-4b98-9c9a-f08bd5a9bd07",
"isErr": false,
"errCode": "200_OK",
"licensePlate": "mZDUcT-hcnkaS"
},
"payload": {
"id": "bb40845c-8912-4b98-9c9a-f08bd5a9bd07"
}
}
Errors
Element | Error Message | Description |
---|---|---|
|
Invalid value for <field name>. Valid values are: (list of valid values, separated by commas). | The error occurs if the value is not in the list of valid values. |
masterDataObjectId | Object <masterDataObjectId> does not exist. |
The object does not exist. |
masterDataObjectId | Access not allowed to object specified by masterDataObjectId. This will return a 403 error code. | The user does not have access to the object. |
identifierValue and identifierType | Error message from validation criteria is returned. |
The identifiers do not pass the validation criteria. |
identifierValue and identifierType |
Identifier already exists for identifierType. Identifier [<type>] <value> already exists in Company or Partner master data. |
The identifier already exists in company or Partner master data. |
This app uses standard HTTP response codes. If an error occurs, additional available information regarding the cause of the error is provided in the errMsg element in the relevant response.
Review TraceLink's API: Terms of Use
Edit Identifiers in Master Data
IT system administrators use this API to edit identifiers in company, company location, Partner, or Partner location master data.
Guidelines
Element | Type | Description | |||
---|---|---|---|---|---|
header | – | Required. The request header. | |||
headerVersion | Integer | Required. The version identifier for the request.1 . |
|||
eventName | String |
Required. The fully qualified name of the request event. |
|||
ownerId | String | Required. The identifier for the Owner company associated with the request. | |||
appName | String | Required. The application that owns the event. |
|||
dataspace | String | Required. The dataspace within the environment where the request is being made. Valid value for the Production and Validation environments is default . |
|||
payload | – | Required. The request body. | |||
masterDataObjectId | String |
Required. The master data identifier for the master data record that the new identifier is being added to. |
|||
masterDataObjectType | Enumeration |
Required. Specifies the type of identifier that is being edited within the master data record. Valid values:
|
|||
oldIdentifier | Object | Required. The information for the current identifier. | |||
identifierType | String |
Required. The type of the identifier. Valid values
|
|||
identifierValue | String | Required. The identifier value. | |||
isPrimary | Boolean |
Required. Indicates whether the given company, company location, Partner, or Partner identifier is the primary identifier. One only identifier can be set as the primary identifier. Not all identifiers are eligible to be set as the primary. TraceLink uses the primary identifier to identify the correct company, company location, Partner, or Partner location when the user updates the master data. Valid values:
|
|||
newIdentifier | Object | Required. The information for the new identifier. | |||
identifierType | String |
Required. The type of the identifier. Valid values
|
|||
identifierValue | String | Required. The identifier value. | |||
isPrimary | Boolean |
Required. Indicates whether the given company, company location, Partner, or Partner identifier is the primary identifier. One only identifier can be set as the primary identifier. Not all identifiers are eligible to be set as the primary. |
Example
{
"header": {
"headerVersion": 1,
"eventName": "placeholder",
"ownerId": "placeholder",
"isErr": placeholder,
"errCode": "placeholder",
"licensePlate": "placeholder"
},
"payload": {
"userId": "placeholder",
"aptUserPreferenceId": "placeholder"
}
}
Guidelines
Element | Type | Description | |
---|---|---|---|
header | – | Required. The response header. | |
headerVersion | Integer | Required. The version identifier for the response.1 . |
|
eventName | String | Required. The fully qualified name of the response event.masterdata-manager:edit-identifier:v1 . |
|
ownerId | String | Required. The identifier for the Owner company associated with the request. | |
isErr | Boolean |
Required. Indicates whether the request was successful. Valid values:
|
|
errCode | String | Required. The status code of the request. 200_OK indicates that the request was successful. |
|
errMsg | String |
Conditionally required if the call is unsuccessful. The message associated with the error code. |
|
licensePlate | String | Required. The unique identifier for the request and response instance. | |
exceptionName | String |
The exception returned for the request, if applicable. Valid values:
|
|
payload | – | Required. The payload containing the response body. If the call is unsuccessful, payload is null. | |
id | String | Required. The GUID of the updated master data record. |
Example
{
"header": {
"headerVersion": 1,
"eventName": "placeholder",
"ownerId": "placeholder",
"isErr": placeholder,
"errCode": "placeholder",
"licensePlate": "placeholder"
},
"payload": {
"userId": "placeholder",
"aptUserPreferenceId": "placeholder"
}
}
Errors
Element | Error Message | Description |
---|---|---|
|
Invalid value for <field name>. Valid values are: (list of valid values, separated by commas). | The error occurs if the value is not in the list of valid values. |
masterDataObjectId | Object <masterDataObjectId> does not exist. |
The object does not exist. |
masterDataObjectId | Access not allowed to object specified by masterDataObjectId. This will return a 403 error code. | The user does not have access to the object. |
newIdentifier and oldIdentifier | Error message from validation criteria is returned. |
The identifiers do not pass the validation criteria. |
oldIdentifier |
Identifier does not exists for identifierType. OldIdentifier [<type>]<value> does not exist in Company or Partner master data. |
The identifier does not exist in company or Partner master data. |
This app uses standard HTTP response codes. If an error occurs, additional available information regarding the cause of the error is provided in the errMsg element in the relevant response.
Review TraceLink's API: Terms of Use
Remove Identifiers from Master Data
IT system administrators use this API to remove identifiers from company, company location, Partner, or Partner location master data.
Guidelines
Element | Type | Description | |||
---|---|---|---|---|---|
header | – | Required. The request header. | |||
headerVersion | Integer | Required. The version identifier for the request.1 . |
|||
eventName | String | Required. The fully qualified name of the request event.masterdata-manager:delete-identifier:v1 . |
|||
ownerId | String | Required. The identifier for the company providing the app. | |||
appName | String | Required. The application that owns the event.masterdata-manager . |
|||
dataspace | String | Required. The dataspace within the environment where the request is being made. Valid value for the Production and Validation environments is default . |
|||
payload | – | Required. The request body. | |||
masterDataObjectId | String | Required. The identifier for the master data record. The identifier is attached to this record. | |||
masterDataObjectType | Enumeration |
Required. Specifies the type of identifier that is being removed from the master data record. Valid values:
|
|||
identifiers | Array | Required. Required. The identifier for company, company location, Partner, or Partner location. | |||
masterDataIdentifierTypeDef | Object | Required. The information to remove the identifier.
|
|||
identifierType | String |
Required. The type of the identifier. Valid values
|
|||
identifierValue | String | Required. The identifier value. | |||
isPrimary | Boolean |
Required. Indicates whether the given company, company location, Partner, or Partner identifier is the primary identifier. One only identifier can be set as the primary identifier. Not all identifiers are eligible to be set as the primary. |
Example
{
"header": {
"headerVersion": 1,
"eventName": "masterdata-manager:delete-identifier:v1",
"ownerId": "bb40845c-8912-4b98-9c9a-f08bd5a9bd07",
"dataspace": "default",
"appName": "masterdata-manager"
},
"payload": {
"masterDataObjectId": "bb40845c-8912-4b98-9c9a-f08bd5a9bd07",
"masterDataObjectType": "COMPANY",
"identifiers": [
{
"identifierType": "AM_TIN",
"identifierValue": "12345678",
"isPrimary": false
}
]
}
}
Guidelines
Element | Type | Description | |
---|---|---|---|
header | – | Required. The response header. | |
headerVersion | Integer | Required. The version identifier for the response.1 . |
|
eventName | String | Required. The fully qualified name of the response event.masterdata-manager:delete-identifier-response:v1 . |
|
ownerId | String | Required. The identifier for the Owner company associated with the request. | |
isErr | Boolean |
Required. Indicates whether the request was successful. Valid values:
|
|
errCode | String | Required. The status code of the request. 200_OK indicates that the request was successful. |
|
errMsg | String |
Conditionally required if the call is unsuccessful. The message associated with the error code. |
|
licensePlate | String | Required. The unique identifier for the request and response instance. | |
exceptionName | String |
The exception returned for the request, if applicable. Valid values:
|
|
payload | – | Required. The payload containing the response body. If the call is unsuccessful, payload is null. | |
id | String | Required. The GUID of the removed master data record. |
Example
{
"header": {
"headerVersion": 1,
"eventName": "masterdata-manager:delete-identifier-response:v1",
"ownerId": "bb40845c-8912-4b98-9c9a-f08bd5a9bd07",
"isErr": false,
"errCode": "200_OK",
"licensePlate": "NgvYli-SvzvQk"
},
"payload": {
"id": "bb40845c-8912-4b98-9c9a-f08bd5a9bd07"
}
}
Errors
Element | Error Message | Description |
---|---|---|
|
Invalid value for <field name>. Valid values are: (list of valid values, separated by commas). | The error occurs if the value is not in the list of valid values. |
masterDataObjectId | Object <masterDataObjectId> does not exist. |
The object does not exist. |
masterDataObjectId | Access not allowed to object specified by masterDataObjectId. This will return a 403 error code. | The user does not have access to the object. |
identifiers |
Identifier is primary identifierType. Identifiers[x] identifier [<type>]<value> is the primary identifier. |
The identifier is the primary identifier. |
identifiers |
Identifier does not exists for identifierType. Identifiers[x] identifier [<type>]<value> does not exist in Company or Partner master data. |
The identifier does not exist in company or Partner master data. |
This app uses standard HTTP response codes. If an error occurs, additional available information regarding the cause of the error is provided in the errMsg element in the relevant response.
Review TraceLink's API: Terms of Use