POST api/PromotionPlan/GetPromotionPlanByButton?weeks={weeks}

获取指定周排班计划 默认是一天排班N个门店

Request Information

URI Parameters

NameDescriptionTypeAdditional information
weeks

以本周开始的第几周

integer

Required

Body Parameters

None.

Response Information

Resource Description

ResultModelOfPromotionPlanCreateDto
NameDescriptionTypeAdditional 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": "22a01c46-00cb-44d7-bdea-5bf6dabc0dc4",
    "PersonID": "631f08aa-8ae3-4107-a36c-54f386e93299",
    "AccountID": "0f4c70c0-bad5-40a7-9c54-c20d853d22db",
    "StartDate": "2025-06-23 21:27:31",
    "EndDate": "2025-06-23 21:27:31",
    "StatusKey": "sample string 1",
    "StatusValue": "sample string 2",
    "CanCreate": true,
    "PromotionPlanList": [
      {
        "CustomerID": "edebe5e4-c484-4d41-add3-e8ba33cc86ed",
        "CustomerName": "sample string 1",
        "PersonID": "0dbbd94c-8bda-41c1-9c06-2591e4690ce1",
        "AccountID": "1a52b1f5-b29a-4df3-9206-c58438532a61",
        "PlanDate": "2025-06-23 21:27:31",
        "PromotionFlightID": "f4476a22-2844-4cc6-b7d9-026103d10529",
        "Remark": "sample string 2",
        "AttendanceIn": "sample string 3",
        "AttendanceOut": "sample string 4",
        "WorkType": "sample string 5",
        "IsCrossDay": true,
        "CanModify": true
      },
      {
        "CustomerID": "edebe5e4-c484-4d41-add3-e8ba33cc86ed",
        "CustomerName": "sample string 1",
        "PersonID": "0dbbd94c-8bda-41c1-9c06-2591e4690ce1",
        "AccountID": "1a52b1f5-b29a-4df3-9206-c58438532a61",
        "PlanDate": "2025-06-23 21:27:31",
        "PromotionFlightID": "f4476a22-2844-4cc6-b7d9-026103d10529",
        "Remark": "sample string 2",
        "AttendanceIn": "sample string 3",
        "AttendanceOut": "sample string 4",
        "WorkType": "sample string 5",
        "IsCrossDay": true,
        "CanModify": true
      }
    ],
    "PromotionFlightTable": [
      {
        "TID": "e2b67ba7-6b7a-4760-a682-af2ad55edcf5",
        "FlightDesc": "sample string 1",
        "WorkType": 1,
        "AttendanceIn": "sample string 2",
        "AttendanceOut": "sample string 3"
      },
      {
        "TID": "e2b67ba7-6b7a-4760-a682-af2ad55edcf5",
        "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>0f4c70c0-bad5-40a7-9c54-c20d853d22db</d2p1:AccountID>
    <d2p1:AuditLogData i:nil="true" />
    <d2p1:CanCreate>true</d2p1:CanCreate>
    <d2p1:EndDate>2025-06-23T21:27:31.1253655+08:00</d2p1:EndDate>
    <d2p1:HaveCustomer>true</d2p1:HaveCustomer>
    <d2p1:PersonID>631f08aa-8ae3-4107-a36c-54f386e93299</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>e2b67ba7-6b7a-4760-a682-af2ad55edcf5</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>e2b67ba7-6b7a-4760-a682-af2ad55edcf5</d2p1:TID>
        <d2p1:WorkType>1</d2p1:WorkType>
      </d2p1:PromotionFlightDto>
    </d2p1:PromotionFlightTable>
    <d2p1:PromotionPlanList>
      <d2p1:PromotionPlanDto>
        <d2p1:AccountID>1a52b1f5-b29a-4df3-9206-c58438532a61</d2p1:AccountID>
        <d2p1:AttendanceIn>sample string 3</d2p1:AttendanceIn>
        <d2p1:AttendanceOut>sample string 4</d2p1:AttendanceOut>
        <d2p1:CanModify>true</d2p1:CanModify>
        <d2p1:CustomerID>edebe5e4-c484-4d41-add3-e8ba33cc86ed</d2p1:CustomerID>
        <d2p1:CustomerName>sample string 1</d2p1:CustomerName>
        <d2p1:IsCrossDay>true</d2p1:IsCrossDay>
        <d2p1:PersonID>0dbbd94c-8bda-41c1-9c06-2591e4690ce1</d2p1:PersonID>
        <d2p1:PlanDate>2025-06-23T21:27:31.1253655+08:00</d2p1:PlanDate>
        <d2p1:PromotionFlightID>f4476a22-2844-4cc6-b7d9-026103d10529</d2p1:PromotionFlightID>
        <d2p1:Remark>sample string 2</d2p1:Remark>
        <d2p1:WorkType>sample string 5</d2p1:WorkType>
      </d2p1:PromotionPlanDto>
      <d2p1:PromotionPlanDto>
        <d2p1:AccountID>1a52b1f5-b29a-4df3-9206-c58438532a61</d2p1:AccountID>
        <d2p1:AttendanceIn>sample string 3</d2p1:AttendanceIn>
        <d2p1:AttendanceOut>sample string 4</d2p1:AttendanceOut>
        <d2p1:CanModify>true</d2p1:CanModify>
        <d2p1:CustomerID>edebe5e4-c484-4d41-add3-e8ba33cc86ed</d2p1:CustomerID>
        <d2p1:CustomerName>sample string 1</d2p1:CustomerName>
        <d2p1:IsCrossDay>true</d2p1:IsCrossDay>
        <d2p1:PersonID>0dbbd94c-8bda-41c1-9c06-2591e4690ce1</d2p1:PersonID>
        <d2p1:PlanDate>2025-06-23T21:27:31.1253655+08:00</d2p1:PlanDate>
        <d2p1:PromotionFlightID>f4476a22-2844-4cc6-b7d9-026103d10529</d2p1:PromotionFlightID>
        <d2p1:Remark>sample string 2</d2p1:Remark>
        <d2p1:WorkType>sample string 5</d2p1:WorkType>
      </d2p1:PromotionPlanDto>
    </d2p1:PromotionPlanList>
    <d2p1:StartDate>2025-06-23T21:27:31.1253655+08:00</d2p1:StartDate>
    <d2p1:StatusKey>sample string 1</d2p1:StatusKey>
    <d2p1:StatusValue>sample string 2</d2p1:StatusValue>
    <d2p1:TID>22a01c46-00cb-44d7-bdea-5bf6dabc0dc4</d2p1:TID>
  </Data>
  <Message>sample string 1</Message>
</ResultModelOfPromotionPlanCreateDtocLJEwkTE>