POST api/Values/FnValidateOTP
Request Information
URI Parameters
None.
Body Parameters
cls_Input_ValidadteOTPName | Description | Type | Additional information |
---|---|---|---|
MobileNumber | string |
None. |
|
OTP | string |
None. |
|
LAT_LONG | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "MobileNumber": "sample string 1", "OTP": "sample string 2", "LAT_LONG": "sample string 3" }
application/xml, text/xml
Sample:
<cls_Input_ValidadteOTP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI_IndiraCanteens.Models"> <LAT_LONG>sample string 3</LAT_LONG> <MobileNumber>sample string 1</MobileNumber> <OTP>sample string 2</OTP> </cls_Input_ValidadteOTP>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
API_RETURN_SENDOTPVALIDATION_STATUSName | Description | Type | Additional information |
---|---|---|---|
RESPONSE_MESSAGE | string |
None. |
|
RESPONSE_MOBILE_NUMBER | string |
None. |
|
RESPONSE_CODE | string |
None. |
|
USER_DETAILS | Collection of Usp_ValidUserDetails |
None. |
Response Formats
application/json, text/json
Sample:
{ "RESPONSE_MESSAGE": "sample string 1", "RESPONSE_MOBILE_NUMBER": "sample string 2", "RESPONSE_CODE": "sample string 3", "USER_DETAILS": [ { "USR_ID": {}, "USR_DIST": {}, "USR_TWN": {}, "USR_ZONE": {}, "USR_WARD": {}, "USR_ARO": {}, "USR_CANTEEN_ID": {}, "USR_CANTEEN_NAME": {}, "USR_NAME": {}, "USR_MOBILENO": {}, "USR_ROLE": {}, "USR_DESIG": {}, "USR_ACTIVE": {}, "USR_CBY": {}, "USR_CDTE": {}, "District_EN": {}, "District_KN": {}, "ZoneName": {}, "WardName": {}, "USR_CANTEEN_LATLONG": {}, "IC_Latitude": {}, "IC_Longitude": {}, "IC_NAME": {}, "IC_Address": {} }, { "USR_ID": {}, "USR_DIST": {}, "USR_TWN": {}, "USR_ZONE": {}, "USR_WARD": {}, "USR_ARO": {}, "USR_CANTEEN_ID": {}, "USR_CANTEEN_NAME": {}, "USR_NAME": {}, "USR_MOBILENO": {}, "USR_ROLE": {}, "USR_DESIG": {}, "USR_ACTIVE": {}, "USR_CBY": {}, "USR_CDTE": {}, "District_EN": {}, "District_KN": {}, "ZoneName": {}, "WardName": {}, "USR_CANTEEN_LATLONG": {}, "IC_Latitude": {}, "IC_Longitude": {}, "IC_NAME": {}, "IC_Address": {} } ] }
application/xml, text/xml
Sample:
<API_RETURN_SENDOTPVALIDATION_STATUS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI_IndiraCanteens.Models"> <RESPONSE_CODE>sample string 3</RESPONSE_CODE> <RESPONSE_MESSAGE>sample string 1</RESPONSE_MESSAGE> <RESPONSE_MOBILE_NUMBER>sample string 2</RESPONSE_MOBILE_NUMBER> <USER_DETAILS> <Usp_ValidUserDetails> <District_EN /> <District_KN /> <IC_Address /> <IC_Latitude /> <IC_Longitude /> <IC_NAME /> <USR_ACTIVE /> <USR_ARO /> <USR_CANTEEN_ID /> <USR_CANTEEN_LATLONG /> <USR_CANTEEN_NAME /> <USR_CBY /> <USR_CDTE /> <USR_DESIG /> <USR_DIST /> <USR_ID /> <USR_MOBILENO /> <USR_NAME /> <USR_ROLE /> <USR_TWN /> <USR_WARD /> <USR_ZONE /> <WardName /> <ZoneName /> </Usp_ValidUserDetails> <Usp_ValidUserDetails> <District_EN /> <District_KN /> <IC_Address /> <IC_Latitude /> <IC_Longitude /> <IC_NAME /> <USR_ACTIVE /> <USR_ARO /> <USR_CANTEEN_ID /> <USR_CANTEEN_LATLONG /> <USR_CANTEEN_NAME /> <USR_CBY /> <USR_CDTE /> <USR_DESIG /> <USR_DIST /> <USR_ID /> <USR_MOBILENO /> <USR_NAME /> <USR_ROLE /> <USR_TWN /> <USR_WARD /> <USR_ZONE /> <WardName /> <ZoneName /> </Usp_ValidUserDetails> </USER_DETAILS> </API_RETURN_SENDOTPVALIDATION_STATUS>