Posting ProfileΒΆ
Posting Profile - GetΒΆ
HTTP Request
GET /api/v1/sap-posting-bot/posting/profiles/{id}
π Description: Retrieves the financial record associated with a specific ledger entry by its unique identifier, providing essential details about the transaction and account involved.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
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 "erpSystem": {
17 "id": 0,
18 "displayId": "string"
19 },
20 "companyFilterType": "ALL",
21 "companies": [
22 {
23 "id": 0,
24 "displayId": "string",
25 "status": "CREATED",
26 "erpSystemId": 0,
27 "erpSystemDisplayId": "string",
28 "countryId": 0,
29 "countryDisplayId": "string",
30 "name": "string",
31 "postingPeriodVariantId": 0,
32 "fiscalVariantId": 0
33 }
34 ],
35 "accountingStandardFilterType": "ALL",
36 "accountingStandards": [
37 {
38 "id": 0,
39 "displayId": "string",
40 "status": "CREATED",
41 "name": "string",
42 "standardType": "GAAP",
43 "erpSystemId": 0,
44 "erpSystemDisplayId": "string"
45 }
46 ],
47 "objectStatus": "CREATED"
48 }
49}
Posting Profile - UpdateΒΆ
HTTP Request
PUT /api/v1/sap-posting-bot/posting/profiles/{id}
π Description: Updates the specified posting profile in the General Ledger, allowing for modifications to ledger entries, transactions, and associated financial records. This operation ensures that account information remains accurate and up-to-date.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
body |
body |
true |
Request body containing the updated financial record data for the specified ledger entry, including transaction details and account information. |
Body Parameters
1{
2 "id": 0,
3 "erpSystem": {
4 "id": 0,
5 "displayId": "string"
6 },
7 "companyFilterType": "ALL",
8 "companies": [
9 {
10 "id": 0,
11 "displayId": "string",
12 "status": "CREATED",
13 "erpSystemId": 0,
14 "erpSystemDisplayId": "string",
15 "countryId": 0,
16 "countryDisplayId": "string",
17 "name": "string",
18 "postingPeriodVariantId": 0,
19 "fiscalVariantId": 0
20 }
21 ],
22 "accountingStandardFilterType": "ALL",
23 "accountingStandards": [
24 {
25 "id": 0,
26 "displayId": "string",
27 "status": "CREATED",
28 "name": "string",
29 "standardType": "GAAP",
30 "erpSystemId": 0,
31 "erpSystemDisplayId": "string"
32 }
33 ],
34 "objectStatus": "CREATED"
35}
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 "erpSystem": {
17 "id": 0,
18 "displayId": "string"
19 },
20 "companyFilterType": "ALL",
21 "companies": [
22 {
23 "id": 0,
24 "displayId": "string",
25 "status": "CREATED",
26 "erpSystemId": 0,
27 "erpSystemDisplayId": "string",
28 "countryId": 0,
29 "countryDisplayId": "string",
30 "name": "string",
31 "postingPeriodVariantId": 0,
32 "fiscalVariantId": 0
33 }
34 ],
35 "accountingStandardFilterType": "ALL",
36 "accountingStandards": [
37 {
38 "id": 0,
39 "displayId": "string",
40 "status": "CREATED",
41 "name": "string",
42 "standardType": "GAAP",
43 "erpSystemId": 0,
44 "erpSystemDisplayId": "string"
45 }
46 ],
47 "objectStatus": "CREATED"
48 }
49}
Posting Profile - DeleteΒΆ
HTTP Request
DELETE /api/v1/sap-posting-bot/posting/profiles/{id}
π Description: Deletes a specified posting profile from the General Ledger, effectively removing the associated ledger entry and transaction details from the financial records.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
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}
Posting Profile - Create Or UpdateΒΆ
HTTP Request
PUT /api/v1/sap-posting-bot/posting/profiles/createOrUpdate
π Description: Creates or updates posting profiles within the General Ledger, ensuring accurate ledger entries and financial records for transactions and accounts. This operation streamlines the management of posting profiles to enhance financial reporting and compliance.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing the ledger entry data, including transaction details, account information, and relevant financial record attributes for creating or updating posting profiles. |
Body Parameters
1{
2 "id": 0,
3 "erpSystem": {
4 "id": 0,
5 "displayId": "string"
6 },
7 "companyFilterType": "ALL",
8 "companies": [
9 {
10 "id": 0,
11 "displayId": "string",
12 "status": "CREATED",
13 "erpSystemId": 0,
14 "erpSystemDisplayId": "string",
15 "countryId": 0,
16 "countryDisplayId": "string",
17 "name": "string",
18 "postingPeriodVariantId": 0,
19 "fiscalVariantId": 0
20 }
21 ],
22 "accountingStandardFilterType": "ALL",
23 "accountingStandards": [
24 {
25 "id": 0,
26 "displayId": "string",
27 "status": "CREATED",
28 "name": "string",
29 "standardType": "GAAP",
30 "erpSystemId": 0,
31 "erpSystemDisplayId": "string"
32 }
33 ],
34 "objectStatus": "CREATED"
35}
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 "erpSystem": {
17 "id": 0,
18 "displayId": "string"
19 },
20 "companyFilterType": "ALL",
21 "companies": [
22 {
23 "id": 0,
24 "displayId": "string",
25 "status": "CREATED",
26 "erpSystemId": 0,
27 "erpSystemDisplayId": "string",
28 "countryId": 0,
29 "countryDisplayId": "string",
30 "name": "string",
31 "postingPeriodVariantId": 0,
32 "fiscalVariantId": 0
33 }
34 ],
35 "accountingStandardFilterType": "ALL",
36 "accountingStandards": [
37 {
38 "id": 0,
39 "displayId": "string",
40 "status": "CREATED",
41 "name": "string",
42 "standardType": "GAAP",
43 "erpSystemId": 0,
44 "erpSystemDisplayId": "string"
45 }
46 ],
47 "objectStatus": "CREATED"
48 }
49}
Posting Profile - Create Or Update BulkΒΆ
HTTP Request
PUT /api/v1/sap-posting-bot/posting/profiles/createOrUpdate/bulk
π Description: Updates or creates multiple posting profiles in bulk for ledger entries, ensuring accurate transaction and account management within the General Ledger. This operation streamlines the maintenance of financial records by allowing batch processing of profile data.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing bulk ledger entry data, including transaction details, account information, and associated financial records for creation or update. |
Body Parameters
1[
2 {
3 "id": 0,
4 "erpSystem": {
5 "id": 0,
6 "displayId": "string"
7 },
8 "companyFilterType": "ALL",
9 "companies": [
10 {
11 "id": 0,
12 "displayId": "string",
13 "status": "CREATED",
14 "erpSystemId": 0,
15 "erpSystemDisplayId": "string",
16 "countryId": 0,
17 "countryDisplayId": "string",
18 "name": "string",
19 "postingPeriodVariantId": 0,
20 "fiscalVariantId": 0
21 }
22 ],
23 "accountingStandardFilterType": "ALL",
24 "accountingStandards": [
25 {
26 "id": 0,
27 "displayId": "string",
28 "status": "CREATED",
29 "name": "string",
30 "standardType": "GAAP",
31 "erpSystemId": 0,
32 "erpSystemDisplayId": "string"
33 }
34 ],
35 "objectStatus": "CREATED"
36 }
37]
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 "erpSystem": {
18 "id": 0,
19 "displayId": "string"
20 },
21 "companyFilterType": "ALL",
22 "companies": [
23 {
24 "id": 0,
25 "displayId": "string",
26 "status": "CREATED",
27 "erpSystemId": 0,
28 "erpSystemDisplayId": "string",
29 "countryId": 0,
30 "countryDisplayId": "string",
31 "name": "string",
32 "postingPeriodVariantId": 0,
33 "fiscalVariantId": 0
34 }
35 ],
36 "accountingStandardFilterType": "ALL",
37 "accountingStandards": [
38 {
39 "id": 0,
40 "displayId": "string",
41 "status": "CREATED",
42 "name": "string",
43 "standardType": "GAAP",
44 "erpSystemId": 0,
45 "erpSystemDisplayId": "string"
46 }
47 ],
48 "objectStatus": "CREATED"
49 }
50 ]
51}
Posting Profile - Bulk UpdateΒΆ
HTTP Request
PUT /api/v1/sap-posting-bot/posting/profiles/bulk
π Description: Updates multiple posting profiles in bulk for ledger entries, enabling efficient management of transactions and financial records within the General Ledger.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing a collection of ledger entries for bulk posting, including transaction details, account information, and associated financial records. |
Body Parameters
1[
2 {
3 "id": 0,
4 "erpSystem": {
5 "id": 0,
6 "displayId": "string"
7 },
8 "companyFilterType": "ALL",
9 "companies": [
10 {
11 "id": 0,
12 "displayId": "string",
13 "status": "CREATED",
14 "erpSystemId": 0,
15 "erpSystemDisplayId": "string",
16 "countryId": 0,
17 "countryDisplayId": "string",
18 "name": "string",
19 "postingPeriodVariantId": 0,
20 "fiscalVariantId": 0
21 }
22 ],
23 "accountingStandardFilterType": "ALL",
24 "accountingStandards": [
25 {
26 "id": 0,
27 "displayId": "string",
28 "status": "CREATED",
29 "name": "string",
30 "standardType": "GAAP",
31 "erpSystemId": 0,
32 "erpSystemDisplayId": "string"
33 }
34 ],
35 "objectStatus": "CREATED"
36 }
37]
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 "erpSystem": {
18 "id": 0,
19 "displayId": "string"
20 },
21 "companyFilterType": "ALL",
22 "companies": [
23 {
24 "id": 0,
25 "displayId": "string",
26 "status": "CREATED",
27 "erpSystemId": 0,
28 "erpSystemDisplayId": "string",
29 "countryId": 0,
30 "countryDisplayId": "string",
31 "name": "string",
32 "postingPeriodVariantId": 0,
33 "fiscalVariantId": 0
34 }
35 ],
36 "accountingStandardFilterType": "ALL",
37 "accountingStandards": [
38 {
39 "id": 0,
40 "displayId": "string",
41 "status": "CREATED",
42 "name": "string",
43 "standardType": "GAAP",
44 "erpSystemId": 0,
45 "erpSystemDisplayId": "string"
46 }
47 ],
48 "objectStatus": "CREATED"
49 }
50 ]
51}
Posting Profile - Bulk DeleteΒΆ
HTTP Request
DELETE /api/v1/sap-posting-bot/posting/profiles/bulk
π Description: Deletes multiple posting profiles in bulk from the General Ledger, allowing for efficient management of ledger entries and financial records associated with transactions and accounts.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
array[integer] |
true |
Request body containing an array of profile identifiers for bulk deletion of ledger entry profiles associated with financial records and transactions. |
Body Parameters
1[
2 0
3]
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}
Posting Profile - SearchΒΆ
HTTP Request
POST /api/v1/sap-posting-bot/posting/profiles/search
π Description: Submits a search request for posting profiles within the General Ledger, enabling users to locate specific ledger entries, transactions, or accounts related to financial records efficiently.
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 |
Request body containing search criteria for ledger entries, including transaction details, account identifiers, and relevant financial record parameters. |
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 "systemIdEqual": 0,
16 "systemDisplayIdLike": "string",
17 "companyFilterTypeIn": [
18 "ALL"
19 ],
20 "companyFilterTypeEqual": "ALL",
21 "accountingStandardFilterTypeIn": [
22 "ALL"
23 ],
24 "accountingStandardFilterTypeEqual": "ALL",
25 "objectStatusIn": [
26 "CREATED"
27 ],
28 "objectStatusEqual": "CREATED",
29 "companyDisplayIdLike": "string"
30}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "totalElements": 0,
3 "totalPages": 0,
4 "pageable": {
5 "pageNumber": 0,
6 "unpaged": true,
7 "paged": true,
8 "pageSize": 0,
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 "erpSystem": {
22 "id": 0,
23 "displayId": "string"
24 },
25 "companyFilterType": "ALL",
26 "companies": [
27 {
28 "id": 0,
29 "displayId": "string",
30 "status": "CREATED",
31 "erpSystemId": 0,
32 "erpSystemDisplayId": "string",
33 "countryId": 0,
34 "countryDisplayId": "string",
35 "name": "string",
36 "postingPeriodVariantId": 0,
37 "fiscalVariantId": 0
38 }
39 ],
40 "accountingStandardFilterType": "ALL",
41 "accountingStandards": [
42 {
43 "id": 0,
44 "displayId": "string",
45 "status": "CREATED",
46 "name": "string",
47 "standardType": "GAAP",
48 "erpSystemId": 0,
49 "erpSystemDisplayId": "string"
50 }
51 ],
52 "objectStatus": "CREATED"
53 }
54 ],
55 "number": 0,
56 "sort": {
57 "unsorted": true,
58 "sorted": true,
59 "empty": true
60 },
61 "first": true,
62 "last": true,
63 "empty": true
64}
Posting Profile - Find AllΒΆ
HTTP Request
GET /api/v1/sap-posting-bot/posting/profiles
π Description: Retrieves a list of posting profiles used for ledger entries, enabling users to manage transaction-related settings and maintain accurate financial records.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
pageable |
query |
true |
Indicates whether the results of the ledger entry profiles retrieval should be paginated, facilitating efficient navigation through large sets of financial records. |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "totalElements": 0,
3 "totalPages": 0,
4 "pageable": {
5 "pageNumber": 0,
6 "unpaged": true,
7 "paged": true,
8 "pageSize": 0,
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 "erpSystem": {
22 "id": 0,
23 "displayId": "string"
24 },
25 "companyFilterType": "ALL",
26 "companies": [
27 {
28 "id": 0,
29 "displayId": "string",
30 "status": "CREATED",
31 "erpSystemId": 0,
32 "erpSystemDisplayId": "string",
33 "countryId": 0,
34 "countryDisplayId": "string",
35 "name": "string",
36 "postingPeriodVariantId": 0,
37 "fiscalVariantId": 0
38 }
39 ],
40 "accountingStandardFilterType": "ALL",
41 "accountingStandards": [
42 {
43 "id": 0,
44 "displayId": "string",
45 "status": "CREATED",
46 "name": "string",
47 "standardType": "GAAP",
48 "erpSystemId": 0,
49 "erpSystemDisplayId": "string"
50 }
51 ],
52 "objectStatus": "CREATED"
53 }
54 ],
55 "number": 0,
56 "sort": {
57 "unsorted": true,
58 "sorted": true,
59 "empty": true
60 },
61 "first": true,
62 "last": true,
63 "empty": true
64}