POST api/MDMSupplier/Reject

Receives a rejection from MDM/ESB

Required Headers:
Authorization: Basic Http Authorization with valid Sertica credentials

Returns:
200 OK - Supplier was found and the rejection has been accepted.
400 Bad Request - If the received rejection fails to validate. Reason will be supplied in Response Phrase
401 Unauthorized - If credentials are invalid
404 NotFound - If no suppliers was found in Sertica that matches the SourceSystemsEntityId
500 Internal Server Error - Something unexpected failed. A logentry is saved in Sertica System Log if possible

Request Information

URI Parameters

None.

Body Parameters

MdmSupplierRejection
NameDescriptionTypeAdditional information
SourceSystemsEntityId

string

Required

Code

integer

Required

Range: inclusive between 1 and 1

Text

string

Max length: 250

Request Formats

application/json, text/json

Sample:
{
  "SourceSystemsEntityId": "sample string 1",
  "Code": 2,
  "Text": "sample string 3"
}

application/xml, text/xml

Sample:
<AddressRejection xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <SourceSystemsEntityId>sample string 1</SourceSystemsEntityId>
  <Code>2</Code>
  <Text>sample string 3</Text>
</AddressRejection>

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.