GET api/Contract?cid={cid}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
cid | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ContractName | Description | Type | Additional information |
---|---|---|---|
cid | integer |
None. |
|
id | integer |
None. |
|
label | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "cid": 1, "id": 2, "label": "sample string 3" }, { "cid": 1, "id": 2, "label": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfContract xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ADIGlobal.MagentoAPI.Models"> <Contract> <cid>1</cid> <id>2</id> <label>sample string 3</label> </Contract> <Contract> <cid>1</cid> <id>2</id> <label>sample string 3</label> </Contract> </ArrayOfContract>