POST api/Declaration/AuthoriseUser

Request Information

URI Parameters

None.

Body Parameters

AuthorisationRequest
NameDescriptionTypeAdditional information
PhoneNumber

string

None.

AuthorisationType

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<AuthorisationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ECollectionsServices.Models">
  <AuthorisationType>sample string 2</AuthorisationType>
  <PhoneNumber>sample string 1</PhoneNumber>
</AuthorisationRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AuthorisationResponse
NameDescriptionTypeAdditional information
ResponseCode

string

None.

ResponseStatus

string

None.

ResponseMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": "sample string 1",
  "ResponseStatus": "sample string 2",
  "ResponseMessage": "sample string 3"
}

application/xml, text/xml

Sample:
<AuthorisationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ECollectionsServices.Models">
  <ResponseCode>sample string 1</ResponseCode>
  <ResponseMessage>sample string 3</ResponseMessage>
  <ResponseStatus>sample string 2</ResponseStatus>
</AuthorisationResponse>