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": "f1e7f729-6881-4a00-b74f-00d613483aa8", "name": "sample string 2", "sales_organization_id": "a46c4ac9-1786-4d93-a591-49b3cc1c29ca", "description": "sample string 4", "is_default": true, "modified_dateutc": "2024-09-29T01:23:33.2484594+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": "7a1d040b-3e75-445e-9dfc-99134dad42ad", "name": "sample string 2", "sales_organization_id": "656501fd-e399-4578-8075-e739b7321c35", "description": "sample string 4", "is_default": true, "modified_dateutc": "2024-09-29T01:23:33.2484594+00:00", "code": "sample string 7", "archived": true }