Internal platform-user directory and account fields only. Original SAP sample metadata is retained unchanged; this document narrows executable fields and queries. Employee Central jobs/employment, navigation/permissions, tenant customizations, password operations, XML/Atom, OAuth issuance, and batch transport are not implemented.
Operations
GET /odata/v2/User
listUsers
Authentication
[
{
"bearer": []
}
]
Request, responses and operation details
{
"operationId": "listUsers",
"tags": [
"Platform users"
],
"summary": "listUsers",
"parameters": [
{
"in": "query",
"name": "$format",
"description": "JSON only (case insensitive).",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "$select",
"description": "Comma-separated fields: businessPhone, defaultLocale, department, division, email, firstName, hireDate, lastModifiedDateTime, lastName, location, mi, status, timeZone, title, userId, username.",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "$filter",
"description": "eq/ne/in over filterable string fields; and/or parentheses. Explicit status filter includes inactive records. Unsupported grammar fails closed.",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "$orderby",
"description": "Comma-separated sortable fields with asc/desc. SAP User sorting by status includes active and inactive users unless restricted by a status filter.",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "$top",
"description": "Nonnegative row limit.",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "$skip",
"description": "Nonnegative row offset.",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "$inlinecount",
"description": "allpages or none; __count is a string.",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserCollection"
}
}
}
},
"400": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"401": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"404": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"406": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"415": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"429": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"500": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
POST /odata/v2/User
insertUser
Authentication
[
{
"bearer": []
}
]
Request, responses and operation details
{
"operationId": "insertUser",
"tags": [
"Platform users"
],
"summary": "insertUser",
"parameters": [
{
"in": "query",
"name": "$format",
"description": "JSON only (case insensitive).",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "processInactiveEmployees",
"schema": {
"type": "boolean",
"default": false
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserCreate"
}
}
}
},
"responses": {
"201": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserResponse"
}
}
}
},
"400": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"401": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"404": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"406": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"415": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"429": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"500": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
GET /odata/v2/User/$count
countUsers
Authentication
[
{
"bearer": []
}
]
Request, responses and operation details
{
"operationId": "countUsers",
"tags": [
"Platform users"
],
"summary": "countUsers",
"parameters": [
{
"in": "query",
"name": "$format",
"description": "JSON only (case insensitive).",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "$select",
"description": "Comma-separated fields: businessPhone, defaultLocale, department, division, email, firstName, hireDate, lastModifiedDateTime, lastName, location, mi, status, timeZone, title, userId, username.",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "$filter",
"description": "eq/ne/in over filterable string fields; and/or parentheses. Explicit status filter includes inactive records. Unsupported grammar fails closed.",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "$orderby",
"description": "Comma-separated sortable fields with asc/desc. SAP User sorting by status includes active and inactive users unless restricted by a status filter.",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "$top",
"description": "Nonnegative row limit.",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "$skip",
"description": "Nonnegative row offset.",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "$inlinecount",
"description": "allpages or none; __count is a string.",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Count",
"content": {
"text/plain": {
"schema": {
"type": "string"
}
}
}
},
"400": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"401": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"404": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"406": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"415": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"429": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"500": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
GET /odata/v2/$metadata
metadata
Authentication
[
{
"bearer": []
}
]
Request, responses and operation details
{
"operationId": "metadata",
"tags": [
"Platform users"
],
"summary": "metadata",
"parameters": [],
"responses": {
"200": {
"description": "Derived bounded EDMX",
"content": {
"application/xml": {
"schema": {
"type": "string"
}
}
}
},
"400": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"401": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"404": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"406": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"415": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"429": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"500": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
GET /odata/v2/User/$metadata
userMetadata
Authentication
[
{
"bearer": []
}
]
Request, responses and operation details
{
"operationId": "userMetadata",
"tags": [
"Platform users"
],
"summary": "userMetadata",
"parameters": [],
"responses": {
"200": {
"description": "Derived bounded EDMX",
"content": {
"application/xml": {
"schema": {
"type": "string"
}
}
}
},
"400": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"401": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"404": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"406": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"415": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"429": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"500": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
POST /odata/v2/upsert
upsertUsers
Authentication
[
{
"bearer": []
}
]
Request, responses and operation details
{
"operationId": "upsertUsers",
"tags": [
"Platform users"
],
"summary": "upsertUsers",
"parameters": [
{
"in": "query",
"name": "$format",
"description": "JSON only (case insensitive).",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "processInactiveEmployees",
"schema": {
"type": "boolean",
"default": false
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"oneOf": [
{
"$ref": "#/components/schemas/UserWrite"
},
{
"type": "array",
"minItems": 1,
"maxItems": 1000,
"items": {
"$ref": "#/components/schemas/UserWrite"
}
}
]
}
}
}
},
"responses": {
"200": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpsertResponse"
}
}
}
},
"400": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"401": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"404": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"406": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"415": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"429": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"500": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
GET /odata/v2/User('{userId}')
readUser
Authentication
[
{
"bearer": []
}
]
Request, responses and operation details
{
"operationId": "readUser",
"tags": [
"Platform users"
],
"summary": "readUser",
"parameters": [
{
"in": "path",
"name": "userId",
"required": true,
"description": "SAP User business key. Apostrophes inside the key must be doubled.",
"schema": {
"type": "string",
"minLength": 1
}
},
{
"in": "query",
"name": "$format",
"description": "JSON only (case insensitive).",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "$select",
"description": "Comma-separated fields: businessPhone, defaultLocale, department, division, email, firstName, hireDate, lastModifiedDateTime, lastName, location, mi, status, timeZone, title, userId, username.",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserResponse"
}
}
}
},
"400": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"401": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"404": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"406": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"415": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"429": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"500": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
PUT /odata/v2/User('{userId}')
replaceUser
Authentication
[
{
"bearer": []
}
]
Request, responses and operation details
{
"operationId": "replaceUser",
"tags": [
"Platform users"
],
"summary": "replaceUser",
"parameters": [
{
"in": "path",
"name": "userId",
"required": true,
"description": "SAP User business key. Apostrophes inside the key must be doubled.",
"schema": {
"type": "string",
"minLength": 1
}
},
{
"in": "query",
"name": "$format",
"description": "JSON only (case insensitive).",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "processInactiveEmployees",
"schema": {
"type": "boolean",
"default": false
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserCreate"
}
}
}
},
"responses": {
"204": {
"description": "Success; empty body"
},
"400": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"401": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"404": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"406": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"415": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"429": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"500": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
POST /odata/v2/User('{userId}')
mergeUser
Authentication
[
{
"bearer": []
}
]
Request, responses and operation details
{
"operationId": "mergeUser",
"tags": [
"Platform users"
],
"summary": "mergeUser",
"parameters": [
{
"in": "path",
"name": "userId",
"required": true,
"description": "SAP User business key. Apostrophes inside the key must be doubled.",
"schema": {
"type": "string",
"minLength": 1
}
},
{
"in": "query",
"name": "$format",
"description": "JSON only (case insensitive).",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "processInactiveEmployees",
"schema": {
"type": "boolean",
"default": false
}
},
{
"in": "header",
"name": "X-HTTP-METHOD",
"required": true,
"schema": {
"type": "string",
"enum": [
"MERGE"
]
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserWrite"
}
}
}
},
"responses": {
"200": {
"description": "Success; empty body"
},
"400": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"401": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"404": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"406": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"415": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"429": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"500": {
"description": "SAP OData v2 response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}