GET api/StateProvinces
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
System.Collections.Generic.IEnumerable`1[Altai.Web.Services.Models.StateProvince]Name | Description | Type | Additional information |
---|---|---|---|
Id | System.Guid |
None. |
|
Code | System.String |
None. |
|
Name | System.String |
None. |
|
Country | Altai.Web.Services.Models.Country |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": "db058b68-cf05-489e-abb3-449e9f17e9fc", "Code": "sample string 2", "Name": "sample string 3", "Country": { "Id": "sample string 1", "Code": "sample string 2", "Name": "sample string 3" } }, { "Id": "db058b68-cf05-489e-abb3-449e9f17e9fc", "Code": "sample string 2", "Name": "sample string 3", "Country": { "Id": "sample string 1", "Code": "sample string 2", "Name": "sample string 3" } } ]
application/xml, text/xml
Sample:
<ArrayOfStateProvince xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Altai.Web.Services.Models"> <StateProvince> <Code>sample string 2</Code> <Country> <Code>sample string 2</Code> <Id>sample string 1</Id> <Name>sample string 3</Name> </Country> <Id>db058b68-cf05-489e-abb3-449e9f17e9fc</Id> <Name>sample string 3</Name> </StateProvince> <StateProvince> <Code>sample string 2</Code> <Country> <Code>sample string 2</Code> <Id>sample string 1</Id> <Name>sample string 3</Name> </Country> <Id>db058b68-cf05-489e-abb3-449e9f17e9fc</Id> <Name>sample string 3</Name> </StateProvince> </ArrayOfStateProvince>