Tasks Controller Resource

POST /inventory/create-scoped

Request Body
media type data type
application/json ScopedInventoryCreateRequest (JSON)
Response Body
media type data type description
application/json array of TaskDetails (JSON)

Example

Request
POST /inventory/create-scoped
Content-Type: application/json
Accept: application/json

                
{ }
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
[ {
  "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
  "type" : {
    "name" : "ENUM_NAME",
    "description" : "Enum description"
  },
  "state" : {
    "name" : "ENUM_NAME",
    "description" : "Enum description"
  },
  "windowStart" : 1451649601000,
  "windowEnd" : 1451677502000,
  "creationTime" : 1451649601000,
  "finishTime" : 1451677502000,
  "progress" : 66.5,
  "priority" : 50,
  "backupType" : {
    "name" : "ENUM_NAME",
    "description" : "Enum description"
  }
} ]
                
              

POST /inventory/scoped-inventory

Request Body
media type data type
application/json ScopedInventoryDTO (JSON)

Example

Request
POST /inventory/scoped-inventory
Content-Type: application/json

                
{ }
                
              
Response
HTTP/1.1 201 Created