POST api/Customer/UpdateGsmNumber
Request Information
URI Parameters
None.
Body Parameters
UpdateGsmNumberWithOtpRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| gsmNumber | string |
None. |
|
| otpIdReference | string |
None. |
|
| IsAllowedDeleteSecureProfile | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"gsmNumber": "sample string 2",
"otpIdReference": "sample string 3",
"IsAllowedDeleteSecureProfile": true
}
application/xml, text/xml
Sample:
<UpdateGsmNumberWithOtpRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request"> <GsmNumber>sample string 2</GsmNumber> <IsAllowedDeleteSecureProfile>true</IsAllowedDeleteSecureProfile> <OtpIdReference>sample string 3</OtpIdReference> <UserId>1d006deb-8756-4109-b322-b189ab7e6ade</UserId> </UpdateGsmNumberWithOtpRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UpdateGsmNumberWithOtpResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ReferenceCode | string |
None. |
|
| RemainingSecond | integer |
None. |
|
| OtpIdReference | string |
None. |
|
| IsOtpRequired | boolean |
None. |
|
| IsOtpValid | boolean |
None. |
|
| MaskedGsmNumber | string |
None. |
|
| Messages | Collection of MessageModel |
None. |
|
| Data | Object |
None. |
|
| Success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"ReferenceCode": "sample string 1",
"RemainingSecond": 2,
"OtpIdReference": "sample string 3",
"IsOtpRequired": true,
"IsOtpValid": true,
"MaskedGsmNumber": "sample string 6",
"Messages": [
{
"Code": 1,
"Level": "sample string 2",
"Message": "sample string 3",
"SubMessage": "sample string 4"
},
{
"Code": 1,
"Level": "sample string 2",
"Message": "sample string 3",
"SubMessage": "sample string 4"
}
],
"Data": {},
"Success": true
}
application/xml, text/xml
Sample:
<UpdateGsmNumberWithOtpResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response">
<Data xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response.Common" />
<Messages xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response.Common">
<MessageModel>
<Code>1</Code>
<Level>sample string 2</Level>
<Message>sample string 3</Message>
<SubMessage>sample string 4</SubMessage>
</MessageModel>
<MessageModel>
<Code>1</Code>
<Level>sample string 2</Level>
<Message>sample string 3</Message>
<SubMessage>sample string 4</SubMessage>
</MessageModel>
</Messages>
<Success xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response.Common">true</Success>
<IsOtpRequired>true</IsOtpRequired>
<IsOtpValid>true</IsOtpValid>
<MaskedGsmNumber>sample string 6</MaskedGsmNumber>
<OtpIdReference>sample string 3</OtpIdReference>
<ReferenceCode>sample string 1</ReferenceCode>
<RemainingSecond>2</RemainingSecond>
</UpdateGsmNumberWithOtpResponse>