请求方式:
POST
请求地址:
https://api.eshouhou.cn/open/v2/Customer/CreateCustomerProduct?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",
"ID":"eaa0d200-e8bc-4e29-b363-dcf08d298af5",
"ServiceNetworkID":"bd7fc093-0ccf-4335-9daf-10931b4e7c7d",
"CustomFields":[
{
"Key":"CustomerID",
"Value":""
},
{
"Key":"SerialNumber1",
"Value":""
},
{
"Key":"ProjectID",
"Value":""
},
{
"Key":"ServiceNetworkID",
"Value":"bd7fc093-0ccf-4335-9daf-10931b4e7c7d"
},
{
"Key":"Longitude",
"Value":0
},
{
"Key":"Latitude",
"Value":0
}
],
"ServiceNetworkType":"1"
}
返回成功示例:
{ "ResultCode": 0, "ErrorMsg": " } |