NextGen APIs

PATCH /workforce/resources/r1/resources/{resourceId}

Http Verb

PATCH

Url

/workforce/resources/r1/resources/{resourceId}

Permissions required

Resource Configuration: Edit (fsm.core.resource.configuration.edit)

Personally Identifiable Information (PII)

Si

Sensitive Information

No

Last Modified Version

r1

Released since

2024 W1 (FSM 16.0)

Deprecated since


Removed since


Tech Tags


Business Logic

This API modify an existing Resource.

In case of a resource on loan, with the update of the “origin” resource data, will be updated also records related to loaned resource.

Path Parameters

Field

Note

resourceId


Header Parameters

Default.

Request Body Parameters

Field

Validations

Note

surname

Max Length: 40

 

name

Max Length: 40

 

birthDate

Format: ISO-8601

 

startDate

Format: ISO-8601


endDate

Format: ISO-8601


email

Max Length: 255

Format: RFC 5322 email address format

 

mobilePhone

Max Length: 20

 

identificationNumber

Max Length: 40

 

secondaryIdentificationNumber

Max Length: 40


resourceTypeId

 

 

color

Max Length: 10

Format: Hexadecimal i.e. #FF990C

 

vehicleId

 

 

order

Max Length: 10

 

singleTeamId

 

 

workCenterId

 

 

Response documentation

Response error codes

NOT_FOUND, BASE_0001, BASE_0003, BASE_0012, RESOURCE_009