POST api/PromotionAttendance/CreatePromotionCorrect?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}

创建促销员补卡申请

Request Information

URI Parameters

NameDescriptionTypeAdditional information
DomainId

域Id

globally unique identifier

None.

AccountId

账户Id

globally unique identifier

None.

PersonId

人员Id

globally unique identifier

None.

Body Parameters

CreatePromotionCorrectDto
NameDescriptionTypeAdditional 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": "72d43339-b627-4721-8e00-3661fdff4c88",
  "CustomerName": "sample string 2",
  "AttendanceID": "66d70110-3381-493d-8a31-643d03a28dd8",
  "Remark": "sample string 4",
  "AttendanceCMID": "c68409c7-5463-4ff2-abc8-28587af25a74"
}

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>c68409c7-5463-4ff2-abc8-28587af25a74</AttendanceCMID>
  <AttendanceID>66d70110-3381-493d-8a31-643d03a28dd8</AttendanceID>
  <CustomerID>72d43339-b627-4721-8e00-3661fdff4c88</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
NameDescriptionTypeAdditional 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>