POST api/v1/pushdevice
Request Information
URI Parameters
None.
Body Parameters
AddDivicePushName | Description | Type | Additional information |
---|---|---|---|
typeDevice | integer |
None. |
|
token | string |
None. |
|
hashMd5 | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "typeDevice": 1, "token": "sample string 2", "hashMd5": "sample string 3" }
application/xml, text/xml
Sample:
<AddDivicePush xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LawNavigatorServer.Objects"> <hashMd5>sample string 3</hashMd5> <token>sample string 2</token> <typeDevice>1</typeDevice> </AddDivicePush>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
AddDivicePushName | Description | Type | Additional information |
---|---|---|---|
typeDevice | integer |
None. |
|
token | string |
None. |
|
hashMd5 | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "typeDevice": 1, "token": "sample string 2", "hashMd5": "sample string 3" }
application/xml, text/xml
Sample:
<AddDivicePush xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LawNavigatorServer.Objects"> <hashMd5>sample string 3</hashMd5> <token>sample string 2</token> <typeDevice>1</typeDevice> </AddDivicePush>