POST api/dispatchorder/{orgKey}/{dispatchOrderKey}/changedostate
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| orgKey | integer |
Required |
|
| dispatchOrderKey | integer |
Required |
Body Parameters
DispatchOrders| Name | Description | Type | Additional information |
|---|---|---|---|
| DispatchOrderKey | integer |
None. |
|
| TaskKey | integer |
None. |
|
| Organization | OrganizationModel |
None. |
|
| CustomerAccount | CustomerAccounts |
None. |
|
| Branch | BranchModel |
None. |
|
| SellingBranch | BranchModel |
None. |
|
| CustomerJobNumber | string |
None. |
|
| DispatchOrderDurationUnit | string |
None. |
|
| DispatchOrderSponsorName | string |
None. |
|
| DispatchOrderEndDate | date |
None. |
|
| DispatchOrderStartDate | date |
None. |
|
| DispatchOrderDuration | integer |
None. |
|
| DispatchOrderIncludeWeekends | boolean |
None. |
|
| DispatchOrderDescriptionOfWork | string |
None. |
|
| DispatchOrderDispatchNotes | string |
None. |
|
| DispatchOrderStartType | string |
None. |
|
| RentalTypeKey | byte |
None. |
|
| DispatchOrderNumber | string |
None. |
|
| OrderStatus | OrderStatus |
None. |
|
| SalesOrder | SalesOrder |
None. |
|
| RentalType | RentalTypes |
None. |
|
| DispatchOrderJobSiteAddress | DispatchOrderJobSiteAddress |
None. |
|
| DispatchOrderLines | Collection of DispatchOrderLines |
None. |
|
| DispatchOrderLineModel | Collection of DispatchOrderLineModel |
None. |
|
| DispatchOrderCalendarTags | Collection of DispatchOrderCalendarTag |
None. |
|
| Project | Project |
None. |
|
| JobSiteAddress | JobSiteAddress |
None. |
|
| DispatchStates | DispatchStates |
None. |
|
| OrderStates | OrderStates |
None. |
|
| DispatchOrderJobConfirmFlag | boolean |
None. |
|
| DispatchOrderLineUpdateConfirmFlag | boolean |
None. |
|
| DispatchOrderJobCompleteDate | date |
None. |
|
| DispatchOrderStartTime | time interval |
None. |
|
| DispatchOrderEndTime | time interval |
None. |
|
| DispatchOrderGearList | string |
None. |
|
| DispatchOrderRadioFlag | boolean |
None. |
|
| DispatchOrderPONumber | string |
None. |
|
| DispatchOrderPaymentMethod | string |
None. |
|
| DispatchBranchKey | BranchModel |
None. |
|
| DispatchOrderReportToName | string |
None. |
|
| DispatchOrderJobSitePhone | string |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PageViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| StatusCode | integer |
None. |
|
| StatusMessage | string |
None. |
|
| TotalCount | integer |
None. |
|
| ModelObject | Object |
None. |
|
| CurrentDateTime | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"statusCode": 1,
"statusMessage": "sample string 2",
"totalCount": 3,
"modelObject": {},
"currentDateTime": "2026-01-30T01:01:49.2831143+00:00"
}