POST api/Account/UpdateCRMUser

君乐宝CRM人员同步接口

Request Information

URI Parameters

None.

Body Parameters

UpdateCRMUserDto
NameDescriptionTypeAdditional 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": "62d74e7d-efef-4f04-bb45-93e112f6524d",
  "AccountName": "sample string 1",
  "PersonName": "sample string 2",
  "PersonNumber": "sample string 3",
  "Phone": "sample string 4",
  "Sex": "sample string 5",
  "IsDelete": true,
  "DealerID": "cca8ea9c-93fe-4360-91d1-00b0818a9111",
  "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>cca8ea9c-93fe-4360-91d1-00b0818a9111</DealerID>
  <IsDelete>true</IsDelete>
  <PersonID>62d74e7d-efef-4f04-bb45-93e112f6524d</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
NameDescriptionTypeAdditional 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>