POST api/GetStateList1

Request Information

URI Parameters

None.

Body Parameters

GetStateList1ModelInput
NameDescriptionTypeAdditional information
InnovID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "InnovID": "sample string 1"
}

application/xml, text/xml

Sample:
<GetStateList1ModelInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RESTWebAPIForPaperlessOnboarding.Models">
  <InnovID>sample string 1</InnovID>
</GetStateList1ModelInput>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GetStateList1ModelInput'.

Response Information

Resource Description

GetStateList1Model
NameDescriptionTypeAdditional information
StateList

Collection of StateMaster1

None.

Status

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "StateList": [
    {
      "StateID": 1,
      "StateName": "sample string 2"
    },
    {
      "StateID": 1,
      "StateName": "sample string 2"
    }
  ],
  "Status": "sample string 1",
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<GetStateList1Model xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RESTWebAPIForPaperlessOnboarding.Models">
  <Message>sample string 2</Message>
  <StateList>
    <StateMaster1>
      <StateID>1</StateID>
      <StateName>sample string 2</StateName>
    </StateMaster1>
    <StateMaster1>
      <StateID>1</StateID>
      <StateName>sample string 2</StateName>
    </StateMaster1>
  </StateList>
  <Status>sample string 1</Status>
</GetStateList1Model>