POST api/Client/Login

Request Information

URI Parameters

None.

Body Parameters

LoginViewModel
NameDescriptionTypeAdditional information
campaignId

integer

None.

PropertyValueOne

string

None.

PropertyValueTwo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "campaignId": 1,
  "PropertyValueOne": "sample string 2",
  "PropertyValueTwo": "sample string 3"
}

application/xml, text/xml

Sample:
<ClientModels.LoginViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VerifyPhoneServer.Classes">
  <PropertyValueOne>sample string 2</PropertyValueOne>
  <PropertyValueTwo>sample string 3</PropertyValueTwo>
  <campaignId>1</campaignId>
</ClientModels.LoginViewModel>

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

text/html, multipart/form-data

Sample:
{"campaignId":1,"PropertyValueOne":"sample string 2","PropertyValueTwo":"sample string 3"}

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.