POST api/PromotionPlan/GetPromotionPlanByButtonWeChat?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}&ThisWeekOrNextWeek={ThisWeekOrNextWeek}
获取本周或者下周的排班计划 微信排班是一门店一排班
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. |
| ThisWeekOrNextWeek |
本周还是下周(this\next) |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
ResultModelOfPromotionPlanCreateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | ReturnCode |
None. |
|
| Message | string |
None. |
|
| Data | PromotionPlanCreateDto |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 200,
"Message": "sample string 1",
"Data": {
"TID": "0edce83c-916e-4ad2-8c0b-ac336409bf21",
"PersonID": "dfb361ca-6c8e-43d4-a0d2-c0b54f9308bc",
"AccountID": "0311f9eb-c520-4ceb-8a34-8f305f887d59",
"StartDate": "2025-12-16 20:19:36",
"EndDate": "2025-12-16 20:19:36",
"StatusKey": "sample string 1",
"StatusValue": "sample string 2",
"CanCreate": true,
"PromotionPlanList": [
{
"CustomerID": "1f297157-6f1e-407e-b5a1-2779a0932604",
"CustomerName": "sample string 1",
"PersonID": "5fd23fc9-8e38-4813-bb1f-f60c16d52b87",
"AccountID": "fd6069ef-5e5f-46cb-aa1d-6e8ee300e8d6",
"PlanDate": "2025-12-16 20:19:36",
"PromotionFlightID": "33dc4772-d938-448a-bc59-9f485aa6d8a2",
"Remark": "sample string 2",
"AttendanceIn": "sample string 3",
"AttendanceOut": "sample string 4",
"WorkType": "sample string 5",
"IsCrossDay": true,
"CanModify": true
},
{
"CustomerID": "1f297157-6f1e-407e-b5a1-2779a0932604",
"CustomerName": "sample string 1",
"PersonID": "5fd23fc9-8e38-4813-bb1f-f60c16d52b87",
"AccountID": "fd6069ef-5e5f-46cb-aa1d-6e8ee300e8d6",
"PlanDate": "2025-12-16 20:19:36",
"PromotionFlightID": "33dc4772-d938-448a-bc59-9f485aa6d8a2",
"Remark": "sample string 2",
"AttendanceIn": "sample string 3",
"AttendanceOut": "sample string 4",
"WorkType": "sample string 5",
"IsCrossDay": true,
"CanModify": true
}
],
"PromotionFlightTable": [
{
"TID": "d144ed9f-6457-4aaa-a4b3-0bebed0f05b9",
"FlightDesc": "sample string 1",
"WorkType": 1,
"AttendanceIn": "sample string 2",
"AttendanceOut": "sample string 3"
},
{
"TID": "d144ed9f-6457-4aaa-a4b3-0bebed0f05b9",
"FlightDesc": "sample string 1",
"WorkType": 1,
"AttendanceIn": "sample string 2",
"AttendanceOut": "sample string 3"
}
],
"HaveCustomer": true,
"AuditLogData": null
}
}
application/xml, text/xml
Sample:
<ResultModelOfPromotionPlanCreateDtocLJEwkTE xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility">
<Code>Success</Code>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/JT.VSFA.Entity.DTO.ApiDTO">
<d2p1:AccountID>0311f9eb-c520-4ceb-8a34-8f305f887d59</d2p1:AccountID>
<d2p1:AuditLogData i:nil="true" />
<d2p1:CanCreate>true</d2p1:CanCreate>
<d2p1:EndDate>2025-12-16T20:19:36.849085+08:00</d2p1:EndDate>
<d2p1:HaveCustomer>true</d2p1:HaveCustomer>
<d2p1:PersonID>dfb361ca-6c8e-43d4-a0d2-c0b54f9308bc</d2p1:PersonID>
<d2p1:PromotionFlightTable>
<d2p1:PromotionFlightDto>
<d2p1:AttendanceIn>sample string 2</d2p1:AttendanceIn>
<d2p1:AttendanceOut>sample string 3</d2p1:AttendanceOut>
<d2p1:FlightDesc>sample string 1</d2p1:FlightDesc>
<d2p1:TID>d144ed9f-6457-4aaa-a4b3-0bebed0f05b9</d2p1:TID>
<d2p1:WorkType>1</d2p1:WorkType>
</d2p1:PromotionFlightDto>
<d2p1:PromotionFlightDto>
<d2p1:AttendanceIn>sample string 2</d2p1:AttendanceIn>
<d2p1:AttendanceOut>sample string 3</d2p1:AttendanceOut>
<d2p1:FlightDesc>sample string 1</d2p1:FlightDesc>
<d2p1:TID>d144ed9f-6457-4aaa-a4b3-0bebed0f05b9</d2p1:TID>
<d2p1:WorkType>1</d2p1:WorkType>
</d2p1:PromotionFlightDto>
</d2p1:PromotionFlightTable>
<d2p1:PromotionPlanList>
<d2p1:PromotionPlanDto>
<d2p1:AccountID>fd6069ef-5e5f-46cb-aa1d-6e8ee300e8d6</d2p1:AccountID>
<d2p1:AttendanceIn>sample string 3</d2p1:AttendanceIn>
<d2p1:AttendanceOut>sample string 4</d2p1:AttendanceOut>
<d2p1:CanModify>true</d2p1:CanModify>
<d2p1:CustomerID>1f297157-6f1e-407e-b5a1-2779a0932604</d2p1:CustomerID>
<d2p1:CustomerName>sample string 1</d2p1:CustomerName>
<d2p1:IsCrossDay>true</d2p1:IsCrossDay>
<d2p1:PersonID>5fd23fc9-8e38-4813-bb1f-f60c16d52b87</d2p1:PersonID>
<d2p1:PlanDate>2025-12-16T20:19:36.850095+08:00</d2p1:PlanDate>
<d2p1:PromotionFlightID>33dc4772-d938-448a-bc59-9f485aa6d8a2</d2p1:PromotionFlightID>
<d2p1:Remark>sample string 2</d2p1:Remark>
<d2p1:WorkType>sample string 5</d2p1:WorkType>
</d2p1:PromotionPlanDto>
<d2p1:PromotionPlanDto>
<d2p1:AccountID>fd6069ef-5e5f-46cb-aa1d-6e8ee300e8d6</d2p1:AccountID>
<d2p1:AttendanceIn>sample string 3</d2p1:AttendanceIn>
<d2p1:AttendanceOut>sample string 4</d2p1:AttendanceOut>
<d2p1:CanModify>true</d2p1:CanModify>
<d2p1:CustomerID>1f297157-6f1e-407e-b5a1-2779a0932604</d2p1:CustomerID>
<d2p1:CustomerName>sample string 1</d2p1:CustomerName>
<d2p1:IsCrossDay>true</d2p1:IsCrossDay>
<d2p1:PersonID>5fd23fc9-8e38-4813-bb1f-f60c16d52b87</d2p1:PersonID>
<d2p1:PlanDate>2025-12-16T20:19:36.850095+08:00</d2p1:PlanDate>
<d2p1:PromotionFlightID>33dc4772-d938-448a-bc59-9f485aa6d8a2</d2p1:PromotionFlightID>
<d2p1:Remark>sample string 2</d2p1:Remark>
<d2p1:WorkType>sample string 5</d2p1:WorkType>
</d2p1:PromotionPlanDto>
</d2p1:PromotionPlanList>
<d2p1:StartDate>2025-12-16T20:19:36.849085+08:00</d2p1:StartDate>
<d2p1:StatusKey>sample string 1</d2p1:StatusKey>
<d2p1:StatusValue>sample string 2</d2p1:StatusValue>
<d2p1:TID>0edce83c-916e-4ad2-8c0b-ac336409bf21</d2p1:TID>
</Data>
<Message>sample string 1</Message>
</ResultModelOfPromotionPlanCreateDtocLJEwkTE>