2. Resources
2.1. Transformation-controller
Transformation Controller
2.1.1. Stores Mapping Specification.
POST /v1/mappingSpecifications
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
201 |
Created |
object |
400 |
Bad Request |
|
401 |
Unauthorized |
|
500 |
Internal Server Error |
2.1.2. Get Mapping Specifications
GET /v1/mappingSpecifications
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
messageType |
messageType |
enum (WorkOrder, Material, ProcessOrder, MaterialLot, Osp) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< MappingSpecificationInfo > array |
400 |
Bad Request |
|
401 |
Unauthorized |
2.1.3. Get Mapping Specification by MappingSpecificationId
GET /v1/mappingSpecifications/{id}
2.1.4. Transform the given B2MML/XML to WOID/MMID/POID/MLID/OSP
POST /v1/mappingSpecifications/{id}/transform
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
id |
id |
integer (int64) |
Body |
b2mml |
b2mml |
string |
2.1.5. Transform the given JSON to XML
POST /v1/transform
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
string |
400 |
Bad Request |
|
401 |
Unauthorized |
|
422 |
Unprocessable entity |
3. Definitions
3.1. Error
Error details.
Name | Description | Schema |
---|---|---|
code |
string |
|
details |
Details of the error. |
object |
3.2. EventInfo
EventInfo to transform JSON to XML.
Name | Description | Schema |
---|---|---|
eventType |
Event type |
string |
message |
Event Message |
string |
3.3. HttpErrorResponse
Http Error response.
Name | Description | Schema |
---|---|---|
error |
Error details |
|
path |
URL at which error occured. |
string |
timestamp |
Timestamp at which error occured |
string |
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. resource_owner
Type : oauth2
Flow : password
Token URL : https://10.181.213.180/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.3. implicit_grant
Type : oauth2
Flow : implicit
Token URL : https://10.181.213.180/uaa/oauth/authorize
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. |