SAP Authorization Object¶
SAP Authorization Object - Get¶
HTTP Request
GET /api/v1/sap-auth-objects/{id}
📋 Description: Returns the single resource with the given ID.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Resource ID |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {
15 "id": 0,
16 "erpSystemId": 0,
17 "erpSystemDisplayId": "string",
18 "historyStatus": "LATEST",
19 "validated": true
20 }
21}
SAP Authorization Object - Update¶
HTTP Request
PUT /api/v1/sap-auth-objects/{id}
📋 Description: Fully replaces the resource with the given ID. All fields in the request body are applied.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Resource ID |
body |
body |
true |
none |
Body Parameters
1{
2 "id": 0,
3 "erpSystemId": 0,
4 "erpSystemDisplayId": "string",
5 "historyStatus": "LATEST",
6 "validated": true
7}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {
15 "id": 0,
16 "erpSystemId": 0,
17 "erpSystemDisplayId": "string",
18 "historyStatus": "LATEST",
19 "validated": true
20 }
21}
SAP Authorization Object - Validate Batch¶
HTTP Request
PUT /api/v1/sap-auth-objects/validate
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
none |
Body Parameters
1{
2 "id": 0,
3 "batchId": 0
4}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": "string"
15}
SAP Authorization Object - Create Or Update Bulk¶
HTTP Request
PUT /api/v1/sap-auth-objects/createOrUpdate/bulk
📋 Description: Creates or updates multiple resources in a single request. Partial success: each item is processed independently. Items that pass validation are persisted; failed items are recorded in the response
errorslist. The response body always contains the successfully processed items alongside any per-item errors.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
none |
Body Parameters
1[
2 {
3 "id": 0,
4 "erpSystemId": 0,
5 "erpSystemDisplayId": "string",
6 "historyStatus": "LATEST",
7 "validated": true
8 }
9]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": [
15 {
16 "id": 0,
17 "erpSystemId": 0,
18 "erpSystemDisplayId": "string",
19 "historyStatus": "LATEST",
20 "validated": true
21 }
22 ]
23}
SAP Authorization Object - Create Or Update¶
HTTP Request
PUT /api/v1/sap-auth-objects/createOrUpdate
📋 Description: Creates the resource if no matching record exists, or fully updates it if one is found. Idempotent: safe to call multiple times with the same payload.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
none |
Body Parameters
1{
2 "id": 0,
3 "erpSystemId": 0,
4 "erpSystemDisplayId": "string",
5 "historyStatus": "LATEST",
6 "validated": true
7}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {
15 "id": 0,
16 "erpSystemId": 0,
17 "erpSystemDisplayId": "string",
18 "historyStatus": "LATEST",
19 "validated": true
20 }
21}
SAP Authorization Object - Bulk Update¶
HTTP Request
PUT /api/v1/sap-auth-objects/bulk
📋 Description: Updates multiple resources in a single request. Partial success: each item is processed independently. Items that pass validation are updated; failed items are recorded in the response
errorslist. The response body always contains the successfully updated items alongside any per-item errors.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
none |
Body Parameters
1[
2 {
3 "id": 0,
4 "erpSystemId": 0,
5 "erpSystemDisplayId": "string",
6 "historyStatus": "LATEST",
7 "validated": true
8 }
9]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": [
15 {
16 "id": 0,
17 "erpSystemId": 0,
18 "erpSystemDisplayId": "string",
19 "historyStatus": "LATEST",
20 "validated": true
21 }
22 ]
23}
SAP Authorization Object - Search¶
HTTP Request
POST /api/v1/sap-auth-objects/search
📋 Description: Returns a paginated list of resources matching the given filter criteria. Pass null or an empty body to return all accessible records.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
page |
query |
integer |
false |
Zero-based page index (0..N) |
size |
query |
integer |
false |
The size of the page to be returned |
sort |
query |
array[string] |
false |
Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. |
body |
body |
false |
none |
Default Values¶
Parameter |
Default |
Type |
|---|---|---|
page |
|
query |
size |
|
query |
sort |
|
query |
Parameter Constraints¶
Parameter |
Constraints |
|---|---|
page |
Min: 0 |
size |
Min: 1 |
Body Parameters
1{
2 "idIn": [
3 0
4 ],
5 "idEqual": 0,
6 "idLike": "string",
7 "createdAtGreaterThanOrEqual": "2019-08-24T14:15:22Z",
8 "createdAtLessThanOrEqual": "2019-08-24T14:15:22Z",
9 "createdByLike": "string",
10 "createdByEqual": "string",
11 "modifiedAtGreaterThanOrEqual": "2019-08-24T14:15:22Z",
12 "modifiedAtLessThanOrEqual": "2019-08-24T14:15:22Z",
13 "modifiedByLike": "string",
14 "modifiedByEqual": "string",
15 "erpSystemIdLike": "string",
16 "erpSystemDisplayIdLike": "string",
17 "historyStatusIn": [
18 "LATEST"
19 ],
20 "validatedEqual": true
21}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "totalElements": 0,
3 "totalPages": 0,
4 "pageable": {
5 "pageNumber": 0,
6 "paged": true,
7 "pageSize": 0,
8 "unpaged": true,
9 "offset": 0,
10 "sort": {
11 "unsorted": true,
12 "sorted": true,
13 "empty": true
14 }
15 },
16 "numberOfElements": 0,
17 "size": 0,
18 "content": [
19 {
20 "id": 0,
21 "erpSystemId": 0,
22 "erpSystemDisplayId": "string",
23 "historyStatus": "LATEST",
24 "validated": true
25 }
26 ],
27 "number": 0,
28 "sort": {
29 "unsorted": true,
30 "sorted": true,
31 "empty": true
32 },
33 "first": true,
34 "last": true,
35 "empty": true
36}
SAP Authorization Object - Fetch Latest From SAP¶
HTTP Request
POST /api/v1/sap-auth-objects/fetch-latest
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
none |
Body Parameters
1{
2 "id": 0,
3 "erpSystemId": 0,
4 "retentionLimit": 0
5}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {
15 "sapAuthObjectsInserted": 0,
16 "batchesUpdated": 0,
17 "sapAuthObjectsDeleted": 0,
18 "batchesDeleted": 0,
19 "newBatchId": 0,
20 "message": "string"
21 }
22}
SAP Authorization Object - Get SAP Auth Objects By Batch ID¶
HTTP Request
POST /api/v1/sap-auth-objects/batches/{erpSystemId}/{batchId}
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
erpSystemId |
path |
integer(int64) |
true |
none |
batchId |
path |
integer(int64) |
true |
none |
body |
body |
object |
true |
none |
» filter |
body |
false |
none |
|
»» idIn |
body |
[integer] |
false |
none |
»» idEqual |
body |
integer(int64) |
false |
none |
»» idLike |
body |
string |
false |
none |
»» batchIdLike |
body |
string |
false |
none |
»» objectLike |
body |
string |
false |
none |
»» authLike |
body |
string |
false |
none |
»» fieldLike |
body |
string |
false |
none |
»» vonLike |
body |
string |
false |
none |
»» bisLike |
body |
string |
false |
none |
» pageable |
body |
false |
Data transfer object representing a paginated collection of financial entities within an organization’s hierarchical structure, facilitating efficient retrieval and management of organizational data. |
|
»» page |
body |
integer(int32) |
false |
Page number for pagination |
»» size |
body |
integer(int32) |
false |
Number of items per page |
»» sort |
body |
[string] |
false |
Sort order specification |
Parameter Constraints¶
Parameter |
Constraints |
|---|---|
»» page |
Min: 0 |
»» size |
Min: 1 |
Body Parameters
1{
2 "filter": {
3 "idIn": [
4 0
5 ],
6 "idEqual": 0,
7 "idLike": "string",
8 "batchIdLike": "string",
9 "objectLike": "string",
10 "authLike": "string",
11 "fieldLike": "string",
12 "vonLike": "string",
13 "bisLike": "string"
14 },
15 "pageable": {
16 "page": 0,
17 "size": 1,
18 "sort": [
19 "string"
20 ]
21 }
22}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "totalElements": 0,
3 "totalPages": 0,
4 "pageable": {
5 "pageNumber": 0,
6 "paged": true,
7 "pageSize": 0,
8 "unpaged": true,
9 "offset": 0,
10 "sort": {
11 "unsorted": true,
12 "sorted": true,
13 "empty": true
14 }
15 },
16 "numberOfElements": 0,
17 "size": 0,
18 "content": [
19 {
20 "id": 0,
21 "batchId": 0,
22 "object": "string",
23 "auth": "string",
24 "field": "string",
25 "von": "string",
26 "bis": "string"
27 }
28 ],
29 "number": 0,
30 "sort": {
31 "unsorted": true,
32 "sorted": true,
33 "empty": true
34 },
35 "first": true,
36 "last": true,
37 "empty": true
38}
SAP Authorization Object - Export SAP Authorization Objects To Excel¶
HTTP Request
GET /api/v1/sap-auth-objects/batches/{erpSystemId}/{batchId}/export
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
erpSystemId |
path |
integer(int64) |
true |
none |
batchId |
path |
integer(int64) |
true |
none |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
None |
SAP Authorization Object - List Batches¶
HTTP Request
GET /api/v1/sap-auth-objects/batches/{erpSystemId}
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
erpSystemId |
path |
integer(int64) |
true |
none |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": [
15 {
16 "id": 0,
17 "erpSystemId": 0,
18 "erpSystemDisplayId": "string",
19 "historyStatus": "LATEST",
20 "validated": true
21 }
22 ]
23}
SAP Authorization Object - Find All¶
HTTP Request
GET /api/v1/sap-auth-objects
📋 Description: Returns a paginated list of all accessible resources ordered by ID. Prefer POST /search for filtered queries.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
pageable |
query |
true |
none |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "totalElements": 0,
3 "totalPages": 0,
4 "pageable": {
5 "pageNumber": 0,
6 "paged": true,
7 "pageSize": 0,
8 "unpaged": true,
9 "offset": 0,
10 "sort": {
11 "unsorted": true,
12 "sorted": true,
13 "empty": true
14 }
15 },
16 "numberOfElements": 0,
17 "size": 0,
18 "content": [
19 {
20 "id": 0,
21 "erpSystemId": 0,
22 "erpSystemDisplayId": "string",
23 "historyStatus": "LATEST",
24 "validated": true
25 }
26 ],
27 "number": 0,
28 "sort": {
29 "unsorted": true,
30 "sorted": true,
31 "empty": true
32 },
33 "first": true,
34 "last": true,
35 "empty": true
36}