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": "ac6ea8ed-280e-47fe-878e-a26ecebbaa17", "PersonID": "8a78b15e-e24c-44e0-b36e-03d8c6aa3083", "AccountID": "62c0c33f-9d37-4f36-b57b-f55618a176ce", "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>62c0c33f-9d37-4f36-b57b-f55618a176ce</AccountID> <IsBoss>true</IsBoss> <OtherDomainID>ac6ea8ed-280e-47fe-878e-a26ecebbaa17</OtherDomainID> <PersonID>8a78b15e-e24c-44e0-b36e-03d8c6aa3083</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>