Creates a new work order type
Request Information
URI Parameters :
None.
Body Parameters :
job_typeName | Description | Type | Additional information |
---|---|---|---|
id |
Primary Key |
globally unique identifier | |
name |
Name of the job type |
string |
Required Max length: 50 |
sales_organization_id |
Filled if specific to one organization, empty if global and can be used by all |
globally unique identifier | |
description |
Description of the job type |
string |
Max length: 4000 |
is_default |
Used to auto select one object when creating a jobs |
boolean | |
modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date | |
code |
Field used for Embedded entity (store there your ERP PK) |
string |
Max length: 50 |
archived |
Used to archive job type |
boolean |
Request Formats :
application/json, text/json
{ "id": "ce8698a3-a4d0-46fd-a71f-83d7f5185574", "name": "sample string 2", "sales_organization_id": "4b7101d7-6d28-44b4-8f51-d3451f96ffbc", "description": "sample string 4", "is_default": true, "modified_dateutc": "2025-01-18T05:05:22.3012809+00:00", "code": "sample string 7", "archived": true }
Response Information
Resource Description :
IHttpActionResult
job_typeName | Description | Type | Additional information |
---|---|---|---|
id |
Primary Key |
globally unique identifier | |
name |
Name of the job type |
string |
Required Max length: 50 |
sales_organization_id |
Filled if specific to one organization, empty if global and can be used by all |
globally unique identifier | |
description |
Description of the job type |
string |
Max length: 4000 |
is_default |
Used to auto select one object when creating a jobs |
boolean | |
modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date | |
code |
Field used for Embedded entity (store there your ERP PK) |
string |
Max length: 50 |
archived |
Used to archive job type |
boolean |
Response Formats
application/json, text/json
{ "id": "0e482964-7939-4bfd-b76c-0857c2afc0d3", "name": "sample string 2", "sales_organization_id": "9819c117-6f5b-4f20-9674-391279cca7e2", "description": "sample string 4", "is_default": true, "modified_dateutc": "2025-01-18T05:05:22.3012809+00:00", "code": "sample string 7", "archived": true }