Передача статуса срочного заказа

Для получениея списка срочных заказов необходимо сделать запрос на /v1/putstatuses/ с контейнером следующего вида:

        
{
    "putstatuses": {
        "auth": {
            "attributes": {
                "login": "test",
                "pass": "test"
            },
            "value": false
        },
        "order":[
            {
                "attributes": {
                    "code": "47153402",
                    "status":"handed",
                    "courier_name":"Alex Dich"
                }
            },
            {
                "attributes": {
                    "code": "47153402",
                    "status":"delivered"
                }
            }
        ]
    }
}
    

Поле status может принимать следующие значения:

Пример ответа API при успешном запросе:

        
{
    "putstatuses": {
        "order": [
            {
                "attributes": {
                    "success": "true",
                    "message": "order handed",
                    "code": "47154068"
                }
            }
        ]
    }
}

    

Пример ответа API при неудачном запросе:

        
{
    "putstatuses": {
        "order": [
            {
                "attributes": {
                    "success": "false",
                    "message": "can't cancell delivered order",
                    "code": "47154068"
                }
            }
        ]
    }
}