Labor Module

Labors

GET Labors

Returns a list of ALL Labor Locations. Can be filtered with an OData style query string.

GET Labors/{laborPK}

Returns the Labor with the specified PK value.

Parameters
  • laborPK (FromUri): The PK value of the requested Labor.

POST Labors

Creates one or more Labors in the system with the details specified in the request body.

Parameters
  • newLabor (FromBody): An Array of Labors to be created.

POST Labors/{laborPK}

Populate Labor with Photo jpg file.

Parameters
  • laborPK (FromUri): The PK value of the Labor record to be updated.

PUT Labors/{laborPK}

Updates the specified Labor with the details specified in the request body.

Parameters
  • laborPK (FromUri): The PK value of the Labor to be updated.
  • updatedViewModel (FromBody): Updated details of the labor.

PUT Labors

Updates one or more Labors in the system with the details specified in the request body.

Parameters
  • updViews (FromBody): A collection of Labors to be updated.