POST api/MDMSupplier/Update

Receives a update from MDM/ESB

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

Returns:
200 OK - Supplier was found and the update has been accepted.
400 Bad Request - If the received Validation 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

MdmSupplierUpdate
NameDescriptionTypeAdditional information
SourceSystemsEntityId

string

Required

CompanyName

string

Max length: 80

AddressText

string

Max length: 2000

City

string

Max length: 80

PostalCode

string

Max length: 20

Country

string

Max length: 3

CompanyDuns

string

Max length: 20

VatCode

string

Max length: 30

Currency

string

Max length: 3

Request Formats

application/json, text/json

Sample:
{
  "SourceSystemsEntityId": "sample string 1",
  "CompanyName": "sample string 2",
  "AddressText": "sample string 3",
  "City": "sample string 4",
  "PostalCode": "sample string 5",
  "Country": "sample string 6",
  "CompanyDuns": "sample string 7",
  "VatCode": "sample string 8",
  "Currency": "sample string 9"
}

application/xml, text/xml

Sample:
<AddressUpdate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <SourceSystemsEntityId>sample string 1</SourceSystemsEntityId>
  <CompanyName>sample string 2</CompanyName>
  <AddressText>sample string 3</AddressText>
  <City>sample string 4</City>
  <PostalCode>sample string 5</PostalCode>
  <Country>sample string 6</Country>
  <CompanyDuns>sample string 7</CompanyDuns>
  <VatCode>sample string 8</VatCode>
  <Currency>sample string 9</Currency>
</AddressUpdate>

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.