POST new/uniqueqr/product/edit
编辑产品(仅 IsManager = 第三方平台负责人)
Request Information
URI Parameters
None.
Body Parameters
UniqueQRProductSaveRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| DeliveryNo | string |
None. |
|
| Sn | string |
None. |
|
| ProductName | string |
None. |
|
| Quantity | integer |
None. |
|
| FactoryDate | string |
None. |
|
| FactoryCustomer | string |
None. |
|
| EndUserHoriba | string |
None. |
|
| SalesArea | string |
None. |
|
| BatchNo | string |
None. |
|
| Model | string |
None. |
|
| ItemNo | string |
None. |
|
| DeptId | string |
None. |
|
| DeptName | string |
None. |
|
| AssignedDealerUserId |
指定经销商用户 Id(空/0=未指定) |
string |
None. |
| AssignedDealerName |
指定经销商展示名 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"DeliveryNo": "sample string 2",
"Sn": "sample string 3",
"ProductName": "sample string 4",
"Quantity": 5,
"FactoryDate": "sample string 6",
"FactoryCustomer": "sample string 7",
"EndUserHoriba": "sample string 8",
"SalesArea": "sample string 9",
"BatchNo": "sample string 10",
"Model": "sample string 11",
"ItemNo": "sample string 12",
"DeptId": "sample string 13",
"DeptName": "sample string 14",
"AssignedDealerUserId": "sample string 15",
"AssignedDealerName": "sample string 16"
}
application/xml, text/xml
Sample:
<UniqueQRProductSaveRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Api.Controllers.Dtos"> <AssignedDealerName>sample string 16</AssignedDealerName> <AssignedDealerUserId>sample string 15</AssignedDealerUserId> <BatchNo>sample string 10</BatchNo> <DeliveryNo>sample string 2</DeliveryNo> <DeptId>sample string 13</DeptId> <DeptName>sample string 14</DeptName> <EndUserHoriba>sample string 8</EndUserHoriba> <FactoryCustomer>sample string 7</FactoryCustomer> <FactoryDate>sample string 6</FactoryDate> <Id>sample string 1</Id> <ItemNo>sample string 12</ItemNo> <Model>sample string 11</Model> <ProductName>sample string 4</ProductName> <Quantity>5</Quantity> <SalesArea>sample string 9</SalesArea> <Sn>sample string 3</Sn> </UniqueQRProductSaveRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiDataResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Ok |
接口是否成功。 |
boolean |
None. |
| Data |
返回数据。 |
Object |
None. |
| Msg |
返回消息。 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Ok": true,
"Data": {},
"Msg": "sample string 3"
}
application/xml, text/xml
Sample:
<ApiDataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Api.Controllers.Dtos"> <Data /> <Msg>sample string 3</Msg> <Ok>true</Ok> </ApiDataResponse>