GET api/suppliers/GetSuppliers
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of ContactsAndSuppliers| Name | Description | Type | Additional information |
|---|---|---|---|
| SupplierId | integer |
None. |
|
| SiteUUID | globally unique identifier |
None. |
|
| NameOrCompanyName | string |
None. |
|
| ContactCategoryId | integer |
None. |
|
| ContactSubCategoryId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"SupplierId": 1,
"SiteUUID": "476f5bb4-a95e-4e8b-aedc-35c602e60813",
"NameOrCompanyName": "sample string 3",
"ContactCategoryId": 4,
"ContactSubCategoryId": 5
},
{
"SupplierId": 1,
"SiteUUID": "476f5bb4-a95e-4e8b-aedc-35c602e60813",
"NameOrCompanyName": "sample string 3",
"ContactCategoryId": 4,
"ContactSubCategoryId": 5
}
]
text/xml
Sample:
<ArrayOfContactsAndSuppliers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnlineManagementSystemWebApi.Models">
<ContactsAndSuppliers>
<ContactCategoryId>4</ContactCategoryId>
<ContactSubCategoryId>5</ContactSubCategoryId>
<NameOrCompanyName>sample string 3</NameOrCompanyName>
<SiteUUID>476f5bb4-a95e-4e8b-aedc-35c602e60813</SiteUUID>
<SupplierId>1</SupplierId>
</ContactsAndSuppliers>
<ContactsAndSuppliers>
<ContactCategoryId>4</ContactCategoryId>
<ContactSubCategoryId>5</ContactSubCategoryId>
<NameOrCompanyName>sample string 3</NameOrCompanyName>
<SiteUUID>476f5bb4-a95e-4e8b-aedc-35c602e60813</SiteUUID>
<SupplierId>1</SupplierId>
</ContactsAndSuppliers>
</ArrayOfContactsAndSuppliers>