POST api/Supplier/CheckIsCodeExists

Request Information

URI Parameters

None.

Body Parameters

CheckIsCodeExistsRequest
NameDescriptionTypeAdditional information
Code

string

None.

OldCode

string

None.

SupplierType

SupplierTypeEnum

None.

Request Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "OldCode": "sample string 2",
  "SupplierType": 0
}

application/xml, text/xml

Sample:
<CheckIsCodeExistsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Request.Product">
  <Code>sample string 1</Code>
  <OldCode>sample string 2</OldCode>
  <SupplierType>NHA_CUNG_CAP</SupplierType>
</CheckIsCodeExistsRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>