Purchase Orderยถ
Purchase Order - Getยถ
HTTP Request
GET /api/v1/purchase-orders/{id}
๐ Description: Retrieves detailed information about a specific purchase order identified by its unique ID within the financial organization structure, facilitating insights into the organizationโs procurement activities and hierarchy.
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 "status": "CREATED",
17 "displayId": "string",
18 "erpSystemId": 0,
19 "erpSystemDisplayId": "string",
20 "name": "string",
21 "documentType": "string",
22 "deletionIndicator": "string",
23 "statusOfPurchasingDocument": "string",
24 "vendor": "string",
25 "purchasingGroup": "string",
26 "yourReference": "string",
27 "agreement": "string",
28 "ourReference": "string",
29 "releaseGroup": "string",
30 "releaseIndicator": "string",
31 "purchasingOrganizationId": 0,
32 "purchasingOrganizationDisplayId": "string",
33 "companyId": 0
34 }
35}
Purchase Order - Updateยถ
HTTP Request
PUT /api/v1/purchase-orders/{id}
๐ Description: Updates the details of a specific purchase order within the financial organization structure, allowing for modifications to align with the organizationโs hierarchy and operational needs.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
body |
body |
true |
Request body containing the updated purchase order details, including financial entity identifiers, organizational structure elements, and hierarchical adjustments. |
Body Parameters
1{
2 "id": 0,
3 "status": "CREATED",
4 "displayId": "string",
5 "erpSystemId": 0,
6 "erpSystemDisplayId": "string",
7 "name": "string",
8 "documentType": "string",
9 "deletionIndicator": "string",
10 "statusOfPurchasingDocument": "string",
11 "vendor": "string",
12 "purchasingGroup": "string",
13 "yourReference": "string",
14 "agreement": "string",
15 "ourReference": "string",
16 "releaseGroup": "string",
17 "releaseIndicator": "string",
18 "purchasingOrganizationId": 0,
19 "purchasingOrganizationDisplayId": "string",
20 "companyId": 0
21}
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 "status": "CREATED",
17 "displayId": "string",
18 "erpSystemId": 0,
19 "erpSystemDisplayId": "string",
20 "name": "string",
21 "documentType": "string",
22 "deletionIndicator": "string",
23 "statusOfPurchasingDocument": "string",
24 "vendor": "string",
25 "purchasingGroup": "string",
26 "yourReference": "string",
27 "agreement": "string",
28 "ourReference": "string",
29 "releaseGroup": "string",
30 "releaseIndicator": "string",
31 "purchasingOrganizationId": 0,
32 "purchasingOrganizationDisplayId": "string",
33 "companyId": 0
34 }
35}
Purchase Order - Deleteยถ
HTTP Request
DELETE /api/v1/purchase-orders/{id}
๐ Description: Deletes a specified purchase order from the financial organization structure, ensuring that the hierarchy and integrity of the financial entity are maintained.
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}
Purchase Order - Delete Or Decommissionยถ
HTTP Request
PUT /api/v1/purchase-orders/remove/{id}
๐ Description: Removes a specified purchase order from the financial organization structure, ensuring the integrity of the hierarchy within the financial entity.
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}
Purchase Order - Delete Or Decommission Allยถ
HTTP Request
PUT /api/v1/purchase-orders/remove/bulk
๐ Description: Removes multiple purchase orders in bulk from the financial organization structure, ensuring efficient management of financial entities within the hierarchy.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
array[integer] |
true |
Request body containing a list of purchase order identifiers to be removed in bulk from the financial organizationโs structure, ensuring efficient management of hierarchical financial entities. |
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}
Purchase Order - Decommissionยถ
HTTP Request
PUT /api/v1/purchase-orders/decommission/{id}
๐ Description: Decommissions a specified purchase order within the financial organization structure, effectively removing it from the active hierarchy of financial entities.
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 "status": "CREATED",
17 "displayId": "string",
18 "erpSystemId": 0,
19 "erpSystemDisplayId": "string",
20 "name": "string",
21 "documentType": "string",
22 "deletionIndicator": "string",
23 "statusOfPurchasingDocument": "string",
24 "vendor": "string",
25 "purchasingGroup": "string",
26 "yourReference": "string",
27 "agreement": "string",
28 "ourReference": "string",
29 "releaseGroup": "string",
30 "releaseIndicator": "string",
31 "purchasingOrganizationId": 0,
32 "purchasingOrganizationDisplayId": "string",
33 "companyId": 0
34 }
35}
Purchase Order - Decommission By Modification Date Beforeยถ
HTTP Request
PUT /api/v1/purchase-orders/decommission/modified-before/{modified_before}
๐ Description: Updates the status of purchase orders that were modified before the specified date, allowing financial organizations to efficiently manage their order hierarchy and structure.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
modified_before |
path |
string(date-time) |
true |
Specifies the cutoff date for decommissioning purchase orders that were modified before the given date, ensuring the financial organization maintains an accurate and up-to-date structure. |
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 "status": "CREATED",
18 "displayId": "string",
19 "erpSystemId": 0,
20 "erpSystemDisplayId": "string",
21 "name": "string",
22 "documentType": "string",
23 "deletionIndicator": "string",
24 "statusOfPurchasingDocument": "string",
25 "vendor": "string",
26 "purchasingGroup": "string",
27 "yourReference": "string",
28 "agreement": "string",
29 "ourReference": "string",
30 "releaseGroup": "string",
31 "releaseIndicator": "string",
32 "purchasingOrganizationId": 0,
33 "purchasingOrganizationDisplayId": "string",
34 "companyId": 0
35 }
36 ]
37}
Purchase Order - Decommission Before Nowยถ
HTTP Request
PUT /api/v1/purchase-orders/decommission/modified-before-now
๐ Description: Updates the status of purchase orders that were modified before the current date, facilitating the management of financial entities within the organizational structure.
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 "status": "CREATED",
18 "displayId": "string",
19 "erpSystemId": 0,
20 "erpSystemDisplayId": "string",
21 "name": "string",
22 "documentType": "string",
23 "deletionIndicator": "string",
24 "statusOfPurchasingDocument": "string",
25 "vendor": "string",
26 "purchasingGroup": "string",
27 "yourReference": "string",
28 "agreement": "string",
29 "ourReference": "string",
30 "releaseGroup": "string",
31 "releaseIndicator": "string",
32 "purchasingOrganizationId": 0,
33 "purchasingOrganizationDisplayId": "string",
34 "companyId": 0
35 }
36 ]
37}
Purchase Order - Decommission Allยถ
HTTP Request
PUT /api/v1/purchase-orders/decommission/bulk
๐ Description: Updates the status of multiple purchase orders to โdecommissionโ within the financial organization structure, enabling efficient management of obsolete financial entities in the organizational hierarchy.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
array[integer] |
true |
Request body containing a bulk decommissioning list of purchase orders, including identifiers and relevant financial entity details to facilitate organizational structure adjustments. |
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 {
16 "id": 0,
17 "status": "CREATED",
18 "displayId": "string",
19 "erpSystemId": 0,
20 "erpSystemDisplayId": "string",
21 "name": "string",
22 "documentType": "string",
23 "deletionIndicator": "string",
24 "statusOfPurchasingDocument": "string",
25 "vendor": "string",
26 "purchasingGroup": "string",
27 "yourReference": "string",
28 "agreement": "string",
29 "ourReference": "string",
30 "releaseGroup": "string",
31 "releaseIndicator": "string",
32 "purchasingOrganizationId": 0,
33 "purchasingOrganizationDisplayId": "string",
34 "companyId": 0
35 }
36 ]
37}
Purchase Order - Create Or Update Bulkยถ
HTTP Request
PUT /api/v1/purchase-orders/createOrUpdate/bulk
๐ Description: Creates or updates multiple purchase orders in bulk within the financial organization structure, ensuring alignment with the hierarchical framework of financial entities.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing a bulk array of purchase order data, including details necessary for creating or updating financial entities within the organizational structure. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "erpSystemId": 0,
7 "erpSystemDisplayId": "string",
8 "name": "string",
9 "documentType": "string",
10 "deletionIndicator": "string",
11 "statusOfPurchasingDocument": "string",
12 "vendor": "string",
13 "purchasingGroup": "string",
14 "yourReference": "string",
15 "agreement": "string",
16 "ourReference": "string",
17 "releaseGroup": "string",
18 "releaseIndicator": "string",
19 "purchasingOrganizationId": 0,
20 "purchasingOrganizationDisplayId": "string",
21 "companyId": 0
22 }
23]
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 "status": "CREATED",
18 "displayId": "string",
19 "erpSystemId": 0,
20 "erpSystemDisplayId": "string",
21 "name": "string",
22 "documentType": "string",
23 "deletionIndicator": "string",
24 "statusOfPurchasingDocument": "string",
25 "vendor": "string",
26 "purchasingGroup": "string",
27 "yourReference": "string",
28 "agreement": "string",
29 "ourReference": "string",
30 "releaseGroup": "string",
31 "releaseIndicator": "string",
32 "purchasingOrganizationId": 0,
33 "purchasingOrganizationDisplayId": "string",
34 "companyId": 0
35 }
36 ]
37}
Purchase Order - Create Or Updateยถ
HTTP Request
PUT /api/v1/purchase-orders/createOrUpdate
๐ Description: Creates or updates purchase orders within the financial organization structure, ensuring alignment with the established hierarchy and organizational requirements.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing the purchase order details, including financial entity identifiers and hierarchical structure information for effective organization management. |
Body Parameters
1{
2 "id": 0,
3 "status": "CREATED",
4 "displayId": "string",
5 "erpSystemId": 0,
6 "erpSystemDisplayId": "string",
7 "name": "string",
8 "documentType": "string",
9 "deletionIndicator": "string",
10 "statusOfPurchasingDocument": "string",
11 "vendor": "string",
12 "purchasingGroup": "string",
13 "yourReference": "string",
14 "agreement": "string",
15 "ourReference": "string",
16 "releaseGroup": "string",
17 "releaseIndicator": "string",
18 "purchasingOrganizationId": 0,
19 "purchasingOrganizationDisplayId": "string",
20 "companyId": 0
21}
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 "status": "CREATED",
17 "displayId": "string",
18 "erpSystemId": 0,
19 "erpSystemDisplayId": "string",
20 "name": "string",
21 "documentType": "string",
22 "deletionIndicator": "string",
23 "statusOfPurchasingDocument": "string",
24 "vendor": "string",
25 "purchasingGroup": "string",
26 "yourReference": "string",
27 "agreement": "string",
28 "ourReference": "string",
29 "releaseGroup": "string",
30 "releaseIndicator": "string",
31 "purchasingOrganizationId": 0,
32 "purchasingOrganizationDisplayId": "string",
33 "companyId": 0
34 }
35}
Purchase Order - Bulk Updateยถ
HTTP Request
PUT /api/v1/purchase-orders/bulk
๐ Description: Updates multiple purchase orders in bulk within the financial organization structure, allowing for efficient management of financial entities and their hierarchical relationships.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing an array of purchase order details, including financial entity identifiers and hierarchical organization data, for bulk processing within the financial organization structure. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "erpSystemId": 0,
7 "erpSystemDisplayId": "string",
8 "name": "string",
9 "documentType": "string",
10 "deletionIndicator": "string",
11 "statusOfPurchasingDocument": "string",
12 "vendor": "string",
13 "purchasingGroup": "string",
14 "yourReference": "string",
15 "agreement": "string",
16 "ourReference": "string",
17 "releaseGroup": "string",
18 "releaseIndicator": "string",
19 "purchasingOrganizationId": 0,
20 "purchasingOrganizationDisplayId": "string",
21 "companyId": 0
22 }
23]
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 "status": "CREATED",
18 "displayId": "string",
19 "erpSystemId": 0,
20 "erpSystemDisplayId": "string",
21 "name": "string",
22 "documentType": "string",
23 "deletionIndicator": "string",
24 "statusOfPurchasingDocument": "string",
25 "vendor": "string",
26 "purchasingGroup": "string",
27 "yourReference": "string",
28 "agreement": "string",
29 "ourReference": "string",
30 "releaseGroup": "string",
31 "releaseIndicator": "string",
32 "purchasingOrganizationId": 0,
33 "purchasingOrganizationDisplayId": "string",
34 "companyId": 0
35 }
36 ]
37}
Purchase Order - Bulk Createยถ
HTTP Request
POST /api/v1/purchase-orders/bulk
๐ Description: Submits multiple purchase orders in a single request, facilitating efficient processing within the financial organization structure and enhancing the management of hierarchical purchasing activities.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing an array of purchase order details, including financial entity identifiers and hierarchical organization structure information, for bulk processing within the financial organization framework. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "erpSystemId": 0,
7 "erpSystemDisplayId": "string",
8 "name": "string",
9 "documentType": "string",
10 "deletionIndicator": "string",
11 "statusOfPurchasingDocument": "string",
12 "vendor": "string",
13 "purchasingGroup": "string",
14 "yourReference": "string",
15 "agreement": "string",
16 "ourReference": "string",
17 "releaseGroup": "string",
18 "releaseIndicator": "string",
19 "purchasingOrganizationId": 0,
20 "purchasingOrganizationDisplayId": "string",
21 "companyId": 0
22 }
23]
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 "status": "CREATED",
18 "displayId": "string",
19 "erpSystemId": 0,
20 "erpSystemDisplayId": "string",
21 "name": "string",
22 "documentType": "string",
23 "deletionIndicator": "string",
24 "statusOfPurchasingDocument": "string",
25 "vendor": "string",
26 "purchasingGroup": "string",
27 "yourReference": "string",
28 "agreement": "string",
29 "ourReference": "string",
30 "releaseGroup": "string",
31 "releaseIndicator": "string",
32 "purchasingOrganizationId": 0,
33 "purchasingOrganizationDisplayId": "string",
34 "companyId": 0
35 }
36 ]
37}
Purchase Order - Bulk Deleteยถ
HTTP Request
DELETE /api/v1/purchase-orders/bulk
๐ Description: Deletes multiple purchase orders in a single operation, streamlining the management of financial entities within the organizational structure.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
array[integer] |
true |
Request body containing an array of purchase order IDs to be deleted in bulk, reflecting the organizationโs financial structure and hierarchy. |
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}
Purchase Order - Searchยถ
HTTP Request
POST /api/v1/purchase-orders/search
๐ Description: Submits a search request for purchase orders within the financial organization structure, allowing users to filter results based on organizational hierarchy and specific financial entities.
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 purchase orders, including parameters related to the organizationโs financial structure and hierarchy. |
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 "statusEqual": "CREATED",
16 "statusIn": [
17 "CREATED"
18 ],
19 "displayIdIn": [
20 "string"
21 ],
22 "displayIdLike": "string",
23 "erpSystemIdEqual": 0,
24 "erpSystemIdIn": [
25 0
26 ],
27 "erpSystemDisplayIdLike": "string",
28 "nameLike": "string",
29 "documentTypeLike": "string",
30 "deletionIndicatorLike": "string",
31 "statusOfPurchasingDocumentLike": "string",
32 "vendorLike": "string",
33 "purchasingGroupLike": "string",
34 "yourReferenceLike": "string",
35 "agreementLike": "string",
36 "ourReferenceLike": "string",
37 "releaseGroupLike": "string",
38 "releaseIndicatorLike": "string",
39 "purchasingOrganizationIdEqual": 0,
40 "purchasingOrganizationDisplayIdLike": "string",
41 "companyIdEqual": 0
42}
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 "status": "CREATED",
22 "displayId": "string",
23 "erpSystemId": 0,
24 "erpSystemDisplayId": "string",
25 "name": "string",
26 "documentType": "string",
27 "deletionIndicator": "string",
28 "statusOfPurchasingDocument": "string",
29 "vendor": "string",
30 "purchasingGroup": "string",
31 "yourReference": "string",
32 "agreement": "string",
33 "ourReference": "string",
34 "releaseGroup": "string",
35 "releaseIndicator": "string",
36 "purchasingOrganizationId": 0,
37 "purchasingOrganizationDisplayId": "string",
38 "companyId": 0
39 }
40 ],
41 "number": 0,
42 "sort": {
43 "unsorted": true,
44 "sorted": true,
45 "empty": true
46 },
47 "first": true,
48 "last": true,
49 "empty": true
50}
Purchase Order - Detach Purchase Organizationยถ
HTTP Request
POST /api/v1/purchase-orders/detach/purchase-organization/{relation_id}
๐ Description: Detaches a specified purchase organization from the financial entity hierarchy, allowing for adjustments in the organizational structure. This operation ensures accurate representation of financial relationships within the organization.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
relation_id |
path |
integer(int64) |
true |
Unique identifier for the financial entityโs relationship within the organizational structure, used to detach a purchase organization from a purchase order. |
body |
body |
true |
Request body containing the details required to detach a purchase organization from the financial entity hierarchy, including relevant identifiers and metadata. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "erpSystemId": 0,
7 "erpSystemDisplayId": "string",
8 "name": "string",
9 "documentType": "string",
10 "deletionIndicator": "string",
11 "statusOfPurchasingDocument": "string",
12 "vendor": "string",
13 "purchasingGroup": "string",
14 "yourReference": "string",
15 "agreement": "string",
16 "ourReference": "string",
17 "releaseGroup": "string",
18 "releaseIndicator": "string",
19 "purchasingOrganizationId": 0,
20 "purchasingOrganizationDisplayId": "string",
21 "companyId": 0
22 }
23]
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}
Purchase Order - Attach Purchase Organizationยถ
HTTP Request
POST /api/v1/purchase-orders/attach/purchase-organization/{relation_id}
๐ Description: Attaches a specified purchase organization to a purchase order, facilitating the alignment of financial entities within the organizational structure and hierarchy.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
relation_id |
path |
integer(int64) |
true |
Unique identifier for the financial organization structure, representing the relationship between the purchase order and the associated financial entity. |
body |
body |
true |
Request body containing the purchase organization details, including hierarchical relationships and associated financial entity information for the specified relation ID. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "erpSystemId": 0,
7 "erpSystemDisplayId": "string",
8 "name": "string",
9 "documentType": "string",
10 "deletionIndicator": "string",
11 "statusOfPurchasingDocument": "string",
12 "vendor": "string",
13 "purchasingGroup": "string",
14 "yourReference": "string",
15 "agreement": "string",
16 "ourReference": "string",
17 "releaseGroup": "string",
18 "releaseIndicator": "string",
19 "purchasingOrganizationId": 0,
20 "purchasingOrganizationDisplayId": "string",
21 "companyId": 0
22 }
23]
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}
Purchase Order - Find Allยถ
HTTP Request
GET /api/v1/purchase-orders
๐ Description: Retrieves a list of purchase orders associated with the financial organization structure, allowing users to view and manage orders within the specified organizational hierarchy.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
pageable |
query |
true |
Indicates whether the response should be paginated, allowing for efficient retrieval of purchase orders within the financial organization structure. |
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 "status": "CREATED",
22 "displayId": "string",
23 "erpSystemId": 0,
24 "erpSystemDisplayId": "string",
25 "name": "string",
26 "documentType": "string",
27 "deletionIndicator": "string",
28 "statusOfPurchasingDocument": "string",
29 "vendor": "string",
30 "purchasingGroup": "string",
31 "yourReference": "string",
32 "agreement": "string",
33 "ourReference": "string",
34 "releaseGroup": "string",
35 "releaseIndicator": "string",
36 "purchasingOrganizationId": 0,
37 "purchasingOrganizationDisplayId": "string",
38 "companyId": 0
39 }
40 ],
41 "number": 0,
42 "sort": {
43 "unsorted": true,
44 "sorted": true,
45 "empty": true
46 },
47 "first": true,
48 "last": true,
49 "empty": true
50}
Purchase Order - Createยถ
HTTP Request
POST /api/v1/purchase-orders
๐ Description: Creates a new purchase order within the financial organization structure, enabling the establishment of hierarchical relationships and management of financial entities.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing the purchase order details, including financial entity identifiers, item specifications, and hierarchical organization structure information. |
Body Parameters
1{
2 "id": 0,
3 "status": "CREATED",
4 "displayId": "string",
5 "erpSystemId": 0,
6 "erpSystemDisplayId": "string",
7 "name": "string",
8 "documentType": "string",
9 "deletionIndicator": "string",
10 "statusOfPurchasingDocument": "string",
11 "vendor": "string",
12 "purchasingGroup": "string",
13 "yourReference": "string",
14 "agreement": "string",
15 "ourReference": "string",
16 "releaseGroup": "string",
17 "releaseIndicator": "string",
18 "purchasingOrganizationId": 0,
19 "purchasingOrganizationDisplayId": "string",
20 "companyId": 0
21}
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 "status": "CREATED",
17 "displayId": "string",
18 "erpSystemId": 0,
19 "erpSystemDisplayId": "string",
20 "name": "string",
21 "documentType": "string",
22 "deletionIndicator": "string",
23 "statusOfPurchasingDocument": "string",
24 "vendor": "string",
25 "purchasingGroup": "string",
26 "yourReference": "string",
27 "agreement": "string",
28 "ourReference": "string",
29 "releaseGroup": "string",
30 "releaseIndicator": "string",
31 "purchasingOrganizationId": 0,
32 "purchasingOrganizationDisplayId": "string",
33 "companyId": 0
34 }
35}
Purchase Order - Get All By Purchase Organizationยถ
HTTP Request
GET /api/v1/purchase-orders/purchase-organization/{id}
๐ Description: Retrieves detailed information about a specific purchase organization within the financial entity hierarchy, identified by the provided ID.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
pageable |
query |
true |
Indicates whether the response should be paginated, allowing for efficient retrieval of purchase orders within the financial organization structure. |
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 "status": "CREATED",
22 "displayId": "string",
23 "erpSystemId": 0,
24 "erpSystemDisplayId": "string",
25 "name": "string",
26 "documentType": "string",
27 "deletionIndicator": "string",
28 "statusOfPurchasingDocument": "string",
29 "vendor": "string",
30 "purchasingGroup": "string",
31 "yourReference": "string",
32 "agreement": "string",
33 "ourReference": "string",
34 "releaseGroup": "string",
35 "releaseIndicator": "string",
36 "purchasingOrganizationId": 0,
37 "purchasingOrganizationDisplayId": "string",
38 "companyId": 0
39 }
40 ],
41 "number": 0,
42 "sort": {
43 "unsorted": true,
44 "sorted": true,
45 "empty": true
46 },
47 "first": true,
48 "last": true,
49 "empty": true
50}
Purchase Order - Get Metadataยถ
HTTP Request
GET /api/v1/purchase-orders/meta
๐ Description: Retrieves metadata related to purchase orders within the financial organization structure, providing insights into the hierarchy and relationships of financial entities.
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 "NAME"
3]
Response Schema
Purchase Order - Find All By System IDยถ
HTTP Request
GET /api/v1/purchase-orders/erp-system/{systemId}
๐ Description: Retrieves purchase order details from the specified ERP system, allowing users to access essential information related to the organizationโs financial structure and hierarchy.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
systemId |
path |
integer(int64) |
true |
Unique identifier for the system |
pageable |
query |
true |
Indicates whether the response should be paginated, facilitating efficient retrieval of purchase orders within the financial organization structure. |
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 "status": "CREATED",
22 "displayId": "string",
23 "erpSystemId": 0,
24 "erpSystemDisplayId": "string",
25 "name": "string",
26 "documentType": "string",
27 "deletionIndicator": "string",
28 "statusOfPurchasingDocument": "string",
29 "vendor": "string",
30 "purchasingGroup": "string",
31 "yourReference": "string",
32 "agreement": "string",
33 "ourReference": "string",
34 "releaseGroup": "string",
35 "releaseIndicator": "string",
36 "purchasingOrganizationId": 0,
37 "purchasingOrganizationDisplayId": "string",
38 "companyId": 0
39 }
40 ],
41 "number": 0,
42 "sort": {
43 "unsorted": true,
44 "sorted": true,
45 "empty": true
46 },
47 "first": true,
48 "last": true,
49 "empty": true
50}