Update a Sandbox

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

Info Note

API TYPE: PUT
End Point: PUT /update
Description: To Update a Sandbox

Request (Update a Sandbox)

02/13/2020 | 2 minutes to read



{
  "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 (Update a Sandbox)

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



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

ErrorCode (Update 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-SB-002 | Error while Creating/Updating SandBox    
200 CCP-BV-002 | UUID Identifier is Mandatory in Update Request    
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