Modify Organization (PUT)
Modifies existing organization.
http://api2.carmd.com/v2.0/org
Request Data
{
"orgID": "54ed91973c1081156ce39460",
"name": "LargeFleets",
"customID": "org-1234"
}
Field | Type | Notes |
orgID | string | Required. ID of organization to modify. |
name | string | Optional. May label this org by user friendly name of your choice. May use the same name on multiple orgs. |
customID | string | Optional. May label this org by customID of your choice. May use the same id on multiple orgs. |
orgParentID | string | Optional. The parent organization ID. If it does not have a parent, leave empty. There may only be a single top level org. |
Response
{
"message": {
"code": 0,
"message": "OK",
"credentials": "Valid",
"version": "v2.0.0",
"account": "Free",
"method": "Modify Organization",
"action": "PUT",
"counter": 198
},
"data": {
"orgID": "54fd4ef03c108153ecafd554",
"customID": "ABC Marketing",
"orgName": "ABCD Organization",
"path": ",ABCD Organization,",
"orgParentID": null
}
}
Field | Type | Notes |
message | Message | |
data | Organization |
Message object
Field | Type | Notes |
code | string | Message code. |
message | string | Ok or Failed. |
credentials | string | Valid or Invalid. |
version | string | v2.0.0 |
account | string | Free or Premium |
method | string | Name of the API called |
action | string | returns a GET, POST, PUT, DELETE |
counter | integer | Counter for this request. Increments by one for every request made. This is only important for free users who have a limited number of API requests. |
Organization object
Field | Type | Notes |
orgName | string | Null or returns the user friendly name of this org. |
path | string | Organization path to this org. |
orgID | string | CarMD’s generated ID for this organization. This ID will always be unique to this organization. |
orgParentID | string | CarMD’s org ID for the parent of this org. If null, then this org is topmost org. |
customID | string | Null or returns the customID of this org. |
That is humanly conventional both are essaysheaven.com/ completely independent of the