DELETE api/supplier/contact/{id}

Deletes an contact on supplier

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

Remarks

None.

Example

None.

Response Information

Resource Description

SupplierContactDeleteResponse
NameDescriptionTypeAdditional information
Errors

List of errors when deleting a contact on supplier

Collection of DeleteSupplierContactError

None.

Success

Returns true if contact is deleted

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Errors": [
    {
      "ErrorCode": 1,
      "ErrorMessage": "sample string 1"
    },
    {
      "ErrorCode": 1,
      "ErrorMessage": "sample string 1"
    }
  ],
  "Success": true
}

application/xml, text/xml

Sample:
<SupplierContactDeleteResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Supplier">
  <Errors>
    <DeleteSupplierContactError>
      <ErrorCode>InternalServerError</ErrorCode>
      <ErrorMessage>sample string 1</ErrorMessage>
    </DeleteSupplierContactError>
    <DeleteSupplierContactError>
      <ErrorCode>InternalServerError</ErrorCode>
      <ErrorMessage>sample string 1</ErrorMessage>
    </DeleteSupplierContactError>
  </Errors>
  <Success>true</Success>
</SupplierContactDeleteResponse>