Read departments.
siteid
globally unique identifier
Required
Guid ID of the site for the department |
deleted
byte
Add ?deleted=0, 1, or 2 for not deleted, deleted, or all. |
None.
ID
globally unique identifier
Required on Update
ID of the given organization/department. |
SiteID
globally unique identifier
ID of the site for the given organization/department. |
ParentID
globally unique identifier
ID of the parent for the given organization/department. This will be a site ID for a given organization or an organization ID for a given department. |
Rank
integer
Required
Rank of the given organization/department. |
Name
string
Required
Name of the given organization/department. (Max length 100 characters) |
EmotionalGoal
string
Emotional Goal of the given organization/department. (Max length 1000 characters) |
Focus
string
Focus of the given organization/department. |
Picture
Collection of byte
Picture of the given organization/department. |
RowType
integer
ReadOnly
RowType of the given organization(4) or department(56). |
RankPath
Collection of byte
ReadOnly
Current rank of the given Organization/Department in a byte array. |
RankOrder
string
ReadOnly
Rank in string format, (0001.0001.0001) for the given organization/department. |
DisplayRank
string
ReadOnly
Rank that is actually displayed. |
Level
integer
ReadOnly
Number of indent levels, Ex: 1 = 1, 1.1 = 2, 1.1.1 = 3 |
Values
string
ReadOnly
Value of the given organization/department. |
Deleted
boolean
ReadOnly
Deleted status of the given organization/department. |
DeletedByRef
boolean
ReadOnly
Deleted by reference status of the given organization/department. |
Created
date
ReadOnly
Date the given organization/department was created. |
CreatedBy
globally unique identifier
ReadOnly
ID of the individual who created the given organization/department. |
Updated
date
ReadOnly
The date that the given organization/department was last updated. |
UpdatedBy
globally unique identifier
ReadOnly
The ID of the individual that updated the given organization/department. |
LastComment
string
ReadOnly
Body of the most recent comment. |
LastCommentDate
date
ReadOnly
Date the most recent comment was posted. |
LastCommentByID
globally unique identifier
ReadOnly
ID of the user who posted the most recent comment. |
LastCommentBy
string
ReadOnly
Name of the user who posted the most recent comment. |
ParentName
string
ReadOnly
Name of the parent for the given Organization/Department. This will be a site for a given organization or an organization for a given department. |
CanRead
boolean
ReadOnly
Read security setting for the object based on the current logged in user. |
CanUpdate
boolean
ReadOnly
Update security setting for the object based on the current logged in user. |
CanDelete
boolean
ReadOnly
Delete security setting for the object based on the current logged in user. |
CanDelegate
boolean
ReadOnly
Delegate security setting for the object based on the current logged in user. |
<Organization xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://col4.com/api/v4"> <ID>adccddec-b33b-4d94-aa54-3b982b53911d</ID> <SiteID>6f2160fd-a6ee-4d16-9cdb-4a801e2ada9a</SiteID> <ParentID>c269ee3c-902d-4617-b638-c95fd4992284</ParentID> <Rank>1</Rank> <Name>sample string 1</Name> <EmotionalGoal>sample string 2</EmotionalGoal> <Focus>sample string 3</Focus> <Picture>QEA=</Picture> <RowType>1</RowType> <RankPath>QEA=</RankPath> <RankOrder>sample string 4</RankOrder> <DisplayRank>sample string 5</DisplayRank> <Level>1</Level> <Values>sample string 6</Values> <Deleted>true</Deleted> <DeletedByRef>true</DeletedByRef> <Created>2024-10-23T21:05:48.1443191+00:00</Created> <CreatedBy>94f6cc7f-063a-4bfe-bdd7-69d0be2e3eea</CreatedBy> <Updated>2024-10-23T21:05:48.1443191+00:00</Updated> <UpdatedBy>60f502d0-d045-49d4-a39e-09dd5396e68a</UpdatedBy> <LastComment>sample string 7</LastComment> <LastCommentDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:DateTime>2024-10-23T21:05:48.1443191Z</d2p1:DateTime> <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes> </LastCommentDate> <LastCommentByID>4bcb980e-5bbe-418b-a6c1-03db6eb378f0</LastCommentByID> <LastCommentBy>sample string 8</LastCommentBy> <ParentName>sample string 9</ParentName> <CanRead>true</CanRead> <CanUpdate>true</CanUpdate> <CanDelete>true</CanDelete> <CanDelegate>true</CanDelegate> </Organization>
{ "ID": "adccddec-b33b-4d94-aa54-3b982b53911d", "SiteID": "6f2160fd-a6ee-4d16-9cdb-4a801e2ada9a", "ParentID": "c269ee3c-902d-4617-b638-c95fd4992284", "Rank": 1, "Name": "sample string 1", "EmotionalGoal": "sample string 2", "Focus": "sample string 3", "Picture": "QEA=", "RowType": 1, "RankPath": "QEA=", "RankOrder": "sample string 4", "DisplayRank": "sample string 5", "Level": 1, "Values": "sample string 6", "Deleted": true, "DeletedByRef": true, "Created": "2024-10-23T21:05:48.1443191+00:00", "CreatedBy": "94f6cc7f-063a-4bfe-bdd7-69d0be2e3eea", "Updated": "2024-10-23T21:05:48.1443191+00:00", "UpdatedBy": "60f502d0-d045-49d4-a39e-09dd5396e68a", "LastComment": "sample string 7", "LastCommentDate": "2024-10-23T21:05:48.1443191+00:00", "LastCommentByID": "4bcb980e-5bbe-418b-a6c1-03db6eb378f0", "LastCommentBy": "sample string 8", "ParentName": "sample string 9", "CanRead": true, "CanUpdate": true, "CanDelete": true, "CanDelegate": true }