Info Note
API TYPE: POST End Point: POST /org/add Description: To Add a Organization
{
"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"
}
}
{
"data": [
{}
],
"metadata": {
"fileCodeUuid": "string",
"orgUuid": "string",
"userUuid": "string"
},
"statusCode": "OK"
}
HTTP Status Code | Reason | Response Model | Headers |
---|---|---|---|
200 | We received the request and created Successfully | ||
200 | CCP-US-014 | Parent Oganization Not Found for Organization Admin | ||
200 | CCP-US-009 | Duplicate Key Value Violates Unique Constraint | ||
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