GET request/contractlength
Display all contract types
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of ContractLength| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| Value | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"value": 1,
"name": "sample string 2"
},
{
"value": 1,
"name": "sample string 2"
}
]
text/html
Sample:
[{"value":1,"name":"sample string 2"},{"value":1,"name":"sample string 2"}]
application/xml, text/xml
Sample:
<ArrayOfContractLength xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyUtilityGeniusForBusiness.Api.Models.Default">
<ContractLength>
<Name>sample string 2</Name>
<Value>1</Value>
</ContractLength>
<ContractLength>
<Name>sample string 2</Name>
<Value>1</Value>
</ContractLength>
</ArrayOfContractLength>