GET api/GetStates?CID={CID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CID

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of VStates
NameDescriptionTypeAdditional information
StateName

string

None.

StateId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "StateName": "sample string 1",
    "StateId": 2
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLibraryController.VStates xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalStudentServices.Controllers">
  <LibraryController.VStates>
    <StateId>2</StateId>
    <StateName>sample string 1</StateName>
  </LibraryController.VStates>
  <LibraryController.VStates>
    <StateId>2</StateId>
    <StateName>sample string 1</StateName>
  </LibraryController.VStates>
</ArrayOfLibraryController.VStates>