GET api/Values/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
contractor| Name | Description | Type | Additional information |
|---|---|---|---|
| Contractor_Type | CTRCTType |
None. |
|
| Name | string |
None. |
|
| INN | string |
None. |
|
| TGNL | string |
None. |
|
| OKPO | string |
None. |
|
| Address | string |
None. |
|
| SendersMarks | string |
None. |
|
| Comment | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Contractor_Type": 0,
"Name": "sample string 1",
"INN": "sample string 2",
"TGNL": "sample string 3",
"OKPO": "sample string 4",
"Address": "sample string 5",
"SendersMarks": "sample string 6",
"Comment": "sample string 7"
}
application/xml, text/xml
Sample:
<contractor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiFit.ServiceReference"> <Address>sample string 5</Address> <Comment>sample string 7</Comment> <Contractor_Type>SH</Contractor_Type> <INN>sample string 2</INN> <Name>sample string 1</Name> <OKPO>sample string 4</OKPO> <SendersMarks>sample string 6</SendersMarks> <TGNL>sample string 3</TGNL> </contractor>