POST api/info/CheckEnterpriseId

Request Information

URI Parameters

None.

Body Parameters

CheckEnterpriseIdViewModel
NameDescriptionTypeAdditional information
EnterpriseUser

integer

None.

EnterpriseId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EnterpriseUser": 1,
  "EnterpriseId": "sample string 2"
}

application/xml, text/xml

Sample:
<CheckEnterpriseIdViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaxiAppAPI.Models">
  <EnterpriseId>sample string 2</EnterpriseId>
  <EnterpriseUser>1</EnterpriseUser>
</CheckEnterpriseIdViewModel>

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

Response Information

Resource Description

CheckEnterpriseIdReturnViewModel
NameDescriptionTypeAdditional information
statesCode

integer

None.

EnterpriseName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "statesCode": 1,
  "EnterpriseName": "sample string 2"
}

application/xml, text/xml

Sample:
<CheckEnterpriseIdReturnViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaxiAppAPI.Models">
  <EnterpriseName>sample string 2</EnterpriseName>
  <statesCode>1</statesCode>
</CheckEnterpriseIdReturnViewModel>