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
CreatePromotionCorrectDtoName | 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": "ba8b0134-29c3-4e35-a427-cc1719ab38b4", "CustomerName": "sample string 2", "AttendanceID": "ffebd38e-6920-4345-991e-80ae0c408f7f", "Remark": "sample string 4", "AttendanceCMID": "bf4e9887-466e-482a-b7c5-61eb932abfe7" }
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>bf4e9887-466e-482a-b7c5-61eb932abfe7</AttendanceCMID> <AttendanceID>ffebd38e-6920-4345-991e-80ae0c408f7f</AttendanceID> <CustomerID>ba8b0134-29c3-4e35-a427-cc1719ab38b4</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
ResultModelOfObjectName | 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>