2. Resources
2.1. Import-orders-controller
Import Orders Controller
2.1.1. Import Assignment Lots
POST /importOrders/importAssignmentLots
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Body |
importRequestInfo |
Import assignment lots jobs in JSON format. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
202 |
Accepted |
object |
400 |
Bad Request |
No Content |
401 |
Unauthorized |
No Content |
500 |
Internal server error |
No Content |
2.1.2. Import BOM
POST /importOrders/importBOMJobs
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Body |
input |
Import BOM jobs in JSON format. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
202 |
Accepted |
object |
400 |
Bad Request |
No Content |
401 |
Unauthorized |
No Content |
500 |
Internal server error |
No Content |
2.1.3. Import Data Entry Plan
POST /importOrders/importDataEntryPlanJobs
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Body |
importRequestInfo |
Import Data Entry Plan jobs jobs in JSON format. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
202 |
Accepted |
object |
400 |
Bad Request |
No Content |
401 |
Unauthorized |
No Content |
500 |
Internal server error |
No Content |
2.1.4. Import Material
POST /importOrders/importMaterialJobs
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Body |
input |
Import Material jobs in XML or JSON format. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
202 |
Accepted |
object |
400 |
Bad Request |
No Content |
401 |
Unauthorized |
No Content |
500 |
Internal server error |
No Content |
2.1.5. Import MaterialLot
POST /importOrders/importMaterialLotJobs
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Body |
input |
Import Material Lot jobs in XML or JSON format. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
202 |
Accepted |
object |
400 |
Bad Request |
No Content |
401 |
Unauthorized |
No Content |
500 |
Internal server error |
No Content |
2.1.6. Import OSP
POST /importOrders/importOSPJobs
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Body |
input |
Import OSP jobs in XML or JSON format. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
202 |
Accepted |
object |
400 |
Bad Request |
No Content |
401 |
Unauthorized |
No Content |
500 |
Internal server error |
No Content |
2.1.7. Import ProcessOrder
POST /importOrders/importProcessOrderJobs
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Body |
input |
Import ProcessOrder in XML or JSON format. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
202 |
Accepted |
object |
400 |
Bad Request |
No Content |
401 |
Unauthorized |
No Content |
500 |
Internal server error |
No Content |
2.1.8. Import Qualification
POST /importOrders/importQualificationJobs
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Body |
importRequestInfo |
Import Qualification jobs in JSON format. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
202 |
Accepted |
object |
400 |
Bad Request |
No Content |
401 |
Unauthorized |
No Content |
500 |
Internal server error |
No Content |
2.1.9. Import Route
POST /importOrders/importRouteJobs
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Body |
input |
Import Route in JSON format. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
202 |
Accepted |
object |
400 |
Bad Request |
No Content |
401 |
Unauthorized |
No Content |
500 |
Internal server error |
No Content |
2.1.10. Import Tool
POST /importOrders/importToolJobs
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Body |
importRequestInfo |
Import Tool jobs in JSON format. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
202 |
Accepted |
object |
400 |
Bad Request |
No Content |
401 |
Unauthorized |
No Content |
500 |
Internal server error |
No Content |
2.1.11. Import User Qualification
POST /importOrders/importUserQualificationJobs
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Body |
importRequestInfo |
Import User Qualification jobs in JSON format. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
202 |
Accepted |
object |
400 |
Bad Request |
No Content |
401 |
Unauthorized |
No Content |
500 |
Internal server error |
No Content |
2.1.12. Import WorkOrder
POST /importOrders/importWorkOrderJobs
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Body |
input |
Import Work Order documents in XML or JSON format. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
202 |
Accepted |
object |
400 |
Bad Request |
No Content |
401 |
Unauthorized |
No Content |
500 |
Internal server error |
No Content |
2.1.13. Get the status of the submitted job
GET /importOrders/importedJobs
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Query |
jobIds |
Job Ids |
< integer (int64) > array(multi) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Ok |
|
401 |
Unauthorized |
No Content |
404 |
Not found |
No Content |
500 |
Internal server error |
No Content |
2.1.14. Get message of the specified jobId.
GET /importOrders/importedJobs/{jobId}/message
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
jobId |
jobId |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Ok |
|
401 |
Unauthorized |
No Content |
404 |
Not found |
No Content |
500 |
Internal server error |
No Content |
3. Definitions
4. Security
4.1. access_token
Type : oauth2
Flow : accessCode
Token URL : https://10.181.213.180/uaa/oauth/authorize
Token URL : https://10.181.213.180/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.2. implicit_grant
Type : oauth2
Flow : implicit
Token URL : https://10.181.213.180/uaa/oauth/authorize
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.3. resource_owner
Type : oauth2
Flow : password
Token URL : https://10.181.213.180/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.4. client_creds
Type : oauth2
Flow : application
Token URL : https://10.181.213.180/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |