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
ResultModelOfPromotionPlanCreateDtoName | 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": "18c24ccb-da4d-4f66-b2d7-ad22c3a6e178", "PersonID": "ee8eecd1-9e2d-4898-9523-039cdbe1ffe5", "AccountID": "94a79a1d-c0b6-44a9-9160-d6bdc50cd012", "StartDate": "2025-07-23 07:33:32", "EndDate": "2025-07-23 07:33:32", "StatusKey": "sample string 1", "StatusValue": "sample string 2", "CanCreate": true, "PromotionPlanList": [ { "CustomerID": "c9a38dc1-7429-4842-ad04-0d2bb8fc7c30", "CustomerName": "sample string 1", "PersonID": "f059bf1e-760c-4c93-8b1c-41067315982c", "AccountID": "f8a2f53d-1d50-4b02-8b71-131a28cdbd8b", "PlanDate": "2025-07-23 07:33:32", "PromotionFlightID": "e183c44c-adb3-4ef7-8838-ed7b411d1d29", "Remark": "sample string 2", "AttendanceIn": "sample string 3", "AttendanceOut": "sample string 4", "WorkType": "sample string 5", "IsCrossDay": true, "CanModify": true }, { "CustomerID": "c9a38dc1-7429-4842-ad04-0d2bb8fc7c30", "CustomerName": "sample string 1", "PersonID": "f059bf1e-760c-4c93-8b1c-41067315982c", "AccountID": "f8a2f53d-1d50-4b02-8b71-131a28cdbd8b", "PlanDate": "2025-07-23 07:33:32", "PromotionFlightID": "e183c44c-adb3-4ef7-8838-ed7b411d1d29", "Remark": "sample string 2", "AttendanceIn": "sample string 3", "AttendanceOut": "sample string 4", "WorkType": "sample string 5", "IsCrossDay": true, "CanModify": true } ], "PromotionFlightTable": [ { "TID": "4f162143-5cf0-41cb-bb70-35b797ad38ff", "FlightDesc": "sample string 1", "WorkType": 1, "AttendanceIn": "sample string 2", "AttendanceOut": "sample string 3" }, { "TID": "4f162143-5cf0-41cb-bb70-35b797ad38ff", "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>94a79a1d-c0b6-44a9-9160-d6bdc50cd012</d2p1:AccountID> <d2p1:AuditLogData i:nil="true" /> <d2p1:CanCreate>true</d2p1:CanCreate> <d2p1:EndDate>2025-07-23T07:33:32.4892793+08:00</d2p1:EndDate> <d2p1:HaveCustomer>true</d2p1:HaveCustomer> <d2p1:PersonID>ee8eecd1-9e2d-4898-9523-039cdbe1ffe5</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>4f162143-5cf0-41cb-bb70-35b797ad38ff</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>4f162143-5cf0-41cb-bb70-35b797ad38ff</d2p1:TID> <d2p1:WorkType>1</d2p1:WorkType> </d2p1:PromotionFlightDto> </d2p1:PromotionFlightTable> <d2p1:PromotionPlanList> <d2p1:PromotionPlanDto> <d2p1:AccountID>f8a2f53d-1d50-4b02-8b71-131a28cdbd8b</d2p1:AccountID> <d2p1:AttendanceIn>sample string 3</d2p1:AttendanceIn> <d2p1:AttendanceOut>sample string 4</d2p1:AttendanceOut> <d2p1:CanModify>true</d2p1:CanModify> <d2p1:CustomerID>c9a38dc1-7429-4842-ad04-0d2bb8fc7c30</d2p1:CustomerID> <d2p1:CustomerName>sample string 1</d2p1:CustomerName> <d2p1:IsCrossDay>true</d2p1:IsCrossDay> <d2p1:PersonID>f059bf1e-760c-4c93-8b1c-41067315982c</d2p1:PersonID> <d2p1:PlanDate>2025-07-23T07:33:32.4892793+08:00</d2p1:PlanDate> <d2p1:PromotionFlightID>e183c44c-adb3-4ef7-8838-ed7b411d1d29</d2p1:PromotionFlightID> <d2p1:Remark>sample string 2</d2p1:Remark> <d2p1:WorkType>sample string 5</d2p1:WorkType> </d2p1:PromotionPlanDto> <d2p1:PromotionPlanDto> <d2p1:AccountID>f8a2f53d-1d50-4b02-8b71-131a28cdbd8b</d2p1:AccountID> <d2p1:AttendanceIn>sample string 3</d2p1:AttendanceIn> <d2p1:AttendanceOut>sample string 4</d2p1:AttendanceOut> <d2p1:CanModify>true</d2p1:CanModify> <d2p1:CustomerID>c9a38dc1-7429-4842-ad04-0d2bb8fc7c30</d2p1:CustomerID> <d2p1:CustomerName>sample string 1</d2p1:CustomerName> <d2p1:IsCrossDay>true</d2p1:IsCrossDay> <d2p1:PersonID>f059bf1e-760c-4c93-8b1c-41067315982c</d2p1:PersonID> <d2p1:PlanDate>2025-07-23T07:33:32.4892793+08:00</d2p1:PlanDate> <d2p1:PromotionFlightID>e183c44c-adb3-4ef7-8838-ed7b411d1d29</d2p1:PromotionFlightID> <d2p1:Remark>sample string 2</d2p1:Remark> <d2p1:WorkType>sample string 5</d2p1:WorkType> </d2p1:PromotionPlanDto> </d2p1:PromotionPlanList> <d2p1:StartDate>2025-07-23T07:33:32.4892793+08:00</d2p1:StartDate> <d2p1:StatusKey>sample string 1</d2p1:StatusKey> <d2p1:StatusValue>sample string 2</d2p1:StatusValue> <d2p1:TID>18c24ccb-da4d-4f66-b2d7-ad22c3a6e178</d2p1:TID> </Data> <Message>sample string 1</Message> </ResultModelOfPromotionPlanCreateDtocLJEwkTE>