GET api/Common/GetStates/{managementCompanyId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
managementCompanyId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of State
NameDescriptionTypeAdditional information
stateId

integer

None.

stateDescription

string

None.

stateCode

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "stateId": 1,
    "stateDescription": "sample string 2",
    "stateCode": "sample string 3"
  },
  {
    "stateId": 1,
    "stateDescription": "sample string 2",
    "stateCode": "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/Cybersoft.YottaResident.WebAPIs.Models">
  <State>
    <stateCode>sample string 3</stateCode>
    <stateDescription>sample string 2</stateDescription>
    <stateId>1</stateId>
  </State>
  <State>
    <stateCode>sample string 3</stateCode>
    <stateDescription>sample string 2</stateDescription>
    <stateId>1</stateId>
  </State>
</ArrayOfState>