|
Http Verb |
POST |
|---|---|
|
Url |
/workforce/resources/r1/resources |
|
Permissions required |
Resource Configuration: Edit (fsm.core.resource.configuration.edit) |
|
Personally Identifiable Information (PII) |
Si |
|
Sensitive Information |
No |
|
Last Modified Version |
r1 |
|
Released since |
|
|
Deprecated since |
|
|
Removed since |
|
|
Tech Tags |
|
Business Logic
This API creates a new Resource.
Header Parameters
Default.
Request Body Parameters
|
Field |
Validations |
Note |
|---|---|---|
|
surname |
Max Lenght: 40 |
|
|
name |
Max Lenght: 40 |
|
|
birthDate |
Format: ISO-8601 |
|
|
startDate |
Format: ISO-8601 |
|
|
endDate |
Format: ISO-8601 |
|
|
|
Max Length: 255 Format: RFC 5322 email address format |
|
|
operationCenterId |
Referenced resource id existence check |
|
|
mobilePhone |
Max Length: 20 |
|
|
identificationNumber |
Max Length: 40 |
|
|
secondaryIdentificationNumber |
Max Length: 40 |
|
|
resourceTypeId |
Referenced resource id existence check |
|
|
color |
Max Length: 10 Format: Hexadecimal i.e. #FF990C |
|
|
vehicleId |
Referenced resource id existence check |
|
|
order |
Max Length: 10 |
|
|
workCenterId |
Referenced resource id existence check |
|
Response documentation
Response payload fields
|
Field |
Note |
|---|---|
|
id |
|
Response error codes
BASE_0001, BASE_0003, BASE_0012, RESOURCES_009