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]
NameDescriptionTypeAdditional information
Id

System.Guid

None.

Name

System.String

None.

Code

System.String

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "7a5c0649-c307-47d1-b0d2-f5e0fc007c7f",
    "Name": "sample string 2",
    "Code": "sample string 3"
  },
  {
    "Id": "7a5c0649-c307-47d1-b0d2-f5e0fc007c7f",
    "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>7a5c0649-c307-47d1-b0d2-f5e0fc007c7f</Id>
    <Name>sample string 2</Name>
  </State>
  <State>
    <Code>sample string 3</Code>
    <Id>7a5c0649-c307-47d1-b0d2-f5e0fc007c7f</Id>
    <Name>sample string 2</Name>
  </State>
</ArrayOfState>