POST api/PromotionPlan/SavePromotionPlanWeChat?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}
提交排班计划 微信版
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. |
Body Parameters
PromotionPlanCreateDtoName | Description | Type | Additional 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": "e8c9d80e-9218-4c00-a6be-f6f44c9e9982", "PersonID": "b8b38f76-ff46-4b88-987e-451a11042832", "AccountID": "64eae5b9-4146-4a78-beaa-d757be8f00d8", "StartDate": "2025-07-23 07:36:02", "EndDate": "2025-07-23 07:36:02", "StatusKey": "sample string 1", "StatusValue": "sample string 2", "CanCreate": true, "PromotionPlanList": [ { "CustomerID": "391123c0-d62e-4dba-b5bb-62dc9972aff4", "CustomerName": "sample string 1", "PersonID": "6b50e0f1-3841-4a7e-a24d-4d6f7bf12c17", "AccountID": "3a40fbca-7c6a-4c5b-ac44-c25c156db140", "PlanDate": "2025-07-23 07:36:02", "PromotionFlightID": "b8c7211b-a4cf-4f47-8518-46fafbcae61a", "Remark": "sample string 2", "AttendanceIn": "sample string 3", "AttendanceOut": "sample string 4", "WorkType": "sample string 5", "IsCrossDay": true, "CanModify": true }, { "CustomerID": "391123c0-d62e-4dba-b5bb-62dc9972aff4", "CustomerName": "sample string 1", "PersonID": "6b50e0f1-3841-4a7e-a24d-4d6f7bf12c17", "AccountID": "3a40fbca-7c6a-4c5b-ac44-c25c156db140", "PlanDate": "2025-07-23 07:36:02", "PromotionFlightID": "b8c7211b-a4cf-4f47-8518-46fafbcae61a", "Remark": "sample string 2", "AttendanceIn": "sample string 3", "AttendanceOut": "sample string 4", "WorkType": "sample string 5", "IsCrossDay": true, "CanModify": true } ], "PromotionFlightTable": [ { "TID": "eb7636a4-0acd-403b-8d7c-2c0c0efe75f1", "FlightDesc": "sample string 1", "WorkType": 1, "AttendanceIn": "sample string 2", "AttendanceOut": "sample string 3" }, { "TID": "eb7636a4-0acd-403b-8d7c-2c0c0efe75f1", "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>64eae5b9-4146-4a78-beaa-d757be8f00d8</AccountID> <AuditLogData i:nil="true" /> <CanCreate>true</CanCreate> <EndDate>2025-07-23T07:36:02.6153186+08:00</EndDate> <HaveCustomer>true</HaveCustomer> <PersonID>b8b38f76-ff46-4b88-987e-451a11042832</PersonID> <PromotionFlightTable> <PromotionFlightDto> <AttendanceIn>sample string 2</AttendanceIn> <AttendanceOut>sample string 3</AttendanceOut> <FlightDesc>sample string 1</FlightDesc> <TID>eb7636a4-0acd-403b-8d7c-2c0c0efe75f1</TID> <WorkType>1</WorkType> </PromotionFlightDto> <PromotionFlightDto> <AttendanceIn>sample string 2</AttendanceIn> <AttendanceOut>sample string 3</AttendanceOut> <FlightDesc>sample string 1</FlightDesc> <TID>eb7636a4-0acd-403b-8d7c-2c0c0efe75f1</TID> <WorkType>1</WorkType> </PromotionFlightDto> </PromotionFlightTable> <PromotionPlanList> <PromotionPlanDto> <AccountID>3a40fbca-7c6a-4c5b-ac44-c25c156db140</AccountID> <AttendanceIn>sample string 3</AttendanceIn> <AttendanceOut>sample string 4</AttendanceOut> <CanModify>true</CanModify> <CustomerID>391123c0-d62e-4dba-b5bb-62dc9972aff4</CustomerID> <CustomerName>sample string 1</CustomerName> <IsCrossDay>true</IsCrossDay> <PersonID>6b50e0f1-3841-4a7e-a24d-4d6f7bf12c17</PersonID> <PlanDate>2025-07-23T07:36:02.6153186+08:00</PlanDate> <PromotionFlightID>b8c7211b-a4cf-4f47-8518-46fafbcae61a</PromotionFlightID> <Remark>sample string 2</Remark> <WorkType>sample string 5</WorkType> </PromotionPlanDto> <PromotionPlanDto> <AccountID>3a40fbca-7c6a-4c5b-ac44-c25c156db140</AccountID> <AttendanceIn>sample string 3</AttendanceIn> <AttendanceOut>sample string 4</AttendanceOut> <CanModify>true</CanModify> <CustomerID>391123c0-d62e-4dba-b5bb-62dc9972aff4</CustomerID> <CustomerName>sample string 1</CustomerName> <IsCrossDay>true</IsCrossDay> <PersonID>6b50e0f1-3841-4a7e-a24d-4d6f7bf12c17</PersonID> <PlanDate>2025-07-23T07:36:02.6153186+08:00</PlanDate> <PromotionFlightID>b8c7211b-a4cf-4f47-8518-46fafbcae61a</PromotionFlightID> <Remark>sample string 2</Remark> <WorkType>sample string 5</WorkType> </PromotionPlanDto> </PromotionPlanList> <StartDate>2025-07-23T07:36:02.6153186+08:00</StartDate> <StatusKey>sample string 1</StatusKey> <StatusValue>sample string 2</StatusValue> <TID>e8c9d80e-9218-4c00-a6be-f6f44c9e9982</TID> </PromotionPlanCreateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfBooleanName | Description | Type | Additional 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>