POST api/User/GetValidationCodeForUser
Request Information
URI Parameters
None.
Body Parameters
GetVerificationCodeRequestName | Description | Type | Additional information |
---|---|---|---|
Type | integer |
None. |
|
UserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Type": 1, "UserID": 2 }
application/xml, text/xml
Sample:
<GetVerificationCodeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Request"> <Type>1</Type> <UserID>2</UserID> </GetVerificationCodeRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetVerificationCodeResponseName | Description | Type | Additional information |
---|---|---|---|
Code | string |
None. |
|
ResponseCode | integer |
None. |
|
ResponseText | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Code": "sample string 1", "ResponseCode": 2, "ResponseText": "sample string 3" }
application/xml, text/xml
Sample:
<GetVerificationCodeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Response"> <ResponseCode xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">2</ResponseCode> <ResponseText xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">sample string 3</ResponseText> <Code>sample string 1</Code> </GetVerificationCodeResponse>