CountryΒΆ
Country - GetΒΆ
HTTP Request
GET /api/v1/countries/{id}
π Description: Retrieves detailed information about a specific financial entity within the organizational structure by its unique identifier, facilitating insights into the hierarchy and relationships of the organization.
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 "schema": "string",
22 "taxJurisdictionEnabled": true,
23 "regionId": 0,
24 "companyId": 0,
25 "taxJurisdictionId": 0,
26 "taxCodeId": 0,
27 "paymentMethodId": 0
28 }
29}
Country - UpdateΒΆ
HTTP Request
PUT /api/v1/countries/{id}
π Description: Updates the details of a specified country within the financial organization structure, allowing for modifications to the hierarchy and attributes of the financial entity.
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 entity details for the specified country, including organizational structure and hierarchy information. |
Body Parameters
1{
2 "id": 0,
3 "status": "CREATED",
4 "displayId": "string",
5 "erpSystemId": 0,
6 "erpSystemDisplayId": "string",
7 "name": "string",
8 "schema": "string",
9 "taxJurisdictionEnabled": true,
10 "regionId": 0,
11 "companyId": 0,
12 "taxJurisdictionId": 0,
13 "taxCodeId": 0,
14 "paymentMethodId": 0
15}
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 "schema": "string",
22 "taxJurisdictionEnabled": true,
23 "regionId": 0,
24 "companyId": 0,
25 "taxJurisdictionId": 0,
26 "taxCodeId": 0,
27 "paymentMethodId": 0
28 }
29}
Country - DeleteΒΆ
HTTP Request
DELETE /api/v1/countries/{id}
π Description: Deletes a specified country from the financial organization structure, ensuring the hierarchy remains accurate and up-to-date for effective management 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}
Country - Delete Or DecommissionΒΆ
HTTP Request
PUT /api/v1/countries/remove/{id}
π Description: Removes a specified country 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}
Country - Delete Or Decommission AllΒΆ
HTTP Request
PUT /api/v1/countries/remove/bulk
π Description: Removes multiple countries from the financial organization structure in a single operation, streamlining the management of hierarchical relationships within financial entities.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
array[integer] |
true |
Request body containing an array of country identifiers to be removed in bulk from the financial organization structure, facilitating updates to the entity 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}
Country - DecommissionΒΆ
HTTP Request
PUT /api/v1/countries/decommission/{id}
π Description: Decommissions a specified country within the financial organization structure, effectively removing it from the active hierarchy of financial entities. This operation ensures that the organizational structure remains current and accurately reflects the operational landscape.
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 "schema": "string",
22 "taxJurisdictionEnabled": true,
23 "regionId": 0,
24 "companyId": 0,
25 "taxJurisdictionId": 0,
26 "taxCodeId": 0,
27 "paymentMethodId": 0
28 }
29}
Country - Decommission By Modification Date BeforeΒΆ
HTTP Request
PUT /api/v1/countries/decommission/modified-before/{modified_before}
π Description: Decommissions countries from the financial organization structure that were modified before the specified date, ensuring the hierarchy remains up-to-date and aligned with current operational needs.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
modified_before |
path |
string(date-time) |
true |
Specifies the date and time before which the financial entityβs organizational structure modifications are to be decommissioned. |
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 "schema": "string",
23 "taxJurisdictionEnabled": true,
24 "regionId": 0,
25 "companyId": 0,
26 "taxJurisdictionId": 0,
27 "taxCodeId": 0,
28 "paymentMethodId": 0
29 }
30 ]
31}
Country - Decommission Before NowΒΆ
HTTP Request
PUT /api/v1/countries/decommission/modified-before-now
π Description: Decommissions countries in the financial organization structure that have been modified before the current date, ensuring the hierarchy remains accurate and up-to-date.
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 "schema": "string",
23 "taxJurisdictionEnabled": true,
24 "regionId": 0,
25 "companyId": 0,
26 "taxJurisdictionId": 0,
27 "taxCodeId": 0,
28 "paymentMethodId": 0
29 }
30 ]
31}
Country - Decommission AllΒΆ
HTTP Request
PUT /api/v1/countries/decommission/bulk
π Description: Decommissions multiple countries from the financial organization structure in a single operation, ensuring updates to the hierarchy and organization alignment are efficiently managed.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
array[integer] |
true |
Request body containing a list of country identifiers and associated metadata for the bulk decommissioning of financial entities within the organizational structure. |
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 "schema": "string",
23 "taxJurisdictionEnabled": true,
24 "regionId": 0,
25 "companyId": 0,
26 "taxJurisdictionId": 0,
27 "taxCodeId": 0,
28 "paymentMethodId": 0
29 }
30 ]
31}
Country - Create Or Update BulkΒΆ
HTTP Request
PUT /api/v1/countries/createOrUpdate/bulk
π Description: Creates or updates multiple country records within the financial organization structure, facilitating the management of hierarchical relationships and ensuring accurate representation of financial entities.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing a bulk array of country data for creating or updating financial entities within the organizational structure and hierarchy. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "erpSystemId": 0,
7 "erpSystemDisplayId": "string",
8 "name": "string",
9 "schema": "string",
10 "taxJurisdictionEnabled": true,
11 "regionId": 0,
12 "companyId": 0,
13 "taxJurisdictionId": 0,
14 "taxCodeId": 0,
15 "paymentMethodId": 0
16 }
17]
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 "schema": "string",
23 "taxJurisdictionEnabled": true,
24 "regionId": 0,
25 "companyId": 0,
26 "taxJurisdictionId": 0,
27 "taxCodeId": 0,
28 "paymentMethodId": 0
29 }
30 ]
31}
Country - Create Or UpdateΒΆ
HTTP Request
PUT /api/v1/countries/createOrUpdate
π Description: Updates or creates a financial entity within the organizational structure by submitting country-specific data. This operation ensures that the hierarchy of financial organizations remains accurate and up-to-date.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing the financial entity details for creating or updating the organizational structure and hierarchy of countries within the financial organization. |
Body Parameters
1{
2 "id": 0,
3 "status": "CREATED",
4 "displayId": "string",
5 "erpSystemId": 0,
6 "erpSystemDisplayId": "string",
7 "name": "string",
8 "schema": "string",
9 "taxJurisdictionEnabled": true,
10 "regionId": 0,
11 "companyId": 0,
12 "taxJurisdictionId": 0,
13 "taxCodeId": 0,
14 "paymentMethodId": 0
15}
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 "schema": "string",
22 "taxJurisdictionEnabled": true,
23 "regionId": 0,
24 "companyId": 0,
25 "taxJurisdictionId": 0,
26 "taxCodeId": 0,
27 "paymentMethodId": 0
28 }
29}
Country - Bulk UpdateΒΆ
HTTP Request
PUT /api/v1/countries/bulk
π Description: Updates multiple country records within the financial organization structure, allowing for efficient management of hierarchical relationships among financial entities.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing a bulk update of country data, including organizational structure and hierarchy details for financial entities. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "erpSystemId": 0,
7 "erpSystemDisplayId": "string",
8 "name": "string",
9 "schema": "string",
10 "taxJurisdictionEnabled": true,
11 "regionId": 0,
12 "companyId": 0,
13 "taxJurisdictionId": 0,
14 "taxCodeId": 0,
15 "paymentMethodId": 0
16 }
17]
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 "schema": "string",
23 "taxJurisdictionEnabled": true,
24 "regionId": 0,
25 "companyId": 0,
26 "taxJurisdictionId": 0,
27 "taxCodeId": 0,
28 "paymentMethodId": 0
29 }
30 ]
31}
Country - Bulk CreateΒΆ
HTTP Request
POST /api/v1/countries/bulk
π Description: Submits a bulk upload of country data to establish or update the financial organization structure, enabling efficient management of hierarchical relationships within financial entities.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing an array of country data entries, each representing a financial entityβs organizational structure and hierarchy for bulk processing. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "erpSystemId": 0,
7 "erpSystemDisplayId": "string",
8 "name": "string",
9 "schema": "string",
10 "taxJurisdictionEnabled": true,
11 "regionId": 0,
12 "companyId": 0,
13 "taxJurisdictionId": 0,
14 "taxCodeId": 0,
15 "paymentMethodId": 0
16 }
17]
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 "schema": "string",
23 "taxJurisdictionEnabled": true,
24 "regionId": 0,
25 "companyId": 0,
26 "taxJurisdictionId": 0,
27 "taxCodeId": 0,
28 "paymentMethodId": 0
29 }
30 ]
31}
Country - Bulk DeleteΒΆ
HTTP Request
DELETE /api/v1/countries/bulk
π Description: Deletes multiple country entries from the financial organization structure, allowing for streamlined management of the hierarchy within financial entities.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
array[integer] |
true |
Request body containing a list of country identifiers to be deleted from the financial organization structure, ensuring the integrity of the hierarchy and compliance with organizational standards. |
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}
Country - Update Tax Jurisdiction EnabledΒΆ
HTTP Request
POST /api/v1/countries/updateTaxJurisdictionEnabled
π Description: Updates the tax jurisdiction status for specified countries within the financial organization structure, enabling or disabling tax compliance features as needed for effective hierarchy management.
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}
Country - SearchΒΆ
HTTP Request
POST /api/v1/countries/search
π Description: Submits a request to search for countries within the financial organization structure, allowing users to identify and analyze hierarchical relationships among 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 identifying financial entities within the organizational structure and hierarchy of countries. |
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 "schemaLike": "string",
30 "schemaEqual": "string",
31 "taxJurisdictionEnabledEqual": true,
32 "regionIdEqual": 0,
33 "companyIdEqual": 0,
34 "taxJurisdictionIdEqual": 0,
35 "taxCodeIdEqual": 0,
36 "paymentMethodIdEqual": 0
37}
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 "schema": "string",
27 "taxJurisdictionEnabled": true,
28 "regionId": 0,
29 "companyId": 0,
30 "taxJurisdictionId": 0,
31 "taxCodeId": 0,
32 "paymentMethodId": 0
33 }
34 ],
35 "number": 0,
36 "sort": {
37 "unsorted": true,
38 "sorted": true,
39 "empty": true
40 },
41 "first": true,
42 "last": true,
43 "empty": true
44}
Country - Search By SchemaΒΆ
HTTP Request
POST /api/v1/countries/schema/{schema}
π Description: Creates a new country schema within the financial organization structure, enabling the definition of hierarchical relationships and attributes for financial entities.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
schema |
path |
string |
true |
Specifies the schema type for the financial organization structure, enabling the accurate representation of the hierarchy and relationships within financial entities. |
erpSystemId |
query |
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 "id": 0,
16 "status": "CREATED",
17 "displayId": "string",
18 "erpSystemId": 0,
19 "erpSystemDisplayId": "string",
20 "name": "string",
21 "schema": "string",
22 "taxJurisdictionEnabled": true,
23 "regionId": 0,
24 "companyId": 0,
25 "taxJurisdictionId": 0,
26 "taxCodeId": 0,
27 "paymentMethodId": 0
28 }
29}
Country - Detach RegionΒΆ
HTTP Request
POST /api/v1/countries/detach/region/{region_id}
π Description: Detaches a specified region from the financial organization structure, facilitating the reorganization of entities within the hierarchy. This operation is essential for maintaining accurate and efficient management of organizational relationships.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
region_id |
path |
integer(int64) |
true |
Unique identifier for the specific region within the financial organization structure, used to detach it from the associated country hierarchy. |
body |
body |
true |
Request body containing the details of the financial entity to be detached from the specified region, including relevant identifiers and metadata for organizational hierarchy management. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "erpSystemId": 0,
7 "erpSystemDisplayId": "string",
8 "name": "string",
9 "schema": "string",
10 "taxJurisdictionEnabled": true,
11 "regionId": 0,
12 "companyId": 0,
13 "taxJurisdictionId": 0,
14 "taxCodeId": 0,
15 "paymentMethodId": 0
16 }
17]
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}
Country - Detach CompanyΒΆ
HTTP Request
POST /api/v1/countries/detach/company/{company_id}
π Description: Detaches a specified company from its associated country within the financial organization structure, facilitating updates to the hierarchy and organizational alignment.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
company_id |
path |
integer(int64) |
true |
Unique identifier for the financial entity within the organizational structure, used to detach the specified company from its associated country. |
body |
body |
true |
Request body containing the details of the financial entity to be detached from the specified company, including relevant organizational hierarchy information. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "erpSystemId": 0,
7 "erpSystemDisplayId": "string",
8 "name": "string",
9 "schema": "string",
10 "taxJurisdictionEnabled": true,
11 "regionId": 0,
12 "companyId": 0,
13 "taxJurisdictionId": 0,
14 "taxCodeId": 0,
15 "paymentMethodId": 0
16 }
17]
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}
Country - Attach RegionΒΆ
HTTP Request
POST /api/v1/countries/attach/region/{region_id}
π Description: Attaches a specified region to the financial organization structure, facilitating the alignment of organizational hierarchy and enhancing the management of financial entities.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
region_id |
path |
integer(int64) |
true |
Unique identifier for the specific region within the financial organization structure, used to attach a country to its corresponding regional hierarchy. |
body |
body |
true |
Request body containing the financial entity data necessary to associate a specified region with the organizational structure and hierarchy. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "erpSystemId": 0,
7 "erpSystemDisplayId": "string",
8 "name": "string",
9 "schema": "string",
10 "taxJurisdictionEnabled": true,
11 "regionId": 0,
12 "companyId": 0,
13 "taxJurisdictionId": 0,
14 "taxCodeId": 0,
15 "paymentMethodId": 0
16 }
17]
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}
Country - Attach CompanyΒΆ
HTTP Request
POST /api/v1/countries/attach/company/{company_id}
π Description: Attaches a specified company to a country within the financial organization structure, facilitating the establishment of hierarchical relationships and organizational alignment for financial entities.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
company_id |
path |
integer(int64) |
true |
Unique identifier for the financial entity within the organizational structure, used to attach country-specific data. |
body |
body |
true |
Request body containing the country association details for the specified company, including relevant organizational hierarchy and financial entity information. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "erpSystemId": 0,
7 "erpSystemDisplayId": "string",
8 "name": "string",
9 "schema": "string",
10 "taxJurisdictionEnabled": true,
11 "regionId": 0,
12 "companyId": 0,
13 "taxJurisdictionId": 0,
14 "taxCodeId": 0,
15 "paymentMethodId": 0
16 }
17]
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}
Country - Find AllΒΆ
HTTP Request
GET /api/v1/countries
π Description: Retrieves a list of countries relevant to the financial organization structure, providing essential data for understanding the hierarchy and operational context of financial entities.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
pageable |
query |
true |
Indicates whether the results of the country hierarchy retrieval should be paginated, facilitating efficient navigation through 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 "schema": "string",
27 "taxJurisdictionEnabled": true,
28 "regionId": 0,
29 "companyId": 0,
30 "taxJurisdictionId": 0,
31 "taxCodeId": 0,
32 "paymentMethodId": 0
33 }
34 ],
35 "number": 0,
36 "sort": {
37 "unsorted": true,
38 "sorted": true,
39 "empty": true
40 },
41 "first": true,
42 "last": true,
43 "empty": true
44}
Country - CreateΒΆ
HTTP Request
POST /api/v1/countries
π Description: Creates a new country entry within the financial organization structure, facilitating the establishment of hierarchical relationships among financial entities.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing the details of the financial entityβs country structure, including hierarchical relationships and organizational attributes. |
Body Parameters
1{
2 "id": 0,
3 "status": "CREATED",
4 "displayId": "string",
5 "erpSystemId": 0,
6 "erpSystemDisplayId": "string",
7 "name": "string",
8 "schema": "string",
9 "taxJurisdictionEnabled": true,
10 "regionId": 0,
11 "companyId": 0,
12 "taxJurisdictionId": 0,
13 "taxCodeId": 0,
14 "paymentMethodId": 0
15}
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 "schema": "string",
22 "taxJurisdictionEnabled": true,
23 "regionId": 0,
24 "companyId": 0,
25 "taxJurisdictionId": 0,
26 "taxCodeId": 0,
27 "paymentMethodId": 0
28 }
29}
Country - Get All By RegionΒΆ
HTTP Request
GET /api/v1/countries/region/{region_id}
π Description: Retrieves a list of countries associated with a specified region, facilitating the understanding of the financial organization structure and hierarchy within that geographical context.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
region_id |
path |
integer(int64) |
true |
Unique identifier for the specified region within the financial organization structure, used to retrieve hierarchical data related to that region. |
pageable |
query |
true |
Indicates whether the results should be returned in a paginated format, facilitating efficient retrieval of financial entity data by region. |
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 "schema": "string",
27 "taxJurisdictionEnabled": true,
28 "regionId": 0,
29 "companyId": 0,
30 "taxJurisdictionId": 0,
31 "taxCodeId": 0,
32 "paymentMethodId": 0
33 }
34 ],
35 "number": 0,
36 "sort": {
37 "unsorted": true,
38 "sorted": true,
39 "empty": true
40 },
41 "first": true,
42 "last": true,
43 "empty": true
44}
Country - Get MetadataΒΆ
HTTP Request
GET /api/v1/countries/meta
π Description: Retrieves metadata for countries within the financial organization structure, providing essential information for understanding the organizational hierarchy and financial entities.
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 "NAME"
3]
Response Schema
Country - Find All By System IDΒΆ
HTTP Request
GET /api/v1/countries/erp-system/{systemId}
π Description: Retrieves the organizational structure of financial entities associated with a specified ERP system, providing insights into the hierarchy and relationships within the organization.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
systemId |
path |
integer(int64) |
true |
Unique identifier for the system |
pageable |
query |
true |
Indicates whether the results should be returned in a paginated format, facilitating efficient navigation through the financial organization structure of the specified ERP system. |
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 "schema": "string",
27 "taxJurisdictionEnabled": true,
28 "regionId": 0,
29 "companyId": 0,
30 "taxJurisdictionId": 0,
31 "taxCodeId": 0,
32 "paymentMethodId": 0
33 }
34 ],
35 "number": 0,
36 "sort": {
37 "unsorted": true,
38 "sorted": true,
39 "empty": true
40 },
41 "first": true,
42 "last": true,
43 "empty": true
44}
Country - Get All By CompanyΒΆ
HTTP Request
GET /api/v1/countries/company/{company_id}
π Description: Retrieves the list of countries associated with a specified company, providing insights into the organizationβs financial structure and hierarchical relationships within its global operations.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
company_id |
path |
integer(int64) |
true |
Unique identifier for the financial entity within the organizational structure, used to retrieve country-specific information related to the specified company. |
pageable |
query |
true |
Indicates whether the response should be paginated, allowing for efficient retrieval of country data associated with the specified financial entity. |
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 "schema": "string",
27 "taxJurisdictionEnabled": true,
28 "regionId": 0,
29 "companyId": 0,
30 "taxJurisdictionId": 0,
31 "taxCodeId": 0,
32 "paymentMethodId": 0
33 }
34 ],
35 "number": 0,
36 "sort": {
37 "unsorted": true,
38 "sorted": true,
39 "empty": true
40 },
41 "first": true,
42 "last": true,
43 "empty": true
44}