API reference
All operations
INVENTORYREQUEST

Creates an inventory request with no pricing information, if successfull returns inventory request ID for the new request.

The request gets your default inventory request status and a check-out status of `Pending Checkout`; all price totals are 0. Its completion date is calculated from `StartDate`, the interval and `IntervalCount`. When `IntervalID` is 0 or less, the one-day interval (or, if there is none, the first interval) is used and `IntervalCount` is set to 1. `RateSelection` is a number: 0 = Rate A, 1 = Rate B, 2 = Rate C. All text fields must be present in the body. Use the request types, intervals and rate profiles endpoints for the IDs.

POST/api/v2/inventory-request/requests/createlite

Authentication

Choose one supported method for this request.

OAuth 2.0 client credentialsAPI key

Request body

application/jsonrequired

The inventory request to create, including the job site address.

InventoryRequestCreateRequestDTO
  • requestTypeIDinteger · int32
  • userIDinteger · int32
  • companyIDinteger · int32
  • contactIDinteger · int32
  • branchIDinteger · int32
  • intervalIDinteger · int32
  • intervalCountinteger · int32
  • rateSelectioninteger
  • baseMachineProfileIDinteger · int32
  • willCallboolean
  • startDatestring · date-time
  • deliveryDatestring · date-time
  • makestring
  • modelstring
  • taxableStatestring
  • taxableCountystring
  • projectInformationstring
  • projectNamestring
  • generalContractorstring
  • contractorContactstring
  • contractorContactPhonestring
  • contractorContactEmailstring
  • freeFormCommentsstring
  • jobAddress1string
  • jobAddress2string
  • jobCitystring
  • jobStatestring
  • jobCountystring
  • jobCountrystring
  • jobZipstring
  • jobInstructionsstring

Responses

Inventory request created.

Standard response envelopeisSuccessmessageerrorsdata

Read the result from data. When isSuccess is false, errors lists what went wrong. Handling errors

datainteger
integer · int32