POST api/swapequipment/{orgKey}/swapequipment/{assetFromKey}/{assetToKey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orgKey

integer

Required

assetFromKey

integer

Required

assetToKey

integer

Required

Body Parameters

DispatchOrders
NameDescriptionTypeAdditional information
DispatchOrderKey

integer

None.

Organization

OrganizationModel

None.

CustomerAccount

CustomerAccounts

None.

CustomerJobNumber

string

None.

DispatchOrderDurationUnit

string

None.

DispatchOrderSponsorName

string

None.

DispatchOrderEndDate

date

None.

DispatchOrderStartDate

date

None.

DispatchOrderDuration

integer

None.

DispatchOrderIncludeWeekends

boolean

None.

DispatchOrderDescriptionOfWork

string

None.

DispatchOrderDispatchNotes

string

None.

DispatchOrderStartType

string

None.

RentalTypeKey

byte

None.

DispatchOrderNumber

string

None.

OrderStatus

OrderStatus

None.

SalesOrder

SalesOrder

None.

DispatchOrderQuoteNumber

string

None.

DispatchOrderQuoteLink

string

None.

DispatchOrderQuoteID

string

None.

DispatchOrderAgreementNumber

string

None.

DispatchOrderAgreementLink

string

None.

DispatchOrderAgreementID

string

None.

RentalType

RentalTypes

None.

DispatchOrderJobSiteAddress

DispatchOrderJobSiteAddress

None.

DispatchOrderLines

Collection of DispatchOrderLines

None.

BranchKey

BranchModel

None.

DispatchOrderDispatchBranchKey

BranchModel

None.

project

Project

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PageViewModel
NameDescriptionTypeAdditional information
StatusCode

integer

None.

StatusMessage

string

None.

TotalCount

integer

None.

ModelObject

Object

None.

CurrentDateTime

date

None.

Response Formats

application/json, text/json

Sample:
{
  "statusCode": 1,
  "statusMessage": "sample string 2",
  "totalCount": 3,
  "modelObject": {},
  "currentDateTime": "2026-01-29T20:42:00.5179667+00:00"
}