增加代办客户

URL地址:api/App/CustomerAgency/InsertCustomerAgency

请求方式:POST

传递参数

None.

传递对象

CustomerAgencyEntity (代办客户对象)
名   称描   述参数类型附加信息
Id

integer

None.

CustName

客户名称

string

None.

Phone

客户电话

string

None.

dhPerKey

商务

globally unique identifier

None.

dhPerName

商务名称

string

None.

CorpDeptName

商务公司部门名称

string

None.

DeptId

商务部门

integer

None.

DistributeDate

分发时间

date

None.

SignPerName

签单人名称

string

None.

SignPerKey

签单人主键

globally unique identifier

None.

SignCorpDeptName

签单人公司部门

string

None.

SignDeptId

签单人部门id

integer

None.

SignDate

签单时间

date

None.

SignMoney

签单金额

decimal number

None.

Remarks

备注

string

None.

fCreateDate

创建时间

date

None.

Bid

转让商标表ID

integer

None.

TMid

商标基础表id

integer

None.

Uid

客户ID

integer

None.

application/json, text/json

Sample:
{
  "Id": 1,
  "CustName": "sample string 2",
  "Phone": "sample string 3",
  "dhPerKey": "91042cf0-d5ef-4c83-8b1e-7d93130022ca",
  "dhPerName": "sample string 5",
  "CorpDeptName": "sample string 6",
  "DeptId": 7,
  "DistributeDate": "2021-03-07T18:27:21.6197342+08:00",
  "SignPerName": "sample string 9",
  "SignPerKey": "6e5a5e50-8c1e-44cf-99c1-f8dd86a9b540",
  "SignCorpDeptName": "sample string 11",
  "SignDeptId": 12,
  "SignDate": "2021-03-07T18:27:21.6197342+08:00",
  "SignMoney": 14.0,
  "Remarks": "sample string 15",
  "fCreateDate": "2021-03-07T18:27:21.6197342+08:00",
  "Bid": 17,
  "TMid": 18,
  "Uid": 19
}

application/xml, text/xml

Sample:
<CustomerAgencyEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChat.Api.Models">
  <Bid>17</Bid>
  <CorpDeptName>sample string 6</CorpDeptName>
  <CustName>sample string 2</CustName>
  <DeptId>7</DeptId>
  <DistributeDate>2021-03-07T18:27:21.6197342+08:00</DistributeDate>
  <Id>1</Id>
  <Phone>sample string 3</Phone>
  <Remarks>sample string 15</Remarks>
  <SignCorpDeptName>sample string 11</SignCorpDeptName>
  <SignDate>2021-03-07T18:27:21.6197342+08:00</SignDate>
  <SignDeptId>12</SignDeptId>
  <SignMoney>14</SignMoney>
  <SignPerKey>6e5a5e50-8c1e-44cf-99c1-f8dd86a9b540</SignPerKey>
  <SignPerName>sample string 9</SignPerName>
  <TMid>18</TMid>
  <Uid>19</Uid>
  <dhPerKey>91042cf0-d5ef-4c83-8b1e-7d93130022ca</dhPerKey>
  <dhPerName>sample string 5</dhPerName>
  <fCreateDate>2021-03-07T18:27:21.6197342+08:00</fCreateDate>
</CustomerAgencyEntity>

application/x-www-form-urlencoded

Sample:

Sample not available.

返回对象

HttpResultMessageOfBoolean (bool)
名   称描   述参数类型附加信息
StatusCode

HttpStatusCode

None.

Errors

Dictionary of string [key] and string [value]

None.

Msg

string

None.

message

string

None.

Result

boolean

None.

返回对象格式

application/json, text/json

Sample:
{
  "StatusCode": 100,
  "Errors": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "Msg": "sample string 1",
  "message": "sample string 2",
  "Result": true
}

application/xml, text/xml

Sample:
<HttpResultMessageOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChat.Api.Models">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Errors>
  <Msg>sample string 1</Msg>
  <Result>true</Result>
  <StatusCode>Continue</StatusCode>
  <message>sample string 2</message>
</HttpResultMessageOfboolean>