POST api/Customer/Device/Set?Signature={Signature}&Language={Language}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Signature

string

Required

Language

API.LANGUAGE

Default value is en_US

Body Parameters

Requests.Customers.Devices.Set
NameDescriptionTypeAdditional information
ClientCode

string

None.

DateTime

date

None.

Content

Forms.Customers.Devices.Set

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientCode": "sample string 1",
  "DateTime": "2024-11-18T11:29:36.4101658+08:00",
  "Content": {
    "Identity": null,
    "ID": 1,
    "Token": "sample string 2",
    "Info": "sample string 3"
  }
}

text/html

Sample:
{"ClientCode":"sample string 1","DateTime":"2024-11-18T11:29:36.4101658+08:00","Content":{"Identity":null,"ID":1,"Token":"sample string 2","Info":"sample string 3"}}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Responses.Customers.Devices.Add
NameDescriptionTypeAdditional information
IsSuccessful

boolean

None.

Messages

Collection of Models.Message

None.

ClientCode

string

None.

DateTime

date

None.

Content

Models.Customers.Device

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessful": true,
  "Messages": [],
  "ClientCode": "sample string 2",
  "DateTime": "2024-11-18T11:29:36.4570379+08:00",
  "Content": null
}

text/html

Sample:
{"IsSuccessful":true,"Messages":[],"ClientCode":"sample string 2","DateTime":"2024-11-18T11:29:36.4570379+08:00","Content":null}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.