POST api/PromotionPlan/GetPromotionPlanByButton?weeks={weeks}
获取指定周排班计划 默认是一天排班N个门店
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
weeks |
以本周开始的第几周 |
integer |
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": "f559dd4c-ed4c-4c12-a829-8ac56a86f2c1", "PersonID": "1960afc1-3eda-4e24-a6d7-37e2d9fe4aec", "AccountID": "77759f97-22bd-4ba0-a0ef-cd254fe07207", "StartDate": "2025-07-23 07:29:31", "EndDate": "2025-07-23 07:29:31", "StatusKey": "sample string 1", "StatusValue": "sample string 2", "CanCreate": true, "PromotionPlanList": [ { "CustomerID": "2c67653f-faad-4e1a-9e25-1821fc53dbce", "CustomerName": "sample string 1", "PersonID": "5e533a5f-c9d3-4d36-b3b1-a7330a337c58", "AccountID": "9f3884ad-eb84-4d68-a0cd-96061054bfee", "PlanDate": "2025-07-23 07:29:31", "PromotionFlightID": "72de8587-82ce-4141-bf64-6283768b04f9", "Remark": "sample string 2", "AttendanceIn": "sample string 3", "AttendanceOut": "sample string 4", "WorkType": "sample string 5", "IsCrossDay": true, "CanModify": true }, { "CustomerID": "2c67653f-faad-4e1a-9e25-1821fc53dbce", "CustomerName": "sample string 1", "PersonID": "5e533a5f-c9d3-4d36-b3b1-a7330a337c58", "AccountID": "9f3884ad-eb84-4d68-a0cd-96061054bfee", "PlanDate": "2025-07-23 07:29:31", "PromotionFlightID": "72de8587-82ce-4141-bf64-6283768b04f9", "Remark": "sample string 2", "AttendanceIn": "sample string 3", "AttendanceOut": "sample string 4", "WorkType": "sample string 5", "IsCrossDay": true, "CanModify": true } ], "PromotionFlightTable": [ { "TID": "88ed6a76-5606-4864-9a73-bcc5f9ed4189", "FlightDesc": "sample string 1", "WorkType": 1, "AttendanceIn": "sample string 2", "AttendanceOut": "sample string 3" }, { "TID": "88ed6a76-5606-4864-9a73-bcc5f9ed4189", "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>77759f97-22bd-4ba0-a0ef-cd254fe07207</d2p1:AccountID> <d2p1:AuditLogData i:nil="true" /> <d2p1:CanCreate>true</d2p1:CanCreate> <d2p1:EndDate>2025-07-23T07:29:31.1858894+08:00</d2p1:EndDate> <d2p1:HaveCustomer>true</d2p1:HaveCustomer> <d2p1:PersonID>1960afc1-3eda-4e24-a6d7-37e2d9fe4aec</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>88ed6a76-5606-4864-9a73-bcc5f9ed4189</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>88ed6a76-5606-4864-9a73-bcc5f9ed4189</d2p1:TID> <d2p1:WorkType>1</d2p1:WorkType> </d2p1:PromotionFlightDto> </d2p1:PromotionFlightTable> <d2p1:PromotionPlanList> <d2p1:PromotionPlanDto> <d2p1:AccountID>9f3884ad-eb84-4d68-a0cd-96061054bfee</d2p1:AccountID> <d2p1:AttendanceIn>sample string 3</d2p1:AttendanceIn> <d2p1:AttendanceOut>sample string 4</d2p1:AttendanceOut> <d2p1:CanModify>true</d2p1:CanModify> <d2p1:CustomerID>2c67653f-faad-4e1a-9e25-1821fc53dbce</d2p1:CustomerID> <d2p1:CustomerName>sample string 1</d2p1:CustomerName> <d2p1:IsCrossDay>true</d2p1:IsCrossDay> <d2p1:PersonID>5e533a5f-c9d3-4d36-b3b1-a7330a337c58</d2p1:PersonID> <d2p1:PlanDate>2025-07-23T07:29:31.1858894+08:00</d2p1:PlanDate> <d2p1:PromotionFlightID>72de8587-82ce-4141-bf64-6283768b04f9</d2p1:PromotionFlightID> <d2p1:Remark>sample string 2</d2p1:Remark> <d2p1:WorkType>sample string 5</d2p1:WorkType> </d2p1:PromotionPlanDto> <d2p1:PromotionPlanDto> <d2p1:AccountID>9f3884ad-eb84-4d68-a0cd-96061054bfee</d2p1:AccountID> <d2p1:AttendanceIn>sample string 3</d2p1:AttendanceIn> <d2p1:AttendanceOut>sample string 4</d2p1:AttendanceOut> <d2p1:CanModify>true</d2p1:CanModify> <d2p1:CustomerID>2c67653f-faad-4e1a-9e25-1821fc53dbce</d2p1:CustomerID> <d2p1:CustomerName>sample string 1</d2p1:CustomerName> <d2p1:IsCrossDay>true</d2p1:IsCrossDay> <d2p1:PersonID>5e533a5f-c9d3-4d36-b3b1-a7330a337c58</d2p1:PersonID> <d2p1:PlanDate>2025-07-23T07:29:31.1858894+08:00</d2p1:PlanDate> <d2p1:PromotionFlightID>72de8587-82ce-4141-bf64-6283768b04f9</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:29:31.1858894+08:00</d2p1:StartDate> <d2p1:StatusKey>sample string 1</d2p1:StatusKey> <d2p1:StatusValue>sample string 2</d2p1:StatusValue> <d2p1:TID>f559dd4c-ed4c-4c12-a829-8ac56a86f2c1</d2p1:TID> </Data> <Message>sample string 1</Message> </ResultModelOfPromotionPlanCreateDtocLJEwkTE>