POST api/OnTheGo/Jobs/UpdateTicket
Request Information
URI Parameters
None.
Body Parameters
TicketInfoName | Description | Type | Additional information |
---|---|---|---|
JobID | integer |
None. |
|
LeftYardAt | date |
None. |
|
ArrivedAt | date |
None. |
|
ReadyAt | date |
None. |
|
StartedAt | date |
None. |
|
FinishedAt | date |
None. |
|
LeftJobAt | date |
None. |
|
ReturnedAt | date |
None. |
|
UtcLeftYardAt | date |
None. |
|
UtcArrivedAt | date |
None. |
|
UtcReadyAt | date |
None. |
|
UtcStartedAt | date |
None. |
|
UtcFinishedAt | date |
None. |
|
UtcLeftJobAt | date |
None. |
|
UtcReturnedAt | date |
None. |
|
JobVolume | decimal number |
None. |
|
AreaLoads | decimal number |
None. |
|
LeftYardMileage | decimal number |
None. |
|
ArrivedMileage | decimal number |
None. |
|
LeftJobMileage | decimal number |
None. |
|
ReturnedMileage | decimal number |
None. |
|
JobStartEngineHours | decimal number |
None. |
|
JobFinishEngineHours | decimal number |
None. |
|
FuelUsed | decimal number |
None. |
|
Oil | decimal number |
None. |
|
Slurry | string |
None. |
|
Radios | string |
None. |
|
SystemLeft | string |
None. |
|
Comments | string |
None. |
|
PreventCrewUpdate | boolean |
None. |
|
IsLocked | boolean |
None. |
|
UTCTicketUpdatedOn | date |
None. |
|
TotalJobHours | decimal number |
None. |
|
PreJobSignature | string |
None. |
|
PostJobSignature | string |
None. |
|
PreJobSignatureJSON | SignatureObject |
None. |
|
PostJobSignatureJSON | SignatureObject |
None. |
|
JobSuper | string |
None. |
|
AuthBy | string |
None. |
|
NotifyRecepients | string |
None. |
|
Lineitems | Dictionary of integer [key] and decimal number [value] |
None. |
|
CheckList | CheckList |
None. |
|
DVIRPreTrip | DvirLog |
None. |
|
DVIRPostTrip | DvirLog |
None. |
|
LeaveYardTruckHours | decimal number |
None. |
|
ReturnTruckHours | decimal number |
None. |
|
JobsiteHours | decimal number |
None. |
|
TravelHours | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "JobID": 1, "LeftYardAt": "2025-05-02T12:07:27.66Z", "ArrivedAt": "2025-05-02T12:07:27.66Z", "ReadyAt": "2025-05-02T12:07:27.66Z", "StartedAt": "2025-05-02T12:07:27.66Z", "FinishedAt": "2025-05-02T12:07:27.66Z", "LeftJobAt": "2025-05-02T12:07:27.66Z", "ReturnedAt": "2025-05-02T12:07:27.66Z", "UtcLeftYardAt": "2025-05-02T12:07:27.66Z", "UtcArrivedAt": "2025-05-02T12:07:27.66Z", "UtcReadyAt": "2025-05-02T12:07:27.66Z", "UtcStartedAt": "2025-05-02T12:07:27.66Z", "UtcFinishedAt": "2025-05-02T12:07:27.66Z", "UtcLeftJobAt": "2025-05-02T12:07:27.66Z", "UtcReturnedAt": "2025-05-02T12:07:27.66Z", "JobVolume": 1.0, "AreaLoads": 1.0, "LeftYardMileage": 1.0, "ArrivedMileage": 1.0, "LeftJobMileage": 1.0, "ReturnedMileage": 1.0, "JobStartEngineHours": 1.0, "JobFinishEngineHours": 1.0, "FuelUsed": 1.0, "Oil": 1.0, "Slurry": "sample string 2", "Radios": "sample string 3", "SystemLeft": "sample string 4", "Comments": "sample string 5", "PreventCrewUpdate": true, "IsLocked": true, "UTCTicketUpdatedOn": "2025-05-02T12:07:27.66Z", "TotalJobHours": 9.0, "PreJobSignature": "sample string 10", "PostJobSignature": "sample string 11", "PreJobSignatureJSON": { "Signature": "sample string 1", "UTCSignedOn": "2025-05-02T12:07:27.66Z", "Disclaimer": "sample string 2" }, "PostJobSignatureJSON": { "Signature": "sample string 1", "UTCSignedOn": "2025-05-02T12:07:27.66Z", "Disclaimer": "sample string 2" }, "JobSuper": "sample string 12", "AuthBy": "sample string 13", "NotifyRecepients": "sample string 14", "Lineitems": { "1": 2.0, "3": 4.0 }, "CheckList": { "CheckListID": 1, "UTCCompletedOn": "2025-05-02T12:07:27.66Z", "GPSLat": 1.0, "GPSLong": 1.0, "Comments": "sample string 2", "Signature": "sample string 3", "CheckListItems": [ { "ItemID": 1, "Title": "sample string 2", "Description": "sample string 3", "Type": "sample string 4", "IsRequired": true, "SortOrder": 6, "UTCCompletedOn": "2025-05-02T12:07:27.66Z", "GPSLat": 1.0, "GPSLong": 1.0, "Choices": [ { "ChoiceID": 1, "ChoiceName": "sample string 1", "IsSelected": true }, { "ChoiceID": 1, "ChoiceName": "sample string 1", "IsSelected": true } ], "Choice": { "ChoiceID": 1, "ChoiceName": "sample string 1", "IsSelected": true }, "AllowMultipleAnswers": true }, { "ItemID": 1, "Title": "sample string 2", "Description": "sample string 3", "Type": "sample string 4", "IsRequired": true, "SortOrder": 6, "UTCCompletedOn": "2025-05-02T12:07:27.66Z", "GPSLat": 1.0, "GPSLong": 1.0, "Choices": [ { "ChoiceID": 1, "ChoiceName": "sample string 1", "IsSelected": true }, { "ChoiceID": 1, "ChoiceName": "sample string 1", "IsSelected": true } ], "Choice": { "ChoiceID": 1, "ChoiceName": "sample string 1", "IsSelected": true }, "AllowMultipleAnswers": true } ] }, "DVIRPreTrip": { "DVIRID": 1, "UTCDateCertify": "2025-05-02T12:07:27.66Z", "StatusID": 2, "Status": "sample string 3" }, "DVIRPostTrip": { "DVIRID": 1, "UTCDateCertify": "2025-05-02T12:07:27.66Z", "StatusID": 2, "Status": "sample string 3" }, "LeaveYardTruckHours": 1.0, "ReturnTruckHours": 1.0, "JobsiteHours": 1.0, "TravelHours": 1.0 }
application/xml, text/xml
Sample:
<JobsModel.TicketInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/appsvc.rapidappsinc.com.Areas.OnTheGo.Models"> <AreaLoads>1</AreaLoads> <ArrivedAt>2025-05-02T12:07:27.6602923+00:00</ArrivedAt> <ArrivedMileage>1</ArrivedMileage> <AuthBy>sample string 13</AuthBy> <CheckList> <CheckListID>1</CheckListID> <CheckListItems> <JobsModel.CheckListItem> <AllowMultipleAnswers>true</AllowMultipleAnswers> <Choice> <ChoiceID>1</ChoiceID> <ChoiceName>sample string 1</ChoiceName> <IsSelected>true</IsSelected> </Choice> <Choices> <JobsModel.ChecklistItemChoice> <ChoiceID>1</ChoiceID> <ChoiceName>sample string 1</ChoiceName> <IsSelected>true</IsSelected> </JobsModel.ChecklistItemChoice> <JobsModel.ChecklistItemChoice> <ChoiceID>1</ChoiceID> <ChoiceName>sample string 1</ChoiceName> <IsSelected>true</IsSelected> </JobsModel.ChecklistItemChoice> </Choices> <Description>sample string 3</Description> <GPSLat>1</GPSLat> <GPSLong>1</GPSLong> <IsRequired>true</IsRequired> <ItemID>1</ItemID> <SortOrder>6</SortOrder> <Title>sample string 2</Title> <Type>sample string 4</Type> <UTCCompletedOn>2025-05-02T12:07:27.6602923+00:00</UTCCompletedOn> </JobsModel.CheckListItem> <JobsModel.CheckListItem> <AllowMultipleAnswers>true</AllowMultipleAnswers> <Choice> <ChoiceID>1</ChoiceID> <ChoiceName>sample string 1</ChoiceName> <IsSelected>true</IsSelected> </Choice> <Choices> <JobsModel.ChecklistItemChoice> <ChoiceID>1</ChoiceID> <ChoiceName>sample string 1</ChoiceName> <IsSelected>true</IsSelected> </JobsModel.ChecklistItemChoice> <JobsModel.ChecklistItemChoice> <ChoiceID>1</ChoiceID> <ChoiceName>sample string 1</ChoiceName> <IsSelected>true</IsSelected> </JobsModel.ChecklistItemChoice> </Choices> <Description>sample string 3</Description> <GPSLat>1</GPSLat> <GPSLong>1</GPSLong> <IsRequired>true</IsRequired> <ItemID>1</ItemID> <SortOrder>6</SortOrder> <Title>sample string 2</Title> <Type>sample string 4</Type> <UTCCompletedOn>2025-05-02T12:07:27.6602923+00:00</UTCCompletedOn> </JobsModel.CheckListItem> </CheckListItems> <Comments>sample string 2</Comments> <GPSLat>1</GPSLat> <GPSLong>1</GPSLong> <Signature>sample string 3</Signature> <UTCCompletedOn>2025-05-02T12:07:27.6602923+00:00</UTCCompletedOn> </CheckList> <Comments>sample string 5</Comments> <DVIRPostTrip> <DVIRID>1</DVIRID> <Status>sample string 3</Status> <StatusID>2</StatusID> <UTCDateCertify>2025-05-02T12:07:27.6602923+00:00</UTCDateCertify> </DVIRPostTrip> <DVIRPreTrip> <DVIRID>1</DVIRID> <Status>sample string 3</Status> <StatusID>2</StatusID> <UTCDateCertify>2025-05-02T12:07:27.6602923+00:00</UTCDateCertify> </DVIRPreTrip> <FinishedAt>2025-05-02T12:07:27.6602923+00:00</FinishedAt> <FuelUsed>1</FuelUsed> <IsLocked>true</IsLocked> <JobFinishEngineHours>1</JobFinishEngineHours> <JobID>1</JobID> <JobStartEngineHours>1</JobStartEngineHours> <JobSuper>sample string 12</JobSuper> <JobVolume>1</JobVolume> <JobsiteHours>1</JobsiteHours> <LeaveYardTruckHours>1</LeaveYardTruckHours> <LeftJobAt>2025-05-02T12:07:27.6602923+00:00</LeftJobAt> <LeftJobMileage>1</LeftJobMileage> <LeftYardAt>2025-05-02T12:07:27.6602923+00:00</LeftYardAt> <LeftYardMileage>1</LeftYardMileage> <Lineitems xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfintdecimal> <d2p1:Key>1</d2p1:Key> <d2p1:Value>2</d2p1:Value> </d2p1:KeyValueOfintdecimal> <d2p1:KeyValueOfintdecimal> <d2p1:Key>3</d2p1:Key> <d2p1:Value>4</d2p1:Value> </d2p1:KeyValueOfintdecimal> </Lineitems> <NotifyRecepients>sample string 14</NotifyRecepients> <Oil>1</Oil> <PostJobSignature>sample string 11</PostJobSignature> <PostJobSignatureJSON> <Disclaimer>sample string 2</Disclaimer> <Signature>sample string 1</Signature> <UTCSignedOn>2025-05-02T12:07:27.6602923+00:00</UTCSignedOn> </PostJobSignatureJSON> <PreJobSignature>sample string 10</PreJobSignature> <PreJobSignatureJSON> <Disclaimer>sample string 2</Disclaimer> <Signature>sample string 1</Signature> <UTCSignedOn>2025-05-02T12:07:27.6602923+00:00</UTCSignedOn> </PreJobSignatureJSON> <PreventCrewUpdate>true</PreventCrewUpdate> <Radios>sample string 3</Radios> <ReadyAt>2025-05-02T12:07:27.6602923+00:00</ReadyAt> <ReturnTruckHours>1</ReturnTruckHours> <ReturnedAt>2025-05-02T12:07:27.6602923+00:00</ReturnedAt> <ReturnedMileage>1</ReturnedMileage> <Slurry>sample string 2</Slurry> <StartedAt>2025-05-02T12:07:27.6602923+00:00</StartedAt> <SystemLeft>sample string 4</SystemLeft> <TotalJobHours>9</TotalJobHours> <TravelHours>1</TravelHours> <UTCTicketUpdatedOn>2025-05-02T12:07:27.6602923+00:00</UTCTicketUpdatedOn> <UtcArrivedAt>2025-05-02T12:07:27.6602923+00:00</UtcArrivedAt> <UtcFinishedAt>2025-05-02T12:07:27.6602923+00:00</UtcFinishedAt> <UtcLeftJobAt>2025-05-02T12:07:27.6602923+00:00</UtcLeftJobAt> <UtcLeftYardAt>2025-05-02T12:07:27.6602923+00:00</UtcLeftYardAt> <UtcReadyAt>2025-05-02T12:07:27.6602923+00:00</UtcReadyAt> <UtcReturnedAt>2025-05-02T12:07:27.6602923+00:00</UtcReturnedAt> <UtcStartedAt>2025-05-02T12:07:27.6602923+00:00</UtcStartedAt> </JobsModel.TicketInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.