Trendsic Platform Service

<back to all web services

JobEquipmentRequest

The following routes are available for this service:
PUT,OPTIONS/v1/Job/equipment
JobEquipmentRequest Parameters:
NameParameterData TypeRequiredDescription
ProjectIDbodyintNo
JobIDbodyintNo
EquipmentIDbodyintNo
AddRemovebodyintNo
JobResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
JobformList<Job>No
RequiresConfirmformboolNo
Job Parameters:
NameParameterData TypeRequiredDescription
JobIDformintNo
JobNameformstringNo
JobTypeIDformintNo
ExpectedStartDateformDateTimeNo
ActualStartDateformDateTimeNo
ExpectedCompletionDateformDateTimeNo
ActualEndDateformDateTimeNo
ActiveformboolNo
CreatedByUIDformGuidNo
ProjectIDformintNo
StatusIdformintNo
AdvancedSchedulingformboolNo
ShowTimesformboolNo
ScheduleformList<CalendarEvent>No
CalendarEvent Parameters:
NameParameterData TypeRequiredDescription
CalendarEventIdformintNo
CalendarIdformGuidNo
EventStartformDateTimeNo
EventEndformDateTimeNo
LocationformstringNo
SummaryformstringNo
DescriptionformstringNo
EventTypeIdformintNo
RecurrenceformboolNo
RecurrenceFrequencyformstringNo
RecurrenceByformstringNo
RecurrenceByValueformstringNo
RecurrenceUntilformDateTimeNo
CreatedByformstringNo
CreatedByNameformstringNo
DateCreatedformDateTimeNo
ModifiedByformstringNo
DateModifiedformDateTimeNo
DeletedformboolNo
TimeZoneformstringNo
OffsetformintNo
TextReminderSentDateformDateTimeNo
ConfirmedformboolNo
ConfirmationTextIdformstringNo
FirstTextReminderIdformstringNo
SecondTextReminderIdformstringNo
LocationUIDformGuid?No
AgentReminderSentDateformDateTimeNo
ContactIdformintNo
IsPrivateformboolNo
ProjectIDformintNo
JobIDformintNo
ProjectStartDateformDateTimeNo
ProjectEndDateformDateTimeNo
MaxCrewEndDateformDateTimeNo
MaxEquipmentEndDateformDateTimeNo
CheckInIdformGuidNo
AllDayformboolNo
JobNameformstringNo
JobStatusNameformstringNo
JobStatusIdformintNo
ProjectNameformstringNo
ResourceIdformintNo
ResourceNameformstringNo
Original_EventStartformDateTimeNo
Original_RecurrenceformboolNo
Original_RecurrenceFrequencyformstringNo
Original_RecurrenceByformstringNo
Original_RecurrenceByValueformstringNo
Original_RecurrenceUntilformDateTimeNo
ChecksumformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

PUT /v1/Job/equipment HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"ProjectID":0,"JobID":0,"EquipmentID":0,"AddRemove":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Job":[{"JobID":0,"JobName":"String","JobTypeID":0,"ExpectedStartDate":"0001-01-01T00:00:00.0000000","ActualStartDate":"0001-01-01T00:00:00.0000000","ExpectedCompletionDate":"0001-01-01T00:00:00.0000000","ActualEndDate":"0001-01-01T00:00:00.0000000","Active":false,"CreatedByUID":"00000000000000000000000000000000","ProjectID":0,"StatusId":0,"AdvancedScheduling":false,"ShowTimes":false,"Schedule":[{"CalendarEventId":0,"CalendarId":"00000000000000000000000000000000","EventStart":"0001-01-01T00:00:00.0000000","EventEnd":"0001-01-01T00:00:00.0000000","Location":"String","Summary":"String","Description":"String","EventTypeId":0,"Recurrence":false,"RecurrenceFrequency":"String","RecurrenceBy":"String","RecurrenceByValue":"String","RecurrenceUntil":"0001-01-01T00:00:00.0000000","CreatedBy":"String","CreatedByName":"String","DateCreated":"0001-01-01T00:00:00.0000000","ModifiedBy":"String","DateModified":"0001-01-01T00:00:00.0000000","Deleted":false,"TimeZone":"String","Offset":0,"TextReminderSentDate":"0001-01-01T00:00:00.0000000","Confirmed":false,"ConfirmationTextId":"String","FirstTextReminderId":"String","SecondTextReminderId":"String","LocationUID":"00000000000000000000000000000000","AgentReminderSentDate":"0001-01-01T00:00:00.0000000","ContactId":0,"IsPrivate":false,"ProjectID":0,"JobID":0,"ProjectStartDate":"0001-01-01T00:00:00.0000000","ProjectEndDate":"0001-01-01T00:00:00.0000000","MaxCrewEndDate":"0001-01-01T00:00:00.0000000","MaxEquipmentEndDate":"0001-01-01T00:00:00.0000000","CheckInId":"00000000000000000000000000000000","AllDay":false,"JobName":"String","JobStatusName":"String","JobStatusId":0,"ProjectName":"String","ResourceId":0,"ResourceName":"String","Original_EventStart":"0001-01-01T00:00:00.0000000","Original_Recurrence":false,"Original_RecurrenceFrequency":"String","Original_RecurrenceBy":"String","Original_RecurrenceByValue":"String","Original_RecurrenceUntil":"0001-01-01T00:00:00.0000000","Checksum":"String"}]}],"RequiresConfirm":false}