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
PromotionPlanCreateDto| Name | 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": "3d035b28-3be6-443b-8c6e-bbab4e0c2666",
"PersonID": "d07e1616-ad9a-4de8-b802-d1772f865a23",
"AccountID": "7fbdc2b8-a8b9-4e61-b4ca-71ac0db1256a",
"StartDate": "2025-12-17 05:52:55",
"EndDate": "2025-12-17 05:52:55",
"StatusKey": "sample string 1",
"StatusValue": "sample string 2",
"CanCreate": true,
"PromotionPlanList": [
{
"CustomerID": "ebb2f3ef-162e-4b98-b9ec-81f8ceab6502",
"CustomerName": "sample string 1",
"PersonID": "0e57b468-a0a5-4cde-8c42-b094bbaf3e70",
"AccountID": "0737b394-b55d-48ba-9ea9-ef05f2b655f9",
"PlanDate": "2025-12-17 05:52:55",
"PromotionFlightID": "32d2822b-0821-4fae-861d-28560a57953a",
"Remark": "sample string 2",
"AttendanceIn": "sample string 3",
"AttendanceOut": "sample string 4",
"WorkType": "sample string 5",
"IsCrossDay": true,
"CanModify": true
},
{
"CustomerID": "ebb2f3ef-162e-4b98-b9ec-81f8ceab6502",
"CustomerName": "sample string 1",
"PersonID": "0e57b468-a0a5-4cde-8c42-b094bbaf3e70",
"AccountID": "0737b394-b55d-48ba-9ea9-ef05f2b655f9",
"PlanDate": "2025-12-17 05:52:55",
"PromotionFlightID": "32d2822b-0821-4fae-861d-28560a57953a",
"Remark": "sample string 2",
"AttendanceIn": "sample string 3",
"AttendanceOut": "sample string 4",
"WorkType": "sample string 5",
"IsCrossDay": true,
"CanModify": true
}
],
"PromotionFlightTable": [
{
"TID": "a4992cc0-b569-4fcf-957f-0c7617d06a73",
"FlightDesc": "sample string 1",
"WorkType": 1,
"AttendanceIn": "sample string 2",
"AttendanceOut": "sample string 3"
},
{
"TID": "a4992cc0-b569-4fcf-957f-0c7617d06a73",
"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>7fbdc2b8-a8b9-4e61-b4ca-71ac0db1256a</AccountID>
<AuditLogData i:nil="true" />
<CanCreate>true</CanCreate>
<EndDate>2025-12-17T05:52:55.4088695+08:00</EndDate>
<HaveCustomer>true</HaveCustomer>
<PersonID>d07e1616-ad9a-4de8-b802-d1772f865a23</PersonID>
<PromotionFlightTable>
<PromotionFlightDto>
<AttendanceIn>sample string 2</AttendanceIn>
<AttendanceOut>sample string 3</AttendanceOut>
<FlightDesc>sample string 1</FlightDesc>
<TID>a4992cc0-b569-4fcf-957f-0c7617d06a73</TID>
<WorkType>1</WorkType>
</PromotionFlightDto>
<PromotionFlightDto>
<AttendanceIn>sample string 2</AttendanceIn>
<AttendanceOut>sample string 3</AttendanceOut>
<FlightDesc>sample string 1</FlightDesc>
<TID>a4992cc0-b569-4fcf-957f-0c7617d06a73</TID>
<WorkType>1</WorkType>
</PromotionFlightDto>
</PromotionFlightTable>
<PromotionPlanList>
<PromotionPlanDto>
<AccountID>0737b394-b55d-48ba-9ea9-ef05f2b655f9</AccountID>
<AttendanceIn>sample string 3</AttendanceIn>
<AttendanceOut>sample string 4</AttendanceOut>
<CanModify>true</CanModify>
<CustomerID>ebb2f3ef-162e-4b98-b9ec-81f8ceab6502</CustomerID>
<CustomerName>sample string 1</CustomerName>
<IsCrossDay>true</IsCrossDay>
<PersonID>0e57b468-a0a5-4cde-8c42-b094bbaf3e70</PersonID>
<PlanDate>2025-12-17T05:52:55.4088695+08:00</PlanDate>
<PromotionFlightID>32d2822b-0821-4fae-861d-28560a57953a</PromotionFlightID>
<Remark>sample string 2</Remark>
<WorkType>sample string 5</WorkType>
</PromotionPlanDto>
<PromotionPlanDto>
<AccountID>0737b394-b55d-48ba-9ea9-ef05f2b655f9</AccountID>
<AttendanceIn>sample string 3</AttendanceIn>
<AttendanceOut>sample string 4</AttendanceOut>
<CanModify>true</CanModify>
<CustomerID>ebb2f3ef-162e-4b98-b9ec-81f8ceab6502</CustomerID>
<CustomerName>sample string 1</CustomerName>
<IsCrossDay>true</IsCrossDay>
<PersonID>0e57b468-a0a5-4cde-8c42-b094bbaf3e70</PersonID>
<PlanDate>2025-12-17T05:52:55.4088695+08:00</PlanDate>
<PromotionFlightID>32d2822b-0821-4fae-861d-28560a57953a</PromotionFlightID>
<Remark>sample string 2</Remark>
<WorkType>sample string 5</WorkType>
</PromotionPlanDto>
</PromotionPlanList>
<StartDate>2025-12-17T05:52:55.4088695+08:00</StartDate>
<StatusKey>sample string 1</StatusKey>
<StatusValue>sample string 2</StatusValue>
<TID>3d035b28-3be6-443b-8c6e-bbab4e0c2666</TID>
</PromotionPlanCreateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfBoolean| Name | 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>