GET ContractType/GetPurchaseContractType
Returns a list of Contract Types.
Request Information
URI Parameters
Body Parameters
Response Information
Resource Description
Returns a list of Contract Types.
AgvContractType| Name | Description | Type | Additional Information |
|---|---|---|---|
| Status |
Status of the API call. |
string | |
| Message |
Message of the API call. |
string | |
| Count |
Count of how many ContractType JSON dictionaries. |
string | |
| ContractTypeList |
JSON dictionary of ContractType. |
Collection of ContractType |
Response Formats
application/json, text/json
Sample:
{
"Status": "sample string 1",
"Message": "sample string 2",
"Count": "sample string 3",
"ContractTypeList": [
{
"Type": "sample string 1"
},
{
"Type": "sample string 1"
}
]
}
application/xml, text/xml
Sample:
<AgvContractType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Contract.Purchase">
<ContractTypeList>
<ContractType>
<Type>sample string 1</Type>
</ContractType>
<ContractType>
<Type>sample string 1</Type>
</ContractType>
</ContractTypeList>
<Count>sample string 3</Count>
<Message>sample string 2</Message>
<Status>sample string 1</Status>
</AgvContractType>