POST api/simcard/UpdateSIMCard?ApplicationKey={ApplicationKey}&APIKey={APIKey}&DeviceID={DeviceID}
This method allow you to modify detailed information of registered SIM cards.
Request Information
URI Parameters
Name | Description | Type | Additional Information |
---|---|---|---|
ApplicationKey |
The application identity issued by an authorized publisher of Traxia services. This identity is unique and generated one-time during registration. |
string |
Required |
APIKey |
Secret key issued to be challenged as identity verification. |
string |
Required |
DeviceID |
Unique code to identify a device that connects to the Traxia system, such as IMEI. |
string |
None |
Body Parameters
Submit the simcard object information to be updated.
SIMCardName | Description | Type | Additional Information |
---|---|---|---|
SIMCardID |
Unique code to identify a SIM card on the device that connects to the Traxia system just fill when update SIM card, not appropriate when the register session (just filled when update). |
integer |
Required |
SIMCardProvider |
Name of the provider who support SIM card on the device (service provider products such as links to the internet, domain name registration, and hosting). |
string |
Required |
PhoneNumber |
The contact number from the SIM card that want to register on Traxia system. |
string |
Required |
SubscriberID | integer |
None |
|
GUID | string |
None |
|
CreatedBy |
The person who responded to register the data (filled in only when registering). |
string |
None |
CreatedTimeStamp |
The time when a data record was created. |
date |
None |
LastUpdateBy |
The last person who modified the data (filled only when updating). |
string |
None |
LastUpdateTimeStamp |
The time when a data record was modified (filled only when updating). |
date |
None |
Discard |
Status of enabling or disabling data visibility to the system. (filled in only when disabling or enabling). |
boolean |
None |
DiscardBy |
The last person who discarded the data. (filled in only when disabling). |
string |
None |
DiscardTimeStamp |
Information about the time when the last discard data happened (filled in only when disabling). |
date |
None |
Request Formats
application/json, text/json
// parameter to update the SIM Card { "SIMCardID": 8,// mandatory, your SIM Card ID, integer "SIMCardProvider": "Telkomsel",// mandatory, your provider SIM Card, string "PhoneNumber": "6281397467822",// mandatory, your SIM Card number, string "SubscriberID": 1, // mandatory, your subscriber id, integer "LastUpdateBy": care@dit.co.id,// mandatory, the responsible email "LastUpdateTimeStamp": "2021-05-03T05:36:05.583" // mandatory, yyyy-mm-dd hh:mm:ss }
application/xml, text/xml
<SIMCard xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Traxia.Credential.SIMCards"> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Traxia.Common">sample string 6</CreatedBy> <CreatedTimeStamp xmlns="http://schemas.datacontract.org/2004/07/Traxia.Common">2024-12-18T16:11:53.508604+07:00</CreatedTimeStamp> <Discard xmlns="http://schemas.datacontract.org/2004/07/Traxia.Common">true</Discard> <DiscardBy xmlns="http://schemas.datacontract.org/2004/07/Traxia.Common">sample string 9</DiscardBy> <DiscardTimeStamp xmlns="http://schemas.datacontract.org/2004/07/Traxia.Common">2024-12-18T16:11:53.508604+07:00</DiscardTimeStamp> <GUID xmlns="http://schemas.datacontract.org/2004/07/Traxia.Common">sample string 5</GUID> <LastUpdateBy xmlns="http://schemas.datacontract.org/2004/07/Traxia.Common">sample string 7</LastUpdateBy> <LastUpdateTimeStamp xmlns="http://schemas.datacontract.org/2004/07/Traxia.Common">2024-12-18T16:11:53.508604+07:00</LastUpdateTimeStamp> <SubscriberID xmlns="http://schemas.datacontract.org/2004/07/Traxia.Common">4</SubscriberID> <PhoneNumber>sample string 3</PhoneNumber> <SIMCardID>1</SIMCardID> <SIMCardProvider>sample string 2</SIMCardProvider> </SIMCard>
multipart/form-data
<SIMCard xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Traxia.Credential.SIMCards"><CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Traxia.Common">sample string 6</CreatedBy><CreatedTimeStamp xmlns="http://schemas.datacontract.org/2004/07/Traxia.Common">2024-12-18T16:11:53.508604+07:00</CreatedTimeStamp><Discard xmlns="http://schemas.datacontract.org/2004/07/Traxia.Common">true</Discard><DiscardBy xmlns="http://schemas.datacontract.org/2004/07/Traxia.Common">sample string 9</DiscardBy><DiscardTimeStamp xmlns="http://schemas.datacontract.org/2004/07/Traxia.Common">2024-12-18T16:11:53.508604+07:00</DiscardTimeStamp><GUID xmlns="http://schemas.datacontract.org/2004/07/Traxia.Common">sample string 5</GUID><LastUpdateBy xmlns="http://schemas.datacontract.org/2004/07/Traxia.Common">sample string 7</LastUpdateBy><LastUpdateTimeStamp xmlns="http://schemas.datacontract.org/2004/07/Traxia.Common">2024-12-18T16:11:53.508604+07:00</LastUpdateTimeStamp><SubscriberID xmlns="http://schemas.datacontract.org/2004/07/Traxia.Common">4</SubscriberID><PhoneNumber>sample string 3</PhoneNumber><SIMCardID>1</SIMCardID><SIMCardProvider>sample string 2</SIMCardProvider></SIMCard>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
BaseResponseName | Description | Type | Additional Information |
---|---|---|---|
Acknowledge |
Acknowledgement of API request format, whether you are submitting the requested parameter in a proper format. |
Acknowledge |
None |
ResponseCode |
Indicates the result of your API service process. Negative results may have different code indicators depending on their failure type. |
ResponseCode |
None |
ResponseMessage |
Negative API process results may have additional information in text to explain the failure reasons. |
string |
None |
Data |
Data provide a universal object response model transformed into JSON compatible format. You will need to recognize the type of returned object model of each of your request. For more information about object class model, please consult our object class library documentation. |
Object |
None |
Latency | integer |
None |
Response Formats
application/json, text/json
// Succesful result of update SIM Card { "Acknowledge": 1, "ResponseCode": 200, "ResponseMessage": "Request was succesfully performed.", "Data": 8 }