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 |
Request Formats :
application/json, text/json
{ "id": "e191c315-5284-482f-a321-6a5cc3c850b0", "name": "sample string 2", "sales_organization_id": "67e668d1-6602-4530-8925-d529a1ed41c2", "description": "sample string 4", "is_default": true, "modified_dateutc": "2024-04-16T16:43:08.2777202+00:00", "code": "sample string 7" }
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 |
Response Formats
application/json, text/json
{ "id": "59ee57c8-efde-4442-8c74-16a3a8c44ec4", "name": "sample string 2", "sales_organization_id": "9eec0d07-1f57-416d-a6fe-7e8f52edbd21", "description": "sample string 4", "is_default": true, "modified_dateutc": "2024-04-16T16:43:08.2777202+00:00", "code": "sample string 7" }