Programming the machines
For each machine, these programming actions are required:
- svc_ln credentials
-
Each machine must be programmed to use the svc_ln credentials from the downloaded
.ionapi
file to send API messages to LN. - X-Infor-LnCompany headers
-
Each machine must be programmed to add an appropriate X-Infor-LnCompany header to every request it sends. This header must contain the company number in which the request is executed.
- Machines 1- 5 perform operations in company 0100.
You must program these machines to add X-Infor-LnCompany= 0100 to every request they send.
- Machines 6- 12 perform operations in company 0200.
You must program these machines to add X-Infor-LnCompany= 0200 to every request they send.
- Machines 13- 20 perform operations in company 0300.
You must program these machines to add X-Infor-LnCompany= 0300 to every request they send.
- Machines 1- 5 perform operations in company 0100.
- X-Infor-LnIdentity headers
-
You must program each machine to add an X-Infor-LnIdentity header to every request it sends. This header must contain the machine’s API identity.
For example:
- You must program machine 1 to add X-Infor-LnIdentity = lnapi_mach_1 to every request it sends.
- You must program machine 2 to add X-Infor-LnIdentity = lnapi_mach_2 to every request it sends.
- You must program machine 3 to add X-Infor-LnIdentity = lnapi_mach_3 to every request it sends.