1. Overview
Microservice containing the business logic for managing erp-export-service.
Descriptions of these functions can be found in the section headers for each collection of relevant resources.
2. Resources
2.1. Export-data-entry-plan-controller
Export Data Entry Plan Controller
2.1.1. Get exported of a data entry plan.
GET /exportDataEntryPlans/{dataEntryPlanId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
dataEntryPlanId |
ID of the data entry plan to export |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
404 |
Not Found |
|
500 |
Internal Server Error |
No Content |
2.2. Export-route-controller
Export Route Controller
2.2.1. Get exported route details.
GET /exportRoutes/{routeId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
routeId |
routeId |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Ok |
string |
401 |
Unauthorized |
No Content |
404 |
Not found |
No Content |
500 |
Internal server error |
No Content |
3. Definitions
3.1. Error
Error details.
Name | Description | Schema |
---|---|---|
code |
string |
|
details |
Details of the error. |
object |
3.2. ExportDataInfo
Name | Description | Schema |
---|---|---|
content |
Exported entity in original form |
string |
contentMediaType |
Media type of the content |
string |
exportMetadata |
Export meta-data to convert exported IDs to local IDs |
3.3. ExportMetadata
Name | Schema |
---|---|
modelProperties |
< ExportModelProperties > array |
sourceProperties |
< ExportSourceProperties > array |
3.5. ExportSourceProperties
Name | Schema |
---|---|
context |
object |
propertyPath |
string |
sourceName |
string |
sourceValue |
string |
transformation |
string |
4. Security
4.1. access_token
Type : oauth2
Flow : accessCode
Token URL : http://uaa:8080/uaa=/oauth/authorize
Token URL : http://uaa:8080/uaa=/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.2. implicit_grant
Type : oauth2
Flow : implicit
Token URL : http://uaa:8080/uaa=/oauth/authorize
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.3. resource_owner
Type : oauth2
Flow : password
Token URL : http://uaa:8080/uaa=/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.4. client_creds
Type : oauth2
Flow : application
Token URL : http://uaa:8080/uaa=/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |