POST api/Masters/AddMasterDevice
Request Information
URI Parameters
None.
Body Parameters
MasterDeviceRequestName | Description | Type | Additional information |
---|---|---|---|
DeviceID | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "DeviceID": "sample string 1" }
application/xml, text/xml
Sample:
<MasterDeviceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Xamarin_GPS_API.Controllers" />
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseName | Description | Type | Additional information |
---|---|---|---|
Message | string |
None. |
|
Status | integer |
None. |
|
UserID | integer |
None. |
|
UserName | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Message": "sample string 1", "Status": 2, "UserID": 3, "UserName": "sample string 4" }
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Xamarin_GPS_API.Models"> <Message>sample string 1</Message> <Status>2</Status> <UserID>3</UserID> <UserName>sample string 4</UserName> </Response>