POST api/user/UpdateProfile?EmailAddress={EmailAddress}&Token={Token}&ApplicationKey={ApplicationKey}&APIKey={APIKey}&DeviceID={DeviceID}

This method allows you to modify detailed information of registered users.

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
EmailAddress

Primary Key, use the email address for Register, Update, Enable, Disable and Retrieve.

string

Required

Token

Unique code generates by the system to give grant access for the user to the application.

string

Required

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

None

Request Formats

application/json, text/json

Sample:
// Update Profile parameter query offers optional filters using key-value pair such as following
// type in the format of form data
{
    "Avatar":"upload your image profile", // mandatory, user profile image
    "Data":{
    "EmailAddress" : "care@dit.co.id",// mandatory, user email address, string
    "FullName" : "care",// mandatory, user full name, string
    "GMT" : "7", // mandatory, user GMT, integer
    "CountryName" : "JPN", // mandatory, user country, string
    "LastUpdateBy" : "care@dit.co.id", // mandatory, user email address, string
    "Password":"traxia" // mandatory, user password, string
}


Response Information

Resource Description

BaseResponse
NameDescriptionTypeAdditional 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

Sample:
// Succesful result of Update Profile may resulted in large json array consisted of activity data in defined request interval
{
    "Acknowledge": 1,
    "ResponseCode": 200,
    "ResponseMessage": "Request was succesfully performed.",
    "Data": "care",
    "Latency": 31
}