POST api/craft/updateCraftDetails/{orgKey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orgKey

integer

Required

Body Parameters

Collection of CraftTypes
NameDescriptionTypeAdditional information
CraftTypeKey

integer

None.

CraftTypeName

string

None.

CraftTypeDescription

string

None.

StatusKey

byte

None.

EmployeeCraftCount

integer

None.

CraftDispatchClassResources

DispatchClassResources

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "craftTypeKey": 1,
    "craftTypeName": "sample string 2",
    "craftTypeDescription": "sample string 3",
    "statusKey": 64,
    "employeeCraftCount": 5,
    "craftDispatchClassResources": {
      "dispatchClassResourceKey": 1,
      "dispatchClass": {
        "dispatchClassKey": 1,
        "dispatchClassDisplayName": "sample string 2",
        "dispatchFamily": {
          "dispatchFamilyKey": 64,
          "dispatchFamilyType": {
            "dispatchFamilyTypeKey": 64,
            "dispatchFamilyTypeName": "sample string 2",
            "dispatchFamilyTypeDisplayName": "sample string 3",
            "dispatchFamilyTypeCreateDate": "2026-01-29T20:38:43.5518059+00:00"
          },
          "dispatchFamilyName": "sample string 2",
          "dispatchFamilyDisplayName": "sample string 3",
          "dispatchFamilyCreateDate": "2026-01-29T20:38:43.5518059+00:00"
        }
      }
    }
  },
  {
    "craftTypeKey": 1,
    "craftTypeName": "sample string 2",
    "craftTypeDescription": "sample string 3",
    "statusKey": 64,
    "employeeCraftCount": 5,
    "craftDispatchClassResources": {
      "dispatchClassResourceKey": 1,
      "dispatchClass": {
        "dispatchClassKey": 1,
        "dispatchClassDisplayName": "sample string 2",
        "dispatchFamily": {
          "dispatchFamilyKey": 64,
          "dispatchFamilyType": {
            "dispatchFamilyTypeKey": 64,
            "dispatchFamilyTypeName": "sample string 2",
            "dispatchFamilyTypeDisplayName": "sample string 3",
            "dispatchFamilyTypeCreateDate": "2026-01-29T20:38:43.5518059+00:00"
          },
          "dispatchFamilyName": "sample string 2",
          "dispatchFamilyDisplayName": "sample string 3",
          "dispatchFamilyCreateDate": "2026-01-29T20:38:43.5518059+00:00"
        }
      }
    }
  }
]

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:38:43.5518059+00:00"
}