POST api/GetCode2

Request Information

URI Parameters

None.

Body Parameters

GetCode2Input
NameDescriptionTypeAdditional information
PhoneNumber

string

None.

Email

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PhoneNumber": "sample string 1",
  "Email": "sample string 2"
}

application/xml, text/xml

Sample:
<GetCode2Input xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CinemaAPI.Controllers">
  <Email>sample string 2</Email>
  <PhoneNumber>sample string 1</PhoneNumber>
</GetCode2Input>

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

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />