Run through postman to do the testing click HERE to view sample exectution.
ENDPOINT | PARAMS | RESPONSE | Explantion |
---|---|---|---|
POST : http://13.214.222.76/api/machines/add-or-retrieve | None |
Always trigger that in when you landed to the create machine and that will automatically create new machine in the backend, then use that new machine created in the backend as order #. In addition while creating a new machine, you are not actually creating it but you are always updating it. Screenshot response after calling this endpoint https://prnt.sc/ynPb4HR3woHW |
|
POST : http://13.214.222.76/api/users/login | username operator@eaas.com password password |
data.token : string data.user.permission_can_add_machine : bool data.user.permission_can_edit_machine : bool data.user.name : string data.user.role.name : string |
Users: manager@eaas.com, evaluator@eaas.com, refurbisher@eaas.com, commissioner@eaas.com, supplier@eaas.com, customer@eaas.com |