POST api/PromotionPlan/SavePromotionPlanWeChat?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

PromotionPlanCreateDto
NameDescriptionTypeAdditional information
TID

globally unique identifier

None.

PersonID

globally unique identifier

None.

AccountID

globally unique identifier

None.

StartDate

date

None.

EndDate

date

None.

StatusKey

string

None.

StatusValue

string

None.

CanCreate

boolean

None.

PromotionPlanList

Collection of PromotionPlanDto

None.

PromotionFlightTable

Collection of PromotionFlightDto

None.

HaveCustomer

boolean

None.

AuditLogData

DataSet

None.

Request Formats

application/json, text/json

Sample:
{
  "TID": "61c62537-fbf5-4a0e-b477-7d3ebdd2aa1e",
  "PersonID": "d026b2b6-9a49-4a7e-bd98-75c3ddea1592",
  "AccountID": "f8540eec-542b-4799-9dc5-98d09003acf3",
  "StartDate": "2025-06-23 22:03:46",
  "EndDate": "2025-06-23 22:03:46",
  "StatusKey": "sample string 1",
  "StatusValue": "sample string 2",
  "CanCreate": true,
  "PromotionPlanList": [
    {
      "CustomerID": "0e857075-6c84-40f9-95ea-1eef01644686",
      "CustomerName": "sample string 1",
      "PersonID": "18a57c38-e0e9-4f0b-ab39-98ae3e7e5332",
      "AccountID": "ae804f36-702e-4105-8128-74f0d52502bd",
      "PlanDate": "2025-06-23 22:03:46",
      "PromotionFlightID": "2e90029e-3fa0-4fd6-a377-5a68a223c735",
      "Remark": "sample string 2",
      "AttendanceIn": "sample string 3",
      "AttendanceOut": "sample string 4",
      "WorkType": "sample string 5",
      "IsCrossDay": true,
      "CanModify": true
    },
    {
      "CustomerID": "0e857075-6c84-40f9-95ea-1eef01644686",
      "CustomerName": "sample string 1",
      "PersonID": "18a57c38-e0e9-4f0b-ab39-98ae3e7e5332",
      "AccountID": "ae804f36-702e-4105-8128-74f0d52502bd",
      "PlanDate": "2025-06-23 22:03:46",
      "PromotionFlightID": "2e90029e-3fa0-4fd6-a377-5a68a223c735",
      "Remark": "sample string 2",
      "AttendanceIn": "sample string 3",
      "AttendanceOut": "sample string 4",
      "WorkType": "sample string 5",
      "IsCrossDay": true,
      "CanModify": true
    }
  ],
  "PromotionFlightTable": [
    {
      "TID": "6bb9254a-fa01-4724-9eb3-f51f1193833e",
      "FlightDesc": "sample string 1",
      "WorkType": 1,
      "AttendanceIn": "sample string 2",
      "AttendanceOut": "sample string 3"
    },
    {
      "TID": "6bb9254a-fa01-4724-9eb3-f51f1193833e",
      "FlightDesc": "sample string 1",
      "WorkType": 1,
      "AttendanceIn": "sample string 2",
      "AttendanceOut": "sample string 3"
    }
  ],
  "HaveCustomer": true,
  "AuditLogData": null
}

application/xml, text/xml

Sample:
<PromotionPlanCreateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Entity.DTO.ApiDTO">
  <AccountID>f8540eec-542b-4799-9dc5-98d09003acf3</AccountID>
  <AuditLogData i:nil="true" />
  <CanCreate>true</CanCreate>
  <EndDate>2025-06-23T22:03:46.0645953+08:00</EndDate>
  <HaveCustomer>true</HaveCustomer>
  <PersonID>d026b2b6-9a49-4a7e-bd98-75c3ddea1592</PersonID>
  <PromotionFlightTable>
    <PromotionFlightDto>
      <AttendanceIn>sample string 2</AttendanceIn>
      <AttendanceOut>sample string 3</AttendanceOut>
      <FlightDesc>sample string 1</FlightDesc>
      <TID>6bb9254a-fa01-4724-9eb3-f51f1193833e</TID>
      <WorkType>1</WorkType>
    </PromotionFlightDto>
    <PromotionFlightDto>
      <AttendanceIn>sample string 2</AttendanceIn>
      <AttendanceOut>sample string 3</AttendanceOut>
      <FlightDesc>sample string 1</FlightDesc>
      <TID>6bb9254a-fa01-4724-9eb3-f51f1193833e</TID>
      <WorkType>1</WorkType>
    </PromotionFlightDto>
  </PromotionFlightTable>
  <PromotionPlanList>
    <PromotionPlanDto>
      <AccountID>ae804f36-702e-4105-8128-74f0d52502bd</AccountID>
      <AttendanceIn>sample string 3</AttendanceIn>
      <AttendanceOut>sample string 4</AttendanceOut>
      <CanModify>true</CanModify>
      <CustomerID>0e857075-6c84-40f9-95ea-1eef01644686</CustomerID>
      <CustomerName>sample string 1</CustomerName>
      <IsCrossDay>true</IsCrossDay>
      <PersonID>18a57c38-e0e9-4f0b-ab39-98ae3e7e5332</PersonID>
      <PlanDate>2025-06-23T22:03:46.0645953+08:00</PlanDate>
      <PromotionFlightID>2e90029e-3fa0-4fd6-a377-5a68a223c735</PromotionFlightID>
      <Remark>sample string 2</Remark>
      <WorkType>sample string 5</WorkType>
    </PromotionPlanDto>
    <PromotionPlanDto>
      <AccountID>ae804f36-702e-4105-8128-74f0d52502bd</AccountID>
      <AttendanceIn>sample string 3</AttendanceIn>
      <AttendanceOut>sample string 4</AttendanceOut>
      <CanModify>true</CanModify>
      <CustomerID>0e857075-6c84-40f9-95ea-1eef01644686</CustomerID>
      <CustomerName>sample string 1</CustomerName>
      <IsCrossDay>true</IsCrossDay>
      <PersonID>18a57c38-e0e9-4f0b-ab39-98ae3e7e5332</PersonID>
      <PlanDate>2025-06-23T22:03:46.0645953+08:00</PlanDate>
      <PromotionFlightID>2e90029e-3fa0-4fd6-a377-5a68a223c735</PromotionFlightID>
      <Remark>sample string 2</Remark>
      <WorkType>sample string 5</WorkType>
    </PromotionPlanDto>
  </PromotionPlanList>
  <StartDate>2025-06-23T22:03:46.0645953+08:00</StartDate>
  <StatusKey>sample string 1</StatusKey>
  <StatusValue>sample string 2</StatusValue>
  <TID>61c62537-fbf5-4a0e-b477-7d3ebdd2aa1e</TID>
</PromotionPlanCreateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfBoolean
NameDescriptionTypeAdditional 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>