Transactional data
Transactional operations data
Generation Access Token
Access token can be generated using a REST API.
Token Generation
POST
https://auth.uat.industryapps.net/auth/realms/IndustryApps/protocol/openid-connect/token
Access Token generated in the response will be set in all AAS master data request header.
Headers
Name | Type | Description |
---|---|---|
content-type* | application/x-www-form-urlencoded | Submit data as form |
Request Body
Name | Type | Description |
---|---|---|
grant_type* | client_credentials | |
client_id* | String | Will be available in the App Information page |
client_secret* | String | Will be available in the App Information page |
Transactional APIs
Purchase Order List
Purchase Order List
POST
https://connect.dev.industryapps.net/platform-api/v1/inbound/purchase-order-list
Returns all purchase orders
Headers
Name | Type | Description |
---|---|---|
Authorization* | Bearer auth_token | Provide the generated token |
UserToken* | Bearer user_token | Provide the token received from the user data javascript method |
Request Body
Name | Type | Description |
---|---|---|
plantList* | [1] | List of plant IDs |
metadata* | { "pagePosition" : 1, "pageSize" : 15 } | Page number and position for paged response |
toDate | String | filter by to date (timestamp) |
fromDate | String | filter by from date (timestamp) |
frequency | String | Allowed values are D - Daily W - Weekily M - Monthly Y - Yearly |
Purchase Order Details
Purchase Order Details
POST
https://connect.dev.industryapps.net/platform-api/v1/inbound/purchase-order-details
Headers
Name | Type | Description |
---|---|---|
Authorization* | Bearer auth_token | Provide the generated token |
UserToken* | Bearer user_token | Provide the token received from the user data javascript method |
Request Body
Name | Type | Description |
---|---|---|
orderId* | String | Order Id |
today | String | timestamp now |
plantList | [1] | List of plant IDs |
Production Order List
Production Order List
POST
https://connect.dev.industryapps.net /platform-api/v1/manufacturing/production-order-list
List of Production Orders
Headers
Name | Type | Description |
---|---|---|
Authorization* | Bearer auth_token | Provide the generated token |
UserToken* | Bearer user_token | Provide the token received from the user data javascript method |
Request Body
Name | Type | Description |
---|---|---|
fromDate | String | filter by from date (timestamp) |
toDate | String | filter by to date (timestamp) |
rangeType | 5D | |
type | A | |
workOrderNo | String | WorkOrder number |
lineId | String | |
status | String | Allowed Status are P - Pending S - Scheduled I - In Progress C - Complete |
productCode | String | Product Code |
toolId | String | Tool Id |
machineId | String | Machine Id |
metadata* | { "pageSize" : 10, "pagePosition" : 1 } | Page number and position for paged response |
processTypeId* | 1 | Process Type Id 1 - Diecasting 2 - Shotblasting 3 - Trimming |
plantList* | [1] | List of plant IDs |
Production Order Details
Production Order Details
POST
https://connect.dev.industryapps.net /platform-api/v1/manufacturing/production-orderdetails
Headers
Name | Type | Description |
---|---|---|
Authorization* | Bearer auth_token | Provide the generated token |
UserToken* | Bearer user_token | Provide the token received from the user data javascript method |
Request Body
Name | Type | Description |
---|---|---|
requestParameter* | { "SubWorkOrderID" : 13616 } | WorkOrder Id |
plantList* | [1] | List of plant IDs |
Last updated