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

{
    "access_token":"eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJrcmJUeXU4b1lVUjZPcHlrd0pIMDNfN1IxS194MHU1ZnUwQ3hlSGliTThrIn0.eyJleHAiOjE2MjE4NTE5NTQsImlhdCI6MTYyMTg1MTY1NCwianRpIjoiMzZjMDE2NTYtODhkNC00NDIxLThiYmQtMDhjMDE1MGMwYjFkIiwiaXNzIjoiaHR0cHM6Ly9hdXRoLmRldi5pbmR1c3RyeWFwcHMubmV0L2F1dGgvcmVhbG1zL0FwcFN0b3JlIiwiYXVkIjoiYWNjb3VudCIsInN1YiI6IjlmM2UzMmM2LWYyMjMtNDNjMy04YjkwLTA2NDc3Nzg4ZTcyNyIsInR5cCI6IkJlYXJlciIsImF6cCI6InNlbnNvci5tb2ludG9yIiwiYWNyIjoiMSIsInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJvZmZsaW5lX2FjY2VzcyIsInVtYV9hdXRob3JpemF0aW9uIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsic2Vuc29yLm1vaW50b3IiOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoicHJvZmlsZSBlbWFpbCIsImNsaWVudEhvc3QiOiIxNzIuMjUuMC4xIiwiY2xpZW50SWQiOiJzZW5zb3IubW9pbnRvciIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoic2VydmljZS1hY2NvdW50LXNlbnNvci5tb2ludG9yIiwiY2xpZW50QWRkcmVzcyI6IjE3Mi4yNS4wLjEifQ.pKSqIFb9VcmbQQe-tBbKELuV-EWSeRSa6BhlVQs3iwKS6vExtoBkauFV1stNLt1SE_KMNpY4UcOqua_p0hnm51jwy-U55NMlSyxIysarA1Kkylc8UScYfk6R4vBXLcaaJBA8qvGvBSf_ZjR1pCQqGwPL-EXOqojP49PCtsfDaMkDZ70037Yj7s7aISRFSm6jNOem679_Qi52WupSyIyqUv8u4S-licXOPO6Na-4X_NwKhByE9ET_Zw9zZFxFremcahafLyMQcU36dD8UrNx7DRIF06vQsMkAhbQ4FhT16uXjbAY_-usUfif882lUy9HmJDRRl-sZU_Obnj4v0-4nGA",
    "expires_in":300,
    "refresh_expires_in":0,
    "token_type":"Bearer",
    "not-before-policy":0,
    "scope":"profile email"
}

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

UserToken*

Bearer user_token

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

UserToken*

Bearer user_token

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

UserToken*

Bearer user_token

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

UserToken*

Bearer user_token

Request Body

Name
Type
Description

requestParameter*

{ "SubWorkOrderID" : 13616 }

WorkOrder Id

plantList*

[1]

List of plant IDs

Last updated