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": "39d1624e-d6c0-4681-a0fc-2df372eb0530", "name": "sample string 2", "sales_organization_id": "587aed56-40f8-4569-9dfe-d671f0095b4f", "description": "sample string 4", "is_default": true, "modified_dateutc": "2023-11-25T00:27:10.2716564+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": "0cec4150-4b50-4234-aebe-d87a13ba495b", "name": "sample string 2", "sales_organization_id": "91c2914a-e294-48a1-90c0-d8db591217d7", "description": "sample string 4", "is_default": true, "modified_dateutc": "2023-11-25T00:27:10.2872818+00:00", "code": "sample string 7" }