put
https://api.gupy.io/os/v1/areas/external/
Updates an area identified by externalCode in the URL.
Business Rules:
name: Required. Maximum 300 characters.externalCode: Required. Maximum 50 characters. Must be unique within the company (must not match another area's code).similarity: Required. Must be a valid area similarity value.description: Optional. Maximum 900 characters.organizationUnit: Optional. If provided, identify the department byuuidand/orexternalCode(at least one). If both are sent,uuidis used for lookup.costCenter: Optional. If provided, identify the cost center byuuidand/orexternalCode(at least one). If both are sent,uuidis used for lookup.
Validation:
- All required fields must be provided and not empty.
- The area identified by
externalCodein the URL must exist for the company.
Errors (HTTP):
404when no area matches the URLexternalCodefor the company.422when a nested cost center or organization unit reference cannot be resolved.500for any other unexpected failure (genericInternal server errorresponse).
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
