POST api/Sim/Sync
Request Information
URI Parameters
None.
Body Parameters
JsonInputDataSim| Name | Description | Type | Additional information |
|---|---|---|---|
| Sims | Collection of JsonSim |
None. |
Request Formats
application/json, text/json
Sample:
{
"Sims": [
{
"VehiclePlate": "sample string 1",
"XNCode": 2,
"TelecomCompanyCode": "sample string 3",
"TelecomCompany": 4,
"PhoneNumber": "sample string 5",
"ExtraPhoneNumber": "sample string 6",
"Serial": "sample string 7",
"FirstMoney": 8.1,
"MoneyPerMonth": 9.1,
"SIMType": 10
},
{
"VehiclePlate": "sample string 1",
"XNCode": 2,
"TelecomCompanyCode": "sample string 3",
"TelecomCompany": 4,
"PhoneNumber": "sample string 5",
"ExtraPhoneNumber": "sample string 6",
"Serial": "sample string 7",
"FirstMoney": 8.1,
"MoneyPerMonth": 9.1,
"SIMType": 10
}
]
}
application/xml, text/xml
Sample:
<JsonInputDataSim xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model">
<Sims>
<JsonSim>
<ExtraPhoneNumber>sample string 6</ExtraPhoneNumber>
<FirstMoney>8.1</FirstMoney>
<MoneyPerMonth>9.1</MoneyPerMonth>
<PhoneNumber>sample string 5</PhoneNumber>
<SIMType>10</SIMType>
<Serial>sample string 7</Serial>
<TelecomCompany>4</TelecomCompany>
<TelecomCompanyCode>sample string 3</TelecomCompanyCode>
<VehiclePlate>sample string 1</VehiclePlate>
<XNCode>2</XNCode>
</JsonSim>
<JsonSim>
<ExtraPhoneNumber>sample string 6</ExtraPhoneNumber>
<FirstMoney>8.1</FirstMoney>
<MoneyPerMonth>9.1</MoneyPerMonth>
<PhoneNumber>sample string 5</PhoneNumber>
<SIMType>10</SIMType>
<Serial>sample string 7</Serial>
<TelecomCompany>4</TelecomCompany>
<TelecomCompanyCode>sample string 3</TelecomCompanyCode>
<VehiclePlate>sample string 1</VehiclePlate>
<XNCode>2</XNCode>
</JsonSim>
</Sims>
</JsonInputDataSim>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
StatusExtend| Name | Description | Type | Additional information |
|---|---|---|---|
| ReturnCode | integer |
None. |
|
| Description | string |
None. |
|
| ObjectReturn | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"ReturnCode": 1,
"Description": "sample string 2",
"ObjectReturn": {}
}
application/xml, text/xml
Sample:
<StatusExtend xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.Common"> <Description>sample string 2</Description> <ObjectReturn /> <ReturnCode>1</ReturnCode> </StatusExtend>