POST api/PortedNoApi/UploadPortedNo
Request Information
URI Parameters
None.
Body Parameters
Collection of PortedNo| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| NetworkId | integer |
None. |
|
| MobileNo | string |
None. |
|
| LoginId | integer |
None. |
|
| IsDuplicate | boolean |
None. |
|
| GetFrom | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2",
"NetworkId": 3,
"MobileNo": "sample string 4",
"LoginId": 5,
"IsDuplicate": true,
"GetFrom": "sample string 6"
},
{
"Id": 1,
"Name": "sample string 2",
"NetworkId": 3,
"MobileNo": "sample string 4",
"LoginId": 5,
"IsDuplicate": true,
"GetFrom": "sample string 6"
}
]
application/xml, text/xml
Sample:
<ArrayOfPortedNo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMS.DataModels">
<PortedNo>
<GetFrom>sample string 6</GetFrom>
<Id>1</Id>
<IsDuplicate>true</IsDuplicate>
<LoginId>5</LoginId>
<MobileNo>sample string 4</MobileNo>
<Name>sample string 2</Name>
<NetworkId>3</NetworkId>
</PortedNo>
<PortedNo>
<GetFrom>sample string 6</GetFrom>
<Id>1</Id>
<IsDuplicate>true</IsDuplicate>
<LoginId>5</LoginId>
<MobileNo>sample string 4</MobileNo>
<Name>sample string 2</Name>
<NetworkId>3</NetworkId>
</PortedNo>
</ArrayOfPortedNo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>