GET api/GetContractors/{fromId}/{toId}
Site: health and Safety, list item: Contractors and Suppliers Note, Web API includes built-in support for JSON, response auto parses this Model based on header attributes Accept='application/json' (response returned) and Content-Type='application/json' request post is expected as json
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| fromId | integer |
Required |
|
| toId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ContractorSupplier| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | string |
None. |
|
| Name | string |
None. |
|
| Contact_Person | string |
None. |
|
| Email_Address | string |
None. |
|
| Phone | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": "sample string 1",
"name": "sample string 2",
"contact_Person": "sample string 3",
"email_Address": "sample string 4",
"phone": "sample string 5"
}