POST api/User/UpdateUserMapTypeTable

修改关系和电话号码

Request Information

Body Parameters

UserMapTypeTable
NameDescriptionTypeAdditional information
UserId

设备Id

integer

None.

mapType

设备Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "mapType": 2
}

application/xml, text/xml

Sample:
<UserMapTypeTable xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel">
  <UserId>1</UserId>
  <mapType>2</mapType>
</UserMapTypeTable>

Response Information

Resource Description

NormalResult
NameDescriptionTypeAdditional information
Message

消息 [大多数情况下可通过该消息做为提示语]

string

None.

State

状态码

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "State": 2
}

application/xml, text/xml

Sample:
<NormalResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>2</State>
  <Message>sample string 1</Message>
</NormalResult>