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": "69b6bcef-edcc-4093-aadf-812903e4e296",
"NameOrCompanyName": "sample string 3",
"ContactCategoryId": 4,
"ContactSubCategoryId": 5
},
{
"SupplierId": 1,
"SiteUUID": "69b6bcef-edcc-4093-aadf-812903e4e296",
"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>69b6bcef-edcc-4093-aadf-812903e4e296</SiteUUID>
<SupplierId>1</SupplierId>
</ContactsAndSuppliers>
<ContactsAndSuppliers>
<ContactCategoryId>4</ContactCategoryId>
<ContactSubCategoryId>5</ContactSubCategoryId>
<NameOrCompanyName>sample string 3</NameOrCompanyName>
<SiteUUID>69b6bcef-edcc-4093-aadf-812903e4e296</SiteUUID>
<SupplierId>1</SupplierId>
</ContactsAndSuppliers>
</ArrayOfContactsAndSuppliers>