Workorders

Proxy to MySimWS


Parameters

Name In Type Required Description
body body ChangeOrderRequest true ‘none’

Request body - instance of ChangeOrderRequest

1
2
3
4
5
6
7
{
  "seller": "string",
  "workorderid": "string",
  "reason": "string",
  "parameters": "string",
  "changetype": "string"
}
Name Type Required Description
seller string true none
workorderid string true none
reason string false none
parameters string false none
changetype string true none

Request example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13

curl -X POST https://customers.sta.masstack.com/v2/workorders/change-order \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "x-auth-roles: API_KEY" \
 --data-raw "{
  'seller': 'string',
  'workorderid': 'string',
  'reason': 'string',
  'parameters': 'string',
  'changetype': 'string'
}" 

Responses

Code Meaning Description Schema
200 OK successful operation ChangeOrderResponse
400 Bad Request Invalid request body ErrorMessage
404 Not Found Resource not found ErrorMessage
405 Method Not Allowed Method not allowed None

200 - instance of ChangeOrderResponse

Custom schema example

1
2
3
4
5
6
7
{
  "errorVO": {
    "error_code": "string",
    "error_description": "string",
    "operation_date": "string"
  }
}
Name Type Required Description
errorVO ErrorVO false none

Endpoints

Signups

    Users

      Accounts

        Invoices

          Terms

            Payment info

              Account migrations

                Subscriptions

                  Products

                    Services

                      Bonuses

                        Promotions

                          Barrings

                            Consumption

                              Workorders

                                Penalties