Update Organization

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

Info Note

API TYPE: PUT
End Point: PUT /org/update
Description: To Update an Organization

Request (Update Organization)

02/11/2020 | 2 minutes to read



{
  "data": [
    {
      "codeUuid": "string",
      "createdOn": "yyyy-MM-dd'T'HH:mm:ss*SSSZZZZ",
      "isActive": true,
      "isDemo": true,
      "orgAddress": {
        "city": "string",
        "codeUuid": "string",
        "country": "string",
        "createdOn": "yyyy-MM-dd'T'HH:mm:ss*SSSZZZZ",
        "isActive": true,
        "orgEmail": "string",
        "orgMobile": "string",
        "pin": "string",
        "state": "string",
        "streetAddress": "string",
        "updatedOn": "yyyy-MM-dd'T'HH:mm:ss*SSSZZZZ",
        "uuid": "string",
        "website": "string"
      },
      "orgAdmin": "string",
      "orgName": "string",
      "organizationUuid": "string",
      "suborganization": [
        {}
      ],
      "updatedOn": "yyyy-MM-dd'T'HH:mm:ss*SSSZZZZ",
      "userUuid": "string",
      "uuid": "string"
    }
  ],
  "metadata": {
    "fileCodeUuid": "string",
    "orgUuid": "string",
    "userUuid": "string"
  }
}

Response (Update Organization)

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



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

ErrorCode (Update Organization)

02/11/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    
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