POST api/SalesOrder/RedDocument?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}
销售单红冲 1. 其实为拜访红冲,目前的红冲入口基本从销售过来所以放在这个服务中 2. 与接口 Module.VehicleCall.RedDocument.RedDocument 逻辑一致 2.1. 现在不加前置的各种验证 2.2. 添加红冲备注
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| DomainId |
域Id |
globally unique identifier |
None. |
| AccountId |
账户Id |
globally unique identifier |
None. |
| PersonId |
人员Id |
globally unique identifier |
None. |
Body Parameters
红冲参数
RedDocumentParams| Name | Description | Type | Additional information |
|---|---|---|---|
| VisitID |
拜访ID |
globally unique identifier |
None. |
| Remark |
备注 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"VisitID": "745cc894-c402-4c5c-b69d-886490d50393",
"Remark": "sample string 1"
}
application/xml, text/xml
Sample:
<RedDocumentParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.App.WebAPI.Areas.SalesOrder.ViewModel"> <Remark>sample string 1</Remark> <VisitID>745cc894-c402-4c5c-b69d-886490d50393</VisitID> </RedDocumentParams>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfBoolean| Name | Description | Type | Additional 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>