GET api/Suppliers/GetSuppliers/{site}?siteId={siteId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| siteId | integer |
Required |
|
| site | string |
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": "fe4f4c23-c996-4b32-950a-32a6246b11c2",
"NameOrCompanyName": "sample string 3",
"ContactCategoryId": 4,
"ContactSubCategoryId": 5
},
{
"SupplierId": 1,
"SiteUUID": "fe4f4c23-c996-4b32-950a-32a6246b11c2",
"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>fe4f4c23-c996-4b32-950a-32a6246b11c2</SiteUUID>
<SupplierId>1</SupplierId>
</ContactsAndSuppliers>
<ContactsAndSuppliers>
<ContactCategoryId>4</ContactCategoryId>
<ContactSubCategoryId>5</ContactSubCategoryId>
<NameOrCompanyName>sample string 3</NameOrCompanyName>
<SiteUUID>fe4f4c23-c996-4b32-950a-32a6246b11c2</SiteUUID>
<SupplierId>1</SupplierId>
</ContactsAndSuppliers>
</ArrayOfContactsAndSuppliers>