请求方式:
POST
请求地址:
https://api.eshouhou.cn/open/v2/Customer/CreateCustomerProject?access_token=eXNoNTRkZDRmOGFyaW5meCY2YTgyNTFiYS1jZTY0LTQ2YjctYTUwNS1hNGU1NjAwMzI3MDYmMTIw
请求参数:
参数 | 类型 | 必填 | 名称 | 备注 |
ServiceSpaceId | string | 是 | 服务空间id | |
ServiceNetworkId | string | 是 | 服务网点id | |
ServiceNetworkType | int | 是 | 网点类型 | 网点类型(1总部,2网点);默认1 |
UserID | string | 是 | 账号id | |
CustomFields | Array | 是 | 字段集合 | 例如: [ { |
返回参数:
参数 | 类型 | 必填 | 名称 |
ResultCode | String | 是 | 返回编码 |
ErrorMsg | String | 否 | 返回信息 |
Post请求示例:
{
"ServiceSpaceID":"6a8251ba-ce64-46b7-a505-a4e560032706",
"UserID":"6f80db83-a791-4d96-a5cc-0c89ed51cdb1",
"ServiceNetworkID":"bd7fc093-0ccf-4335-9daf-10931b4e7c7d",
"CustomFields":[
{
"Key":"Number",
"Value":""
},
{
"Key":"CustomerID",
"Value":"dc540ce7-5bc5-4275-b8fa-2004eb5839e3"
},
{
"Key":"ProjectName",
"Value":"999"
},
{
"Key":"Remark",
"Value":""
}
],
"ServiceNetworkType":"1"
}
返回成功示例:
{ "ResultCode": 0, "ErrorMsg": "" } |