POST v6/api_1169/GetSuppliers
Request Information
URI Parameters
None.
Body Parameters
CommandModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserName | string |
None. |
|
| Password | string |
None. |
|
| DatabaseCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserName": "sample string 1",
"Password": "sample string 2",
"DatabaseCode": "sample string 3"
}
application/xml, text/xml
Sample:
<CommandModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/V6.models.Entegrasyon.Operasyonlar.CoupaEntegrasyon.Models.Commands"> <DatabaseCode>sample string 3</DatabaseCode> <Password>sample string 2</Password> <UserName>sample string 1</UserName> </CommandModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResultModelOfSupplierModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccessful | boolean |
None. |
|
| ErrorMessage | string |
None. |
|
| ItemResults | Collection of ItemResultModelOfSupplierModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccessful": true,
"ErrorMessage": "sample string 2",
"ItemResults": [
{
"IsSuccessfull": true,
"ErrorMessage": "sample string 2",
"Item": {
"SupplierNumber": "sample string 1",
"DisplayName": "sample string 2",
"OnHold": true,
"PrimaryContactEmail": "sample string 4",
"PrimaryContactPhoneWork": "sample string 5",
"PrimaryContactPhoneMobile": "sample string 6",
"PrimaryContactPhoneFax": "sample string 7",
"PrimaryContactNameGiven": "sample string 8",
"PrimaryContactNameFamily": "sample string 9",
"PrimaryAddressStreet1": "sample string 10",
"PrimaryAddressStreet2": "sample string 11",
"PrimaryAddressCity": "sample string 12",
"PrimaryAddressPostalCode": "sample string 13",
"PrimaryAddressCountryCode": "sample string 14",
"AccountNumber": "sample string 15"
}
},
{
"IsSuccessfull": true,
"ErrorMessage": "sample string 2",
"Item": {
"SupplierNumber": "sample string 1",
"DisplayName": "sample string 2",
"OnHold": true,
"PrimaryContactEmail": "sample string 4",
"PrimaryContactPhoneWork": "sample string 5",
"PrimaryContactPhoneMobile": "sample string 6",
"PrimaryContactPhoneFax": "sample string 7",
"PrimaryContactNameGiven": "sample string 8",
"PrimaryContactNameFamily": "sample string 9",
"PrimaryAddressStreet1": "sample string 10",
"PrimaryAddressStreet2": "sample string 11",
"PrimaryAddressCity": "sample string 12",
"PrimaryAddressPostalCode": "sample string 13",
"PrimaryAddressCountryCode": "sample string 14",
"AccountNumber": "sample string 15"
}
}
]
}
application/xml, text/xml
Sample:
<ResultModelOfSupplierModelGZV7uSM6 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/V6.models.Entegrasyon.Operasyonlar.CoupaEntegrasyon.Models">
<ErrorMessage>sample string 2</ErrorMessage>
<IsSuccessful>true</IsSuccessful>
<ItemResults xmlns:d2p1="http://schemas.datacontract.org/2004/07/V6.models.Entegrasyon.Operasyonlar.CoupaEntegrasyon.Models.ResultModels">
<d2p1:ItemResultModelOfSupplierModelGZV7uSM6>
<d2p1:ErrorMessage>sample string 2</d2p1:ErrorMessage>
<d2p1:IsSuccessfull>true</d2p1:IsSuccessfull>
<d2p1:Item>
<AccountNumber>sample string 15</AccountNumber>
<DisplayName>sample string 2</DisplayName>
<OnHold>true</OnHold>
<PrimaryAddressCity>sample string 12</PrimaryAddressCity>
<PrimaryAddressCountryCode>sample string 14</PrimaryAddressCountryCode>
<PrimaryAddressPostalCode>sample string 13</PrimaryAddressPostalCode>
<PrimaryAddressStreet1>sample string 10</PrimaryAddressStreet1>
<PrimaryAddressStreet2>sample string 11</PrimaryAddressStreet2>
<PrimaryContactEmail>sample string 4</PrimaryContactEmail>
<PrimaryContactNameFamily>sample string 9</PrimaryContactNameFamily>
<PrimaryContactNameGiven>sample string 8</PrimaryContactNameGiven>
<PrimaryContactPhoneFax>sample string 7</PrimaryContactPhoneFax>
<PrimaryContactPhoneMobile>sample string 6</PrimaryContactPhoneMobile>
<PrimaryContactPhoneWork>sample string 5</PrimaryContactPhoneWork>
<SupplierNumber>sample string 1</SupplierNumber>
</d2p1:Item>
</d2p1:ItemResultModelOfSupplierModelGZV7uSM6>
<d2p1:ItemResultModelOfSupplierModelGZV7uSM6>
<d2p1:ErrorMessage>sample string 2</d2p1:ErrorMessage>
<d2p1:IsSuccessfull>true</d2p1:IsSuccessfull>
<d2p1:Item>
<AccountNumber>sample string 15</AccountNumber>
<DisplayName>sample string 2</DisplayName>
<OnHold>true</OnHold>
<PrimaryAddressCity>sample string 12</PrimaryAddressCity>
<PrimaryAddressCountryCode>sample string 14</PrimaryAddressCountryCode>
<PrimaryAddressPostalCode>sample string 13</PrimaryAddressPostalCode>
<PrimaryAddressStreet1>sample string 10</PrimaryAddressStreet1>
<PrimaryAddressStreet2>sample string 11</PrimaryAddressStreet2>
<PrimaryContactEmail>sample string 4</PrimaryContactEmail>
<PrimaryContactNameFamily>sample string 9</PrimaryContactNameFamily>
<PrimaryContactNameGiven>sample string 8</PrimaryContactNameGiven>
<PrimaryContactPhoneFax>sample string 7</PrimaryContactPhoneFax>
<PrimaryContactPhoneMobile>sample string 6</PrimaryContactPhoneMobile>
<PrimaryContactPhoneWork>sample string 5</PrimaryContactPhoneWork>
<SupplierNumber>sample string 1</SupplierNumber>
</d2p1:Item>
</d2p1:ItemResultModelOfSupplierModelGZV7uSM6>
</ItemResults>
</ResultModelOfSupplierModelGZV7uSM6>