POST api/craft/addCraftDetails/{orgKey}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| orgKey | integer |
Required |
Body Parameters
CraftTypes| Name | Description | Type | Additional 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:40:00.8263572+00:00"
},
"dispatchFamilyName": "sample string 2",
"dispatchFamilyDisplayName": "sample string 3",
"dispatchFamilyCreateDate": "2026-01-29T20:40:00.8263572+00:00"
}
}
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PageViewModel| Name | Description | Type | Additional 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:40:00.8263572+00:00"
}