POST api/dispatchassignment/{orgKey}/configureResource/{dispatchOrderKey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orgKey

integer

Required

dispatchOrderKey

integer

Required

Body Parameters

Collection of ConfigureResources
NameDescriptionTypeAdditional information
DispatchOrderKey

integer

None.

DOLineKey

integer

None.

DispatchClass

DispatchClasses

None.

DispatchOrderLineSortOrdinal

integer

None.

DOLineEquipmentList

Collection of DOLineEquipment

None.

Quantity

integer

None.

DispatchCenter

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "dispatchOrderKey": 1,
    "doLineKey": 2,
    "dispatchClass": {
      "dispatchClassKey": 1,
      "dispatchFamily": {
        "dispatchFamilyKey": 64,
        "dispatchFamilyTypeKey": {
          "dispatchFamilyTypeKey": 64,
          "dispatchFamilyTypeName": "sample string 2",
          "dispatchFamilyTypeDisplayName": "sample string 3",
          "dispatchFamilyTypeCreateDate": "2026-01-30T01:01:49.4862449+00:00"
        },
        "dispatchFamilyName": "sample string 2",
        "dispatchFamilyDisplayName": "sample string 3",
        "dispatchFamilyCreateDate": "2026-01-30T01:01:49.4862449+00:00"
      },
      "dispatchClassName": "sample string 2",
      "dispatchClassDisplayName": "sample string 3",
      "dispatchClassCreateDate": "2026-01-30T01:01:49.4862449+00:00"
    },
    "dispatchOrderLineSortOrdinal": 1,
    "doLineEquipmentList": [
      {
        "assetCode": "sample string 1",
        "assetKey": 2,
        "borrowedAssetKey": 3,
        "equipmentDOLineKey": 4
      },
      {
        "assetCode": "sample string 1",
        "assetKey": 2,
        "borrowedAssetKey": 3,
        "equipmentDOLineKey": 4
      }
    ],
    "quantity": 3,
    "dispatchCenter": 4
  },
  {
    "dispatchOrderKey": 1,
    "doLineKey": 2,
    "dispatchClass": {
      "dispatchClassKey": 1,
      "dispatchFamily": {
        "dispatchFamilyKey": 64,
        "dispatchFamilyTypeKey": {
          "dispatchFamilyTypeKey": 64,
          "dispatchFamilyTypeName": "sample string 2",
          "dispatchFamilyTypeDisplayName": "sample string 3",
          "dispatchFamilyTypeCreateDate": "2026-01-30T01:01:49.4862449+00:00"
        },
        "dispatchFamilyName": "sample string 2",
        "dispatchFamilyDisplayName": "sample string 3",
        "dispatchFamilyCreateDate": "2026-01-30T01:01:49.4862449+00:00"
      },
      "dispatchClassName": "sample string 2",
      "dispatchClassDisplayName": "sample string 3",
      "dispatchClassCreateDate": "2026-01-30T01:01:49.4862449+00:00"
    },
    "dispatchOrderLineSortOrdinal": 1,
    "doLineEquipmentList": [
      {
        "assetCode": "sample string 1",
        "assetKey": 2,
        "borrowedAssetKey": 3,
        "equipmentDOLineKey": 4
      },
      {
        "assetCode": "sample string 1",
        "assetKey": 2,
        "borrowedAssetKey": 3,
        "equipmentDOLineKey": 4
      }
    ],
    "quantity": 3,
    "dispatchCenter": 4
  }
]

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-30T01:01:49.4862449+00:00"
}