POST api/subscriber/SignUp?ApplicationKey={ApplicationKey}&APIKey={APIKey}&DeviceID={DeviceID}
This method is an authentication system in Traxia that allows you to register users who have device id.
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
In the Traxia 6, parameter body consists of parameters and values, the parameters used in this case are fullname, country, phonenumber, email, password, and deviceid.
APIParametersName | Description | Type | Additional Information |
---|---|---|---|
Parameters |
New technique from Traxia to simplify filling data in body parameter by just input key value and the system will retrieve the available information. |
Collection of Pair of string [key] and string [value] |
Required |
Request Formats
application/json, text/json
// SignUp parameter query offers optional filters using key-value pair such as following { "Parameters": [ { "Key": "fullname", // mandatory, fullname of user, string "Value": "rui costa" }, { "Key": "country", // mandatory, user country, string "Value": "Portugal" }, { "Key": "phonenumber", // mandatory, user phone number, string "Value": "089898989898" }, { "Key": "email", // mandatory, user email, string "Value": "ruicosta@timnasportugal.com" }, { "Key": "password", // mandatory, user password, string "Value": "traxia" }, { "Key": "deviceid",// mandatory, user device id, string "Value": "359002 " }, { "Key": "applicationid", // mandatory, user application id, if does not know can write by "" "Value": "1" } ] }
application/xml, text/xml
<APIParameters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Traxia.Common"> <Parameters xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic"> <d2p1:KeyValuePairOfstringstring> <d2p1:key>sample string 1</d2p1:key> <d2p1:value>sample string 2</d2p1:value> </d2p1:KeyValuePairOfstringstring> <d2p1:KeyValuePairOfstringstring> <d2p1:key>sample string 1</d2p1:key> <d2p1:value>sample string 2</d2p1:value> </d2p1:KeyValuePairOfstringstring> </Parameters> </APIParameters>
multipart/form-data
<APIParameters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Traxia.Common"><Parameters xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic"><d2p1:KeyValuePairOfstringstring><d2p1:key>sample string 1</d2p1:key><d2p1:value>sample string 2</d2p1:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p1:key>sample string 1</d2p1:key><d2p1:value>sample string 2</d2p1:value></d2p1:KeyValuePairOfstringstring></Parameters></APIParameters>
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 SignUp { "Acknowledge": 1, "ResponseCode": 200, "ResponseMessage": "Request was succesfully performed.", "Data": null }