POST api/Account/UpdateCRMUser
君乐宝CRM人员同步接口
Request Information
URI Parameters
None.
Body Parameters
UpdateCRMUserDto| Name | Description | Type | Additional information |
|---|---|---|---|
| PersonID | globally unique identifier |
None. |
|
| AccountName | string |
None. |
|
| PersonName | string |
None. |
|
| PersonNumber | string |
None. |
|
| Phone | string |
None. |
|
| Sex | string |
None. |
|
| IsDelete | boolean |
None. |
|
| DealerID | globally unique identifier |
None. |
|
| isUpdate | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"PersonID": "ddeb0814-e5ed-49b2-b0c9-8d8796ef7e9a",
"AccountName": "sample string 1",
"PersonName": "sample string 2",
"PersonNumber": "sample string 3",
"Phone": "sample string 4",
"Sex": "sample string 5",
"IsDelete": true,
"DealerID": "c8eec46f-864e-44ca-945a-5cc03f912792",
"isUpdate": true
}
application/xml, text/xml
Sample:
<UpdateCRMUserDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Entity"> <AccountName>sample string 1</AccountName> <DealerID>c8eec46f-864e-44ca-945a-5cc03f912792</DealerID> <IsDelete>true</IsDelete> <PersonID>ddeb0814-e5ed-49b2-b0c9-8d8796ef7e9a</PersonID> <PersonName>sample string 2</PersonName> <PersonNumber>sample string 3</PersonNumber> <Phone>sample string 4</Phone> <Sex>sample string 5</Sex> <isUpdate>true</isUpdate> </UpdateCRMUserDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfBoolean| Name | 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>