GET api/StateDebtor/GetByCountryID?CountryID={CountryID}&showInactive={showInactive}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CountryID | integer |
Required |
|
| showInactive | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of StateForList| Name | Description | Type | Additional information |
|---|---|---|---|
| StateID | integer |
None. |
|
| State | string |
None. |
|
| StateShort | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"StateID": 1,
"State": "sample string 2",
"StateShort": "sample string 3"
},
{
"StateID": 1,
"State": "sample string 2",
"StateShort": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfStateForList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.Models.State">
<StateForList>
<State>sample string 2</State>
<StateID>1</StateID>
<StateShort>sample string 3</StateShort>
</StateForList>
<StateForList>
<State>sample string 2</State>
<StateID>1</StateID>
<StateShort>sample string 3</StateShort>
</StateForList>
</ArrayOfStateForList>