Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell PowerStore REST API Developers Guide

PDF

JSON create response body

A JSON create response body occurs in response to a POST operation for create that results in a 201 Created HTTP return code. This response body contains the id attribute for the new resource.

Example

Create response for a local_user

The following examples illustrate the components of a minimal instance resource. It shows a minimal instance resource returned in response to a successful POST request for creating a new local_user resource. The request body contains the arguments used to populate the new resource.

Table 1. Create response for a local_userProvides an example of a create response for a local_user.
Request and response Request and response example
Request
POST https://1.2.3.4/api/rest/local_user
Request body
{
  "name": "User1",
  "password": "myPassword",  
  "role_id": "1" 
} 
Response
{
  "id": "4"
}

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\