PUT api/Role/PutAccountRole
变更人员角色
Request Information
URI Parameters
None.
Body Parameters
AccountRoleChangeModelName | Description | Type | Additional information |
---|---|---|---|
OtherDomainID |
经销商域ID |
globally unique identifier |
None. |
PersonID |
人员ID |
globally unique identifier |
None. |
AccountID |
账号ID |
globally unique identifier |
None. |
IsBoss |
是否经销商老板 |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "OtherDomainID": "9bda9dcb-9ac0-4db5-b362-58504504d219", "PersonID": "7ba08d03-c70e-4616-8e0b-e3133d5fbb16", "AccountID": "8c3ed0fb-235b-484a-bc36-6c80b113fcd6", "IsBoss": true }
application/xml, text/xml
Sample:
<AccountRoleChangeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.App.WebAPI.Areas.MDM.ViewModel"> <AccountID>8c3ed0fb-235b-484a-bc36-6c80b113fcd6</AccountID> <IsBoss>true</IsBoss> <OtherDomainID>9bda9dcb-9ac0-4db5-b362-58504504d219</OtherDomainID> <PersonID>7ba08d03-c70e-4616-8e0b-e3133d5fbb16</PersonID> </AccountRoleChangeModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Code | ReturnCode |
None. |
|
Message | string |
None. |
|
Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Code": 200, "Message": "sample string 1", "Data": true }
application/xml, text/xml
Sample:
<ResultModelOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility"> <Code>Success</Code> <Data>true</Data> <Message>sample string 1</Message> </ResultModelOfboolean>