Trendsic Platform Service

<back to all web services

CrewAssignmentsEquipmentRequest

Requires Authentication
The following routes are available for this service:
GET,POST,PUT,DELETE,OPTIONS/v1/CrewAssignments/Equipment/{SelectedDate}
CrewAssignmentsEquipmentRequest Parameters:
NameParameterData TypeRequiredDescription
SelectedDatepathDateTimeNo
ProjectEquipmentbodyList<Equipment>No
Equipment Parameters:
NameParameterData TypeRequiredDescription
EquipmentIDformintNo
EquipmentNameformstringNo
EquipmentTypeIDformshortNo
ManufacturerformstringNo
EquipmentTypeformstringNo
SerialNumberformstringNo
BarCodeformstringNo
EquipmentLocationformstringNo
ImageURLformstringNo
ProductDetailsURLformstringNo
RecordCreatedDateformDateTimeNo
CreatedByUIDformGuidNo
ActiveformboolNo
NotesformstringNo
RateformdecimalNo
BranchIdformGuidNo
BranchNameformstringNo
OwnershipformstringNo
RentalVendorformstringNo
RentalStartformDateTime?No
RentalEndformDateTime?No
ProjectsformList<Project>No
Project Parameters:
NameParameterData TypeRequiredDescription
ProjectIDformintNo
ProjectUIDformGuidNo
ProjectNameformstringNo
ImageURLformstringNo
ImageKeyformstringNo
ClientNameformstringNo
ClientPhoneformstringNo
ClientEmailformstringNo
NotifyCustomerOnVisitCompletionformboolNo
ClientContactIDformint?No
ProjectManagerIDformintNo
ProjectManagerNameformstringNo
StartDateformDateTime?No
EndDateformDateTime?No
ActualStartDateformDateTime?No
ActualEndDateformDateTime?No
JobCountformintNo
CrewMemberCountformintNo
CrewAvatarsJsonformstringNo
CrewNamesSearchformstringNo
EquipmentCountformintNo
MaterialCountformintNo
ProjectStatusIDformshortNo
ProjectStatusDescriptionformstringNo
BudgetformdecimalNo
CostToDateformdecimalNo
ProjectLocationformstringNo
ProjectTypeformstringNo
ProjectSponsorformstringNo
CreatedByformstringNo
CreatedAtformDateTime?No
UpdatedAtformDateTime?No
ProjectDescriptionformstringNo
ScopeformstringNo
StatusIdformintNo
BranchIdformGuidNo
BranchNameformstringNo
LocationformLocationNo
Location Parameters:
NameParameterData TypeRequiredDescription
IdformGuidNo
ClientIdformGuidNo
NameformstringNo
Address1formstringNo
Address2formstringNo
CityformstringNo
StateformstringNo
ZipformstringNo
PhoneformstringNo
FaxformstringNo
URLformstringNo
EmailformstringNo
TimeZoneformstringNo
ActiveformboolNo
EntDateformDateTimeNo
ModDateformDateTimeNo
LocationImageformstringNo
CrewAssignmentsEquipmentResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ProjectEquipmentformList<ProjectEquipment>No
ProjectEquipment Parameters:
NameParameterData TypeRequiredDescription
ProjectEquipmentIDformintNo
ProjectIDformintNo
ProjectEndDateformDateTimeNo
FirstJobUseDateformDateTimeNo
LastJobUseDateformDateTimeNo
EquipmentRateformdecimalNo
JobIDformintNo
BilledEquipmentRateformdecimalNo
StatusformstringNo
SourceformstringNo
OverlapBookingsformintNo
HasBookingConflictformboolNo
ConflictJobsformstringNo

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /v1/CrewAssignments/Equipment/{SelectedDate} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"SelectedDate":"0001-01-01T00:00:00.0000000","ProjectEquipment":[{"EquipmentID":0,"EquipmentName":"String","EquipmentTypeID":0,"Manufacturer":"String","EquipmentType":"String","SerialNumber":"String","BarCode":"String","EquipmentLocation":"String","ImageURL":"String","ProductDetailsURL":"String","RecordCreatedDate":"0001-01-01T00:00:00.0000000","CreatedByUID":"00000000000000000000000000000000","Active":false,"Notes":"String","Rate":0,"BranchId":"00000000000000000000000000000000","BranchName":"String","Ownership":"String","RentalVendor":"String","RentalStart":"0001-01-01T00:00:00.0000000","RentalEnd":"0001-01-01T00:00:00.0000000","Projects":[{"ProjectID":0,"ProjectUID":"00000000000000000000000000000000","ProjectName":"String","ImageURL":"String","ImageKey":"String","ClientName":"String","ClientPhone":"String","ClientEmail":"String","NotifyCustomerOnVisitCompletion":false,"ClientContactID":0,"ProjectManagerID":0,"ProjectManagerName":"String","StartDate":"0001-01-01T00:00:00.0000000","EndDate":"0001-01-01T00:00:00.0000000","ActualStartDate":"0001-01-01T00:00:00.0000000","ActualEndDate":"0001-01-01T00:00:00.0000000","JobCount":0,"CrewMemberCount":0,"CrewAvatarsJson":"String","CrewNamesSearch":"String","EquipmentCount":0,"MaterialCount":0,"ProjectStatusID":0,"ProjectStatusDescription":"String","Budget":0,"CostToDate":0,"ProjectLocation":"String","ProjectType":"String","ProjectSponsor":"String","CreatedBy":"String","CreatedAt":"0001-01-01T00:00:00.0000000","UpdatedAt":"0001-01-01T00:00:00.0000000","ProjectDescription":"String","Scope":"String","StatusId":0,"BranchId":"00000000000000000000000000000000","BranchName":"String","Location":{"Id":"00000000000000000000000000000000","ClientId":"00000000000000000000000000000000","Name":"String","Address1":"String","Address2":"String","City":"String","State":"String","Zip":"String","Phone":"String","Fax":"String","URL":"String","Email":"String","TimeZone":"String","Active":false,"EntDate":"0001-01-01T00:00:00.0000000","ModDate":"0001-01-01T00:00:00.0000000","LocationImage":"String"}}]}]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"ProjectEquipment":[{"ProjectEquipmentID":0,"ProjectID":0,"ProjectEndDate":"0001-01-01T00:00:00.0000000","FirstJobUseDate":"0001-01-01T00:00:00.0000000","LastJobUseDate":"0001-01-01T00:00:00.0000000","EquipmentRate":0,"JobID":0,"BilledEquipmentRate":0,"Status":"String","Source":"String","OverlapBookings":0,"HasBookingConflict":false,"ConflictJobs":"String","EquipmentID":0,"EquipmentName":"String","EquipmentTypeID":0,"Manufacturer":"String","EquipmentType":"String","SerialNumber":"String","BarCode":"String","EquipmentLocation":"String","ImageURL":"String","ProductDetailsURL":"String","RecordCreatedDate":"0001-01-01T00:00:00.0000000","CreatedByUID":"00000000000000000000000000000000","Active":false,"Notes":"String","Rate":0,"BranchId":"00000000000000000000000000000000","BranchName":"String","Ownership":"String","RentalVendor":"String","RentalStart":"0001-01-01T00:00:00.0000000","RentalEnd":"0001-01-01T00:00:00.0000000","Projects":[{"ProjectID":0,"ProjectUID":"00000000000000000000000000000000","ProjectName":"String","ImageURL":"String","ImageKey":"String","ClientName":"String","ClientPhone":"String","ClientEmail":"String","NotifyCustomerOnVisitCompletion":false,"ClientContactID":0,"ProjectManagerID":0,"ProjectManagerName":"String","StartDate":"0001-01-01T00:00:00.0000000","EndDate":"0001-01-01T00:00:00.0000000","ActualStartDate":"0001-01-01T00:00:00.0000000","ActualEndDate":"0001-01-01T00:00:00.0000000","JobCount":0,"CrewMemberCount":0,"CrewAvatarsJson":"String","CrewNamesSearch":"String","EquipmentCount":0,"MaterialCount":0,"ProjectStatusID":0,"ProjectStatusDescription":"String","Budget":0,"CostToDate":0,"ProjectLocation":"String","ProjectType":"String","ProjectSponsor":"String","CreatedBy":"String","CreatedAt":"0001-01-01T00:00:00.0000000","UpdatedAt":"0001-01-01T00:00:00.0000000","ProjectDescription":"String","Scope":"String","StatusId":0,"BranchId":"00000000000000000000000000000000","BranchName":"String","Location":{"Id":"00000000000000000000000000000000","ClientId":"00000000000000000000000000000000","Name":"String","Address1":"String","Address2":"String","City":"String","State":"String","Zip":"String","Phone":"String","Fax":"String","URL":"String","Email":"String","TimeZone":"String","Active":false,"EntDate":"0001-01-01T00:00:00.0000000","ModDate":"0001-01-01T00:00:00.0000000","LocationImage":"String"}}]}]}