POST api/PromotionAttendance/CreatePromotionCorrect?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}
创建促销员补卡申请
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
CreatePromotionCorrectDto| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerID | globally unique identifier |
None. |
|
| CustomerName | string |
None. |
|
| AttendanceID | globally unique identifier |
None. |
|
| Remark | string |
None. |
|
| AttendanceCMID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerID": "3333bd7f-e041-4bc7-bd30-f9506c55ff3d",
"CustomerName": "sample string 2",
"AttendanceID": "e6718ef9-454b-41ac-955c-864d0529bd15",
"Remark": "sample string 4",
"AttendanceCMID": "03f23791-31c7-4f61-83c7-26dc37128bad"
}
application/xml, text/xml
Sample:
<CreatePromotionCorrectDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Entity.DTO.ApiDTO"> <AttendanceCMID>03f23791-31c7-4f61-83c7-26dc37128bad</AttendanceCMID> <AttendanceID>e6718ef9-454b-41ac-955c-864d0529bd15</AttendanceID> <CustomerID>3333bd7f-e041-4bc7-bd30-f9506c55ff3d</CustomerID> <CustomerName>sample string 2</CustomerName> <Remark>sample string 4</Remark> </CreatePromotionCorrectDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfObject| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | ReturnCode |
None. |
|
| Message | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 200,
"Message": "sample string 1",
"Data": {}
}
application/xml, text/xml
Sample:
<ResultModelOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility"> <Code>Success</Code> <Data /> <Message>sample string 1</Message> </ResultModelOfanyType>