SAP Knowledge Base Article - Public

3695847 - Creation of Organizational Units via OData API Is Not Supported

Symptom

Unable to create or update Organizational Units or Departments using the OData API. 

Environment

SAP Cloud for Customer 

Reproducing the Issue

  1. Create or assign a Department using the OData API.

  2. Use the endpoint /sap/c4c/odata/v1/c4codataapi/EmployeeOrganisationalUnitAssignmentCollection.

  3. Send a POST request to add a Department via this collection.

  4.  Check the request returns HTTP 403 Forbidden.

Cause

  • Organizational Units and Departments are not exposed for creation or update via the OData API; only limited related entities and assignments are supported.

Resolution

This is a standard system behavior, as Organizational Units are not exposed for create or update via OData.
Any request for additional properties or extended OData capabilities must be submitted through the SAP Sales Cloud Customer Influence Portal for evaluation and possible implementation in a future release.

See Also

Keywords

OData; API; Organizational Unit; Department; EmployeeOrganisationalUnitAssignmentCollection; SAP Sales Cloud; HTTP 403; Forbidden; Create; Update; Limitation; Not Supported; System Behavior; Metadata; Enhancement Request; Customer Influence; Org Unit; Assignment; Integration; REST; C4C; Cloud for Customer , KBA , AP-RC-ODF , OData framework (C4C Only) , Problem

Product

SAP Cloud for Customer core applications 2508