GET Account/GetOrganizationList

Request Information

URI Parameters

None.

Body Parameters

CompanyType
NameDescriptionTypeAdditional information
OrganizationId

integer

None.

OrganizationName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "OrganizationId": 1,
  "OrganizationName": "sample string 2"
}

application/xml, text/xml

Sample:
<CompanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IdenCard.Api.Models">
  <OrganizationId>1</OrganizationId>
  <OrganizationName>sample string 2</OrganizationName>
</CompanyType>

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 'CompanyType'.

Response Information

Resource Description

Collection of CompanyType
NameDescriptionTypeAdditional information
OrganizationId

integer

None.

OrganizationName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "OrganizationId": 1,
    "OrganizationName": "sample string 2"
  },
  {
    "OrganizationId": 1,
    "OrganizationName": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCompanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IdenCard.Api.Models">
  <CompanyType>
    <OrganizationId>1</OrganizationId>
    <OrganizationName>sample string 2</OrganizationName>
  </CompanyType>
  <CompanyType>
    <OrganizationId>1</OrganizationId>
    <OrganizationName>sample string 2</OrganizationName>
  </CompanyType>
</ArrayOfCompanyType>