GET api/States
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
System.Collections.Generic.ICollection`1[Altai.Web.Services.Models.State]Name | Description | Type | Additional information |
---|---|---|---|
Id | System.Guid |
None. |
|
Name | System.String |
None. |
|
Code | System.String |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": "378d575e-4c8a-4f02-a822-b60f0826d38a", "Name": "sample string 2", "Code": "sample string 3" }, { "Id": "378d575e-4c8a-4f02-a822-b60f0826d38a", "Name": "sample string 2", "Code": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfState xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Altai.Web.Services.Models"> <State> <Code>sample string 3</Code> <Id>378d575e-4c8a-4f02-a822-b60f0826d38a</Id> <Name>sample string 2</Name> </State> <State> <Code>sample string 3</Code> <Id>378d575e-4c8a-4f02-a822-b60f0826d38a</Id> <Name>sample string 2</Name> </State> </ArrayOfState>