Body Required

  • validateOnly boolean
  • serviceType integer(int32)
  • coupon string

Body Required

  • validateOnly boolean
  • serviceType integer(int32)
  • coupon string

Responses

  • 200 application/json

    Response from the backup order call

    Hide response attributes Show response attributes object
    • continue boolean
    • errors array
    • total_cost string
    • iid string
    • iids array[string]
    • real_iids array[string]
    • serviceId integer(int32)
    • invoice_description string
    • cj_params object
      Hide cj_params attributes Show cj_params attributes object
      • containerTagId string
      • CID string
      • OID string
      • TYPE string
      • ITEM1 string
      • AMT1 string
      • QTY1 integer(int32)
      • CURRENCY string
  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code string Required
    • message string Required
  • default

    Default response

POST /backups/order
curl \
 --request POST 'https://my.interserver.net/apiv2/backups/order' \
 --header "X-API-KEY: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"coupon":"","serviceType":10831,"validateOnly":true}'
curl \
 --request POST 'https://my.interserver.net/apiv2/backups/order' \
 --header "X-API-KEY: $API_KEY" \
 --header "Content-Type: multipart/form-data" \
 --form "coupon=" \
 --form "serviceType=10831" \
 --form "validateOnly=true"
Request examples
{
  "coupon": "",
  "serviceType": 10831,
  "validateOnly": true
}
Response examples (200)
{
  "iid": "25296597",
  "iids": [
    "SERVICEbackups40464"
  ],
  "errors": [],
  "continue": true,
  "cj_params": {
    "CID": "1525038",
    "OID": "backups40464",
    "AMT1": "3.00",
    "QTY1": 1,
    "TYPE": "355669",
    "ITEM1": "backups10831",
    "CURRENCY": "USD",
    "containerTagId": "1684"
  },
  "real_iids": [
    "25296597"
  ],
  "serviceId": 40464,
  "total_cost": "3.00",
  "invoice_description": "Storage ST 100"
}
Response examples (401)
{
  "code": "string",
  "message": "string"
}