Table Of Contents

Previous topic

Martech Service Manager API

Next topic

SL3 Cloud User API

ServMG API functions

orderstatus

Check status of order from your service.

method:POST

Params:

login:order number (from ticket)
password:password (from ticket)

Example:

curl 'http://app.servmg.com/en/api/orderstatus/' \
  --data-urlencode login='01/1' \
  --data-urlencode password='1234' \

Response:

{
    "status": true,
    "msg": {
        "comment": "",
        "fault_description": "...",
        "created": "2013-02-17 14:06",
        "device_model": "...",
        "expected_fix_date": "2013-02-24",
        "order_state": "...",
        "device_serial": "1234"
    }
}

If you entered wrong order number or password.

{
    "status": false,
    "msg": "Incorrect order number or password"
}