Create a Sandbox

02/13/2020 | Less than 1 minute to read

Info Note

API TYPE: POST
End Point: POST /org/{orgUuid}/user/{userUuid}/sandbox/add
Description: To Create a Sandbox

Request (Create a Sandbox)

02/13/2020 | 3 minutes to read


Parameters
orgUuid, userUuid
Parameter Value Description DataType
orgUuid required UUID Format String
userUuid required UUID Format String


{
  "data": [
    {
      "createdOn": "yyyy-MM-dd'T'HH:mm:ss*SSSZ",
      "description": "string",
      "deviceUuid": "string",
      "from": 0,
      "isActive": true,
      "isDataMocked": true,
      "name": "string",
      "organizationUuid": "string",
      "sandboxDetails": [
        {
          "attributeName": "string",
          "createdOn": "yyyy-MM-dd'T'HH:mm:ss*SSSZ",
          "dataMethodCodeUuid": "string",
          "generationCode": {
            "clazz": "string",
            "codeIdentifier": "string",
            "codeType": {
              "clazz": "string",
              "codeTypeIdentifier": "string",
              "codes": [
                {}
              ],
              "createdOn": "yyyy-MM-dd'T'HH:mm:ss*SSSZ",
              "isActive": true,
              "longDescription": "string",
              "shortDescription": "string",
              "updatedOn": "yyyy-MM-dd'T'HH:mm:ss*SSSZ",
              "uuid": "string",
              "value": "string"
            },
            "createdOn": "yyyy-MM-dd'T'HH:mm:ss*SSSZ",
            "isActive": true,
            "longDescription": "string",
            "shortDescription": "string",
            "updatedOn": "yyyy-MM-dd'T'HH:mm:ss*SSSZ",
            "uuid": "string",
            "value": "string"
          },
          "isActive": true,
          "max": 0,
          "min": 0,
          "sandbox": {},
          "updatedOn": "yyyy-MM-dd'T'HH:mm:ss*SSSZ",
          "value": "string"
        }
      ],
      "timeField": "string",
      "timeunit": 0,
      "to": 0,
      "updatedOn": "yyyy-MM-dd'T'HH:mm:ss*SSSZ",
      "userUuid": "string",
      "uuid": "string"
    }
  ],
  "metadata": {
    "fileCodeUuid": "string",
    "orgUuid": "string",
    "userUuid": "string"
  }
}

Response (Create a Sandbox)

02/13/2020 | Less than 1 minute to read



{
  "data": [
    {}
  ],
  "metadata": {
    "fileCodeUuid": "string",
    "orgUuid": "string",
    "userUuid": "string"
  },
  "statusCode": "OK"
}

ErrorCode (Create a Sandbox)

02/13/2020 | 3 minutes to read

HTTP Status Code Reason Response Model Headers
200 We received the request and created Successfully    
200 CCP-HTTP-017 | Invalid UUID Identifier    
200 CCP-SB-002 | Error while Creating/Updating SandBox    
400 CCP-HTTP-003 | Request method not supported    
401 You are not authorized to view the resource    
403 Accessing the resource you were trying to reach is forbidden    
404 The resource you were trying to reach is not found    

©2024 Developer.CSensorNet.com. All rights reserved | Powered by www.clovity.com