Discover APIs available for the Directory module.
The service retrieves the details of all users who match the given search parameters.
Note: User details are retrieved from the Global Directory.
HTTP GET: https://{hostname}/api/directory?queryparams
Parameters |
Type(maxlength) |
Cardinality |
Notes |
---|---|---|---|
org_name |
String(No Limit) |
0..1 |
Implicit wildcard search, both before and after the string |
given_name |
String(No Limit) |
0..1 |
Implicit wildcard search, after the string |
job_title |
String(No Limit) |
0..1 |
Implicit wildcard search, both before and after the string |
division |
String(No Limit) |
0..1 |
Implicit wildcard search, both before and after the string |
family_name |
String(No Limit) |
0..1 |
Implicit wildcard search, after the string |
|
String(No Limit) |
0..1 |
Exact String search. It will find users which match the exact email provided. |
Request Fields
Not Applicable. HTTP GET operations have no request body.
Sample request
https://au1.aconex.com/api/directory?org_name=consulting&division=east&jobtitle=admin&given_name=mary&family_name=smith
Response Fields
The number of *'s indicate the parent-child depth.
Element |
Type(maxlength) |
Cardinality |
Notes |
---|---|---|---|
DirectorySearch |
Group |
1 |
|
TotalResults |
Attribute |
1 |
The number of results that match the given search parameters |
* SearchResults |
Group |
1 |
|
** Directory |
Group |
0..n |
|
*** DivisionName |
String(100) |
0..1 |
|
*** OrganizationId |
String |
0..1 |
|
*** OrganizationName |
String(60) |
0..1 |
|
*** TradingName |
String(60) |
0..1 |
|
*** JobTitle |
String(50) |
0..1 |
|
*** ProjectAddress |
String(205) |
0..1 |
|
*** ProjectFax |
String(27) |
0..1 |
|
*** ProjectPhone |
String(27) |
0..1 |
|
*** Mobile |
String(20) |
0..1 |
|
*** SearchResultType |
String |
1 |
One of:
|
*** UserId |
String |
0..1 |
|
*** UserName |
String(61) |
0..1 |
First name + " " + Last name |
String | 0..1 | Visible for users from the same organisation only |
Sample response
<?xml version="1.0" encoding="UTF-8"?> <DirectorySearch TotalResults="12"> <SearchResults> <Directory> <DivisionName>Administration</DivisionName> <Mobile>0412345678</Mobile> <OrganizationId>1879048492</OrganizationId> <OrganizationName>Majestic Project & Construction Management Limited</OrganizationName> <TradingName>Majestic Builders</TradingName> <JobTitle>Project Coordinator</JobTitle> <ProjectAddress>190-210 High Street Buckhurst Grange Clearwater Bay New Devonshire 9000, Australia</ProjectAddress> <ProjectFax>61922221111</ProjectFax> <ProjectPhone>61933332222</ProjectPhone> <SearchResultType>USER_TYPE</SearchResultType> <UserId>1879049257</UserId> <UserName>Ho Tran</UserName> <Email>hotran@majestic.com</Email> </Directory> <Directory> <DivisionName>Administration</DivisionName> <Mobile>0412345438</Mobile> <OrganizationId>1879048511</OrganizationId> <OrganizationName>Rand Resources (Pty) Ltd</OrganizationName> <TradingName>Rand Resources</TradingName> <JobTitle>Project Administrator</JobTitle> <ProjectAddress>1564 Miseshi Rd Parklands Kitwe 2016, Zambia</ProjectAddress> <ProjectFax>2602211167</ProjectFax> <ProjectPhone>2602211192</ProjectPhone> <SearchResultType>USER_TYPE</SearchResultType> <UserId>1879049339</UserId> <UserName>Mary Karinkis</UserName> </Directory> </SearchResults> </DirectorySearch>
Status Code |
Description |
HTTP Status Code |
---|---|---|
GLOBAL_DIRECTORY_DISABLED |
If the user is requesting information from the global directory but does not have the global directory secured asset |
401 Forbidden |
Required Permissions
The authorizing user (specified in the request header) must have the secured asset to access the Global Directory.
Preferences/Module Setup
Not applicable.
As with the Aconex GUI, the service returns only the details of users who are visible to the authorizing user. For example, disabled users will not be returned in the response message.
The service retrieves the details of all groups and users who match the given search parameters.
Note: Group and user details are retrieved from the specified project's directory.
HTTP GET: https://{hostname}/api/projects/{projectid}/directory?{parameters}
Parameters |
Type(maxlength) |
Cardinality |
Notes |
---|---|---|---|
org_name |
String(No Limit) |
0..1 |
Implicit wildcard search, both before and after the string |
given_name |
String(No Limit) |
0..1 |
Implicit wildcard search, after the string |
job_title |
String(No Limit) |
0..1 |
Implicit wildcard search, both before and after the string |
division |
String(No Limit) |
0..1 |
Implicit wildcard search, both before and after the string |
family_name |
String(No Limit) |
0..1 |
Implicit wildcard search, after the string |
|
String(No Limit) |
0..1 |
Exact String search. It will find users which match the exact email provided. |
show_groups |
Boolean |
0..1 |
Default value=true. Possible values:true or false. If false, group details are not returned. |
Request Fields
Not Applicable. HTTP GET operations have no request body.
Sample request
https://au1.aconex.com/api/projects/1879048400/directory?org_name=splice&division=aus&jobtitle=manager&given_name=tim&family_name=jones&show_groups=true
Response Fields
The number of *'s indicate the parent-child depth.
Element |
Type(maxlength) |
Cardinality |
Notes |
---|---|---|---|
DirectorySearch |
Group |
1 |
|
TotalResults |
Attribute |
1 |
The number of results that match the given search parameters |
* SearchResults |
Group |
1 |
|
** Directory |
Group |
0..n |
|
*** DivisionName |
String(100) |
0..1 |
Only applies when SearchResultType=USER_TYPE and GUEST_TYPE |
*** GroupId |
String |
0..1 |
Only applies when SearchResultType=GROUP_TYPE |
*** GroupName |
String(100) |
0..1 |
Only applies when SearchResultType=GROUP_TYPE |
*** OrganizationId |
String |
0..1 |
Only applies when SearchResultType=USER_TYPE and GUEST_TYPE |
*** OrganizationName |
String(60) |
0..1 |
Only applies when SearchResultType=USER_TYPE and GUEST_TYPE |
*** TradingName |
String(60) |
0..1 |
Only applies when SearchResultType=USER_TYPE and GUEST_TYPE |
*** JobTitle |
String(50) |
0..1 |
Only applies when SearchResultType=USER_TYPE and GUEST_TYPE |
*** ProjectAddress |
String(205) |
0..1 |
Only applies when SearchResultType=USER_TYPE and GUEST_TYPE |
*** ProjectFax |
String(27) |
0..1 |
Only applies when SearchResultType=USER_TYPE and GUEST_TYPE |
*** ProjectPhone |
String(27) |
0..1 |
Only applies when SearchResultType=USER_TYPE and GUEST_TYPE |
*** Mobile |
String(20) |
0..1 |
Only applies when SearchResultType=USER_TYPE and GUEST_TYPE |
*** SearchResultType |
String |
1 |
One of:
|
*** UserId |
String |
0..1 |
Only applies when SearchResultType=USER_TYPE and GUEST_TYPE |
*** UserName |
String(61) |
0..1 |
Only applies when SearchResultType=USER_TYPE and GUEST_TYPE. |
|
String |
0..1 |
Only applies when SearchResultType=USER_TYPE, visible for users from the same organisation only |
Sample response
<?xml version="1.0" encoding="UTF-8"?> <DirectorySearch TotalResults="12"> <SearchResults> <Directory> <GroupId>1879048371</GroupId> <GroupName>Design Meeting Group</GroupName> <SearchResultType>GROUP_TYPE</SearchResultType> </Directory> <Directory> <DivisionName>Structural</DivisionName> <Mobile>0412345678</Mobile> <OrganizationId>1879048494</OrganizationId> <OrganizationName>Enzice Consulting Engineers</OrganizationName> <TradingName>Enzice Consulting</TradingName> <JobTitle>Senior Project Manager</JobTitle> <ProjectAddress>21 Spring Street Winchester New Devonshire 652141, Australia</ProjectAddress> <ProjectFax>61944443333</ProjectFax> <ProjectPhone>61955554444</ProjectPhone> <SearchResultType>USER_TYPE</SearchResultType> <UserId>1879049138</UserId> <UserName>William Chadstone</UserName> <Email>willam@enzice.com</Email> </Directory> <Directory> <DivisionName>Mechanical</DivisionName> <Mobile>0412345679</Mobile> <OrganizationId>1879048494</OrganizationId> <OrganizationName>Enzice Consulting Engineers</OrganizationName> <TradingName>Enzice Consulting</TradingName> <JobTitle>Drafter</JobTitle> <ProjectAddress>21 Spring Street Winchester New Devonshire 652141, Australia</ProjectAddress> <ProjectFax>61944443333</ProjectFax> <ProjectPhone>61955554444</ProjectPhone> <SearchResultType>USER_TYPE</SearchResultType> <UserId>1879049256</UserId> <UserName>Ahmed Jaffer</UserName> </Directory> </SearchResults> </DirectorySearch>
Status Code |
Description |
HTTP Status Code |
---|---|---|
GLOBAL_DIRECTORY_DISABLED |
The secured asset to search the global directory has not been granted to the requesting user |
401 Forbidden |
Required Permissions
There are no required permissions to use this service.
Preferences/Module Setup
Not Applicable.
As with the Aconex GUI, the service returns only the details of users who are visible to the authorizing user. For example, disabled users will not be returned in the response message.
The service retrieves the details of a specified user in the global directory.
Notes:
GET https://{hostname}/api/users/{userid}
Parameters |
Type(maxlength) |
Cardinality |
Notes |
---|
Request Fields
Not applicable. HTTP GET operations have no request body.
Sample request
https://au1.aconex.com/api/users/1879048221
Response Fields
Element |
Type(maxlength) |
Cardinality |
Notes |
---|---|---|---|
User |
Group |
1 |
|
* Division |
String(100) |
1 |
|
* Fax |
String(30) |
1 |
|
* Mobile |
String(20) |
1 |
|
* OrganizationId |
String |
1 |
|
* OrganizationName |
String(60) |
1 |
|
* OrganizationPostalAddressLine |
String(150) |
1 |
|
* OrganizationPostalCity |
String(40) |
1 |
|
* OrganizationPostalCountry |
String(40) |
1 |
|
* OrganizationPostalPostCode |
String(10) |
1 |
|
* OrganizationPostalState |
String(40) |
1 |
|
* Phone |
String(30) |
1 |
|
* JobTitle |
String(50) |
1 |
|
* UserPostalAddressLine |
String(205) |
1 |
|
* UserPostalCity |
String(50) |
1 |
|
* UserPostalCountry |
String(50) |
1 |
|
* UserPostalPostCode |
String(20) |
1 |
|
* UserPostalState |
String(50) |
1 |
|
* UserFirstName |
String(30) |
1 |
|
* UserId |
String |
1 |
|
* UserLastName |
String(30) |
1 |
|
* UserTitle |
String(25) |
1 |
|
Sample response
<?xml version="1.0" encoding="UTF-8"?> <User> <Division/> <Fax>61396001111</Fax> <Mobile/> <OrganizationId>1879048570</OrganizationId> <OrganizationName>LockedOrg</OrganizationName> <OrganizationPostalAddressLine>696 Bourke St</OrganizationPostalAddressLine> <OrganizationPostalCity>Melbs</OrganizationPostalCity> <OrganizationPostalCountry>Australia</OrganizationPostalCountry> <OrganizationPostalPostCode>3000</OrganizationPostalPostCode> <OrganizationPostalState>VIC</OrganizationPostalState> <Phone>61396001111</Phone> <JobTitle/> <UserPostalAddressLine>696 Bourke St</PostalAddressLine> <UserPostalCity>Melbs</PostalCity> <UserPostalCountry>Australia</PostalCountry> <UserPostalPostCode>3000</PostalPostCode> <UserPostalState>VIC</PostalState> <UserFirstName>Locked</UserFirstName> <UserId>1879049450</UserId> <UserLastName>Organization</UserLastName> <UserTitle>Mr</UserTitle> </User>
Status Code |
Description |
HTTP Status Code |
---|---|---|
GLOBAL_DIRECTORY_DISABLED |
If the user is requesting information from the global directory but does not have the global directory secured asset |
401 |
ENTITY_NOT_FOUND |
If the id of the user did not match a user within the Aconex instance |
400 |
ENTITY_NOT_VISIBLE |
If the user being requested is not visible to the user making the request. |
400 |
Required Permissions
The authorizing user (specified in the request header) must have the secured asset to view user details in the global directory.
Preferences/Module Setup
Not applicable.
As with the Aconex GUI, the service returns only the details of users who are visible to the authorizing user. For example, details of a disabled user will not be returned in the response message.
The service retrieves the details of a specified user in the project directory.
Note: This request differs from the global level user retrieval in that the project that the user must be specified and the user making the request must have access to the specified project.
HTTP GET: https://{hostname}/api/projects/{projectid}/users/{userid}
Parameters |
Type(maxlength) |
Cardinality |
Notes |
---|
Request Fields
Not Applicable. HTTP GET operations have no request body.
Sample request
https://au1.aconex.com/api/projects/1879048400/users/1879048221
Response Fields
Element |
Type(maxlength) |
Cardinality |
Notes |
---|---|---|---|
User |
Group |
1 |
|
* Division |
String(100) |
1 |
|
* Fax |
String(30) |
1 |
|
* Mobile |
String(20) |
1 |
|
* OrganizationId |
String |
1 |
|
* OrganizationName |
String(60) |
1 |
|
* OrganizationPostalAddressLine |
String(150) |
1 |
|
* OrganizationPostalCity |
String(40) |
1 |
|
* OrganizationPostalCountry |
String(40) |
1 |
|
* OrganizationPostalPostCode |
String(10) |
1 |
|
* OrganizationPostalState |
String(40) |
1 |
|
* Phone |
String(30) |
1 |
|
* JobTitle |
String(50) |
1 |
|
* UserPostalAddressLine |
String(205) |
1 |
|
* UserPostalCity |
String(50) |
1 |
|
* UserPostalCountry |
String(50) |
1 |
|
* UserPostalPostCode |
String(20) |
1 |
|
* UserPostalState |
String(50) |
1 |
|
* UserFirstName |
String(30) |
1 |
|
* UserId |
String |
1 |
|
* UserLastName |
String(30) |
1 |
|
* UserTitle |
String(25) |
1 |
|
Sample response
<?xml version="1.0" encoding="UTF-8"?> <User> <Division/> <Fax>61396001111</Fax> <Mobile/> <OrganizationId>1879048570</OrganizationId> <OrganizationName>LockedOrg</OrganizationName> <OrganizationPostalAddressLine>696 Bourke St</OrganizationPostalAddressLine> <OrganizationPostalCity>Melbs</OrganizationPostalCity> <OrganizationPostalCountry>Australia</OrganizationPostalCountry> <OrganizationPostalPostCode>3000</OrganizationPostalPostCode> <OrganizationPostalState>VIC</OrganizationPostalState> <Phone>61396001111</Phone> <JobTitle/> <UserPostalAddressLine>696 Bourke St</UserPostalAddressLine> <UserPostalCity>Melbs</UserPostalCity> <UserPostalCountry>Australia</UserPostalCountry> <UserPostalPostCode>3000</UserPostalPostCode> <UserPostalState>VIC</UserPostalState> <UserFirstName>Locked</UserFirstName> <UserId>1879049450</UserId> <UserLastName>Organization</UserLastName> <UserTitle>Mr</UserTitle> </User>
Status Code |
Description |
HTTP Status Code |
---|---|---|
ENTITY_NOT_FOUND_FOR_PROJECT |
The user is requesting user information from a specific project but the target user is not on that project |
400 |
ENTITY_NOT_VISIBLE |
The target user is not visible to the user making the request |
401 |
Required Permissions
The user performing the request must have access to the project that the target user is on.
Preferences/Module Setup
Not applicable.
As with the Aconex GUI, the service returns only the details of users who are visible to the authorizing user. For example, details of a disabled user will not be returned in the response message.
The service retrieves the details of the user making a request.
Notes:
HTTP GET: https://{hostname}/api/user
Parameters |
Type(maxlength) |
Cardinality |
Notes |
---|
Request Fields
Not Applicable. HTTP GET operations have no request body.
Sample request
https://au1.aconex.com/api/user
Response Fields
Element |
Type(maxlength) |
Cardinality |
Notes |
---|---|---|---|
User |
Group |
1 |
|
* Division |
String(100) |
1 |
|
* Fax |
String(30) |
1 |
|
* Mobile |
String(20) |
1 |
|
* OrganizationId |
String |
1 |
|
* OrganizationName |
String(60) |
1 |
|
* OrganizationPostalAddressLine |
String(150) |
1 |
|
* OrganizationPostalCity |
String(40) |
1 |
|
* OrganizationPostalCountry |
String(40) |
1 |
|
* OrganizationPostalPostCode |
String(10) |
1 |
|
* OrganizationPostalState |
String(40) |
1 |
|
* Phone |
String(30) |
1 |
|
* JobTitle |
String(50) |
1 |
|
* UserPostalAddressLine |
String(205) |
1 |
|
* UserPostalCity |
String(50) |
1 |
|
* UserPostalCountry |
String(50) |
1 |
|
* UserPostalPostCode |
String(20) |
1 |
|
* UserPostalState |
String(50) |
1 |
|
* UserFirstName |
String(30) |
1 |
|
* UserId |
String |
1 |
|
* UserLastName |
String(30) |
1 |
|
* UserTitle |
String(25) |
1 |
|
* UserName |
String(80) |
1 |
|
Sample response
<?xml version="1.0" encoding="UTF-8"?> <User> <Division/> <Fax>61396001111</Fax> <Mobile/> <OrganizationId>1879048570</OrganizationId> <OrganizationName>LockedOrg</OrganizationName> <OrganizationPostalAddressLine>696 Bourke St</OrganizationPostalAddressLine> <OrganizationPostalCity>Melbs</OrganizationPostalCity> <OrganizationPostalCountry>Australia</OrganizationPostalCountry> <OrganizationPostalPostCode>3000</OrganizationPostalPostCode> <OrganizationPostalState>VIC</OrganizationPostalState> <Phone>61396001111</Phone> <JobTitle/> <UserPostalAddressLine>696 Bourke St</UserPostalAddressLine> <UserPostalCity>Melbs</UserPostalCity> <UserPostalCountry>Australia</UserPostalCountry> <UserPostalPostCode>3000</UserPostalPostCode> <UserPostalState>VIC</UserPostalState> <UserFirstName>Locked</UserFirstName> <UserId>1879049450</UserId> <UserLastName>Organization</UserLastName> <UserTitle>Mr</UserTitle> <UserName>poleary</UserName> </User>
Status Code |
Description |
HTTP Status Code |
---|
Required Permissions
The user performing the request must have access to API web services.
Preferences/Module Setup
Not applicable.
Not applicable.
The service retrieves the details of an organization.
Note: Organization details are retrieved from the Global Directory.
HTTP GET: https://{hostname}/api/organizations/{organizationid}
None.
Request Fields
Not Applicable. HTTP GET operations have no request body.
Sample request
https://au1.aconex.com/api/organizations/1879048221
Response Fields
Element |
Type(maxlength) |
Cardinality |
Notes |
---|---|---|---|
Organization |
Group |
1 |
|
* ABN |
String(30) |
1 |
|
* DeliveryAddressLine |
String(130) |
1 |
|
* DeliveryCity |
String(40) |
1 |
|
* DeliveryCountry |
String(40) |
1 |
|
* DeliveryPostcode |
Short(10) |
1 |
|
* DeliveryState |
String(40) |
1 |
|
* OrganizationDivisions |
Group |
1 |
|
** Division |
String(100) |
0..n |
|
* EmailAddress |
String(255) |
1 |
|
* Fax |
String(30) |
1 |
|
* OrganizationCode |
String(8) |
1 |
|
* OrganizationId |
String |
1 |
|
* OrganizationName |
String(60) |
1 |
|
* Phone |
String(30) |
1 |
|
* PostalAddressLine |
String(150) |
1 |
|
* PostalCity |
String(40) |
1 |
|
* PostalCountry |
String(40) |
1 |
|
* PostalPostCode |
Short(10) |
1 |
|
* PostalState |
String(40) |
1 |
|
* OrganizationRoles |
Group |
1 |
|
** Role |
String(40) |
0..n |
|
* TradingName |
String(60) |
1 |
|
* WebsiteAddress |
String(255) |
1 |
|
Sample response
<?xml version="1.0" encoding="UTF-8"?> <Organization> <ABN>2223334444</ABN> <DeliveryAddressLine>27 Short Street</DeliveryAddressLine> <DeliveryCity>Spring Hill</DeliveryCity> <DeliveryCountry>Australia</DeliveryCountry> <DeliveryPostcode>4003</DeliveryPostcode> <DeliveryState>Queensland</DeliveryState> <OrganizationDivisions/> <EmailAddress>info@aconex.com</EmailAddress> <Fax>07554555555</Fax> <OrganizationCode>Briscon</OrganizationCode> <OrganizationId>1879048221</OrganizationId> <OrganizationName>Brisbane Concretors PL</OrganizationName> <Phone>07554555555</Phone> <PostalAddressLine>27 Short Street</PostalAddressLine> <PostalCity>Spring Hill</PostalCity> <PostalCountry>Australia</PostalCountry> <PostalPostCode>4003</PostalPostCode> <PostalState>Queensland</PostalState> <OrganizationRoles> <Role>Consultant</Role> <Role>Subcontractor</Role> </OrganizationRoles> <TradingName>Brisbane Concretors</TradingName> <WebsiteAddress/> </Organization>
Status Code |
Description |
HTTP Status Code |
---|---|---|
|
|
|
Required Permissions
The authorizing user (specified in the request header) must have the secured asset to View Organization Details in the Global Directory.
Preferences/Module Setup
Not applicable.
As with the Aconex GUI, the service returns only the details of organizations that are visible to the authorizing user. For example, details of a disabled organization will not be returned in the response message.
The service retrieves the details of users who belong to a project group.
HTTP GET: https://{hostname}/api/projects/{projectid}/groups/{groupid}
Parameters |
Type(maxlength) |
Cardinality |
Notes |
---|
Request Fields
Not applicable. HTTP GET operations have no request body.
Sample request
https://au1.aconex.com/api/organizations/1879048221
Element |
Type(maxlength) |
Cardinality |
Notes |
---|---|---|---|
UserResults |
Group |
1 |
|
TotalResults |
Attribute |
1 |
The number of results that match the given search parameters |
* SearchResults |
Group |
1 |
|
** User |
Group |
0..n |
|
*** Division |
String(100) |
1 |
|
*** Fax |
String(30) |
1 |
|
*** Mobile |
String(20) |
1 |
|
*** OrganizationId |
String |
1 |
|
*** OrganizationName |
String(60) |
1 |
|
*** OrganizationPostalAddressLine |
String(150) |
1 |
|
*** OrganizationPostalCity |
String(40) |
1 |
|
*** OrganizationPostalCountry |
String(40) |
1 |
|
*** OrganizationPostalPostCode |
Short(10) |
1 |
|
*** OrganizationPostalState |
String(40) |
1 |
|
*** Phone |
String(30) |
1 |
|
*** JobTitle |
String(50) |
1 |
|
*** UserFirstName |
String(30) |
1 |
|
*** UserId |
String |
1 |
|
*** UserLastName |
String(30) |
1 |
|
*** UserPostalAddressLine |
String(205) |
1 |
|
*** UserPostalCity |
String(50) |
1 |
|
*** UserPostalCountry |
String(50) |
1 |
|
*** UserPostalPostCode |
Short(20) |
1 |
|
*** UserPostalState |
String(50) |
1 |
|
*** UserTitle |
String(25) |
1 |
|
Sample response
<?xml version="1.0" encoding="UTF-8"?> <UserResults TotalResults="2"> <SearchResults> <User> <Division/> <Fax>61944443333</Fax> <Mobile/> <OrganizationId>1879048494</OrganizationId> <OrganizationName>Enzice Consulting Engineers</OrganizationName> <OrganizationPostalAddressLine>21 Spring Street </OrganizationPostalAddressLine> <OrganizationPostalCity>Winchester</OrganizationPostalCity> <OrganizationPostalCountry>Australia</OrganizationPostalCountry> <OrganizationPostalPostCode>9000</OrganizationPostalPostCode> <OrganizationPostalState>New Devonshire</OrganizationPostalState> <Phone>61955554444</Phone> <JobTitle>Lead Engineer</JobTitle> <UserFirstName>Alice</UserFirstName> <UserId>1879049134</UserId> <UserLastName>Templeton</UserLastName> <UserPostalAddressLine>21 Spring Street </UserPostalAddressLine> <UserPostalCity>Winchester</UserPostalCity> <UserPostalCountry>Australia</UserPostalCountry> <UserPostalPostCode>652141</UserPostalPostCode> <UserPostalState>New Devonshire</UserPostalState> <UserTitle>Ms</UserTitle> </User> <User> <Division>Developer</Division> <Fax>61922223333</Fax> <Mobile/> <OrganizationId>1879048491</OrganizationId> <OrganizationName>VIP Group</OrganizationName> <OrganizationPostalAddressLine>P.O. Box 35</OrganizationPostalAddressLine> <OrganizationPostalCity>Clearwater Bay</OrganizationPostalCity> <OrganizationPostalCountry>Australia</OrganizationPostalCountry> <OrganizationPostalPostCode>658811</OrganizationPostalPostCode> <OrganizationPostalState>New Devonshire</OrganizationPostalState> <Phone>61911112222</Phone> <JobTitle>Associate Director</JobTitle> <UserFirstName>Peter</UserFirstName> <UserId>1879049119</UserId> <UserLastName>Chitwood</UserLastName> <UserPostalAddressLine>P.O. Box 35</UserPostalAddressLine> <UserPostalCity>Clearwater Bay</UserPostalCity> <UserPostalCountry>Australia</UserPostalCountry> <UserPostalPostCode>658811</UserPostalPostCode> <UserPostalState>New Devonshire</UserPostalState> <UserTitle>Mr</UserTitle> </User> </SearchResults> </UserResults>
Status Code |
Description |
HTTP Status Code |
---|---|---|
ENTITY_NOT_FOUND |
The requested GROUP entity with id(s) {groupid} was not found |
400 Bad Request |
Required Permissions
There are no required permissions to use this service.
Not applicable.
As with the Aconex GUI, the service returns only the details of users who are visible to the authorizing user. For example, disabled users will not be returned in the response message.
The service returns the current logo associated with the specified organization.
HTTP GET: https://{hostname}/api/organization/logo?{parameters}
Parameters |
Type(maxlength) |
Cardinality |
Notes |
---|---|---|---|
organization_id |
Integer(signed 32 bit ) |
1 |
Required |
Request Fields
Not Applicable. HTTP GET operations have no request body.
Sample request
https://au1.aconex.com/api/organization/logo?organization_id=15
Response Fields
Not applicable. The response is a binary stream of the logo associated with the organization.
Sample response
Not applicable.
Status Code |
Description |
HTTP Status Code |
---|---|---|
LOGO_NOT_FOUND |
When organization does not have any associated logo |
400 Bad Request |
Required Permissions
None
Preferences/Module Setup
Not applicable.
None
The service creates a new user for an organization.
HTTP POST: https://{hostname}/api/organizations/{organizationid}/users
Parameters |
Type(maxlength) |
Cardinality |
Notes |
---|
HTTP Request Header variables
As the request body has content that is multipart/mixed, a boundary identifier must be specified in the request header (as a key/value pair). This boundary is used to separate data of different types, e.g. text and binary.
Sample Header
Content-Type=multipart/mixed; boundary="myboundary"
Request Fields
Cardinality refers to the number of repetitions a field can have. A cardinality that allows zero (0) means the field is optional.
The number of *'s indicate the parent-child depth.
Field name |
Type(maxlength) |
Cardinality |
Notes |
---|---|---|---|
FirstName* |
String(30) |
1 |
|
MiddleName |
String(30) |
0..1 |
|
LastName* |
String(30) |
1 |
|
EmailAddress* |
String(255) |
1 |
|
UserName* |
String(80) |
1 |
|
Division |
String |
0..1 |
Division within the organization |
ProjectIds |
Group |
0..1 |
Project(s) that the user will be invited to |
ProjectId | Integer(Signed 32 bit) | 0..n | |
Language |
String |
0..1 |
User's default language. One of
* Available depending on the instance configuration |
* Denotes a mandatory field
Using part boundaries
Boundaries are marked using
--<boundaryName> |
The exception to this is the final boundary in the POST content, which terminates with
--<boundaryName>-- |
Refer to the sample request(s) below for further detail.
Sample request
https://au1.aconex.com/api/organizations/1879048422/users/
|
Response Fields
Cardinality refers to the number of repetitions a field can have. A cardinality that allows zero (0) means the field is optional, and may not appear in the response.
The number of *'s indicate the parent-child depth.
Element |
Type(maxlength) |
Cardinality |
Notes |
---|---|---|---|
User |
Group |
1 |
|
UserId |
String |
1 |
The user ID of the new user. |
Sample response
<?xml version="1.0" encoding="UTF-8"?> <User> <UserId>1879053577</UserId> </User> |
Status Code |
Description |
HTTP Status Code |
---|---|---|
INVALID_PARAMETER_VALUE | The request parameter organization_id contains an incorrect or unknown value | 400 Bad Request |
ENTITY_NOT_FOUND | The requested ORGANIZATION entity with id was not found | 400 Bad Request |
VALIDATION_FAILED |
One or more form fields validation failed due to invalid values |
400 Bad Request |
Required Permissions
The authorizing user (specified in the request header) must have been granted the secured asset to create user.
Preferences/Module Setup
N/A
The request will fail if the specified project is not activated.
The request will fail if the authorizing user does not have access to the specified project.
The request will fail if the division is not owned by the organization.
The service provides a list of the users within an organisation.
HTTP GET: https://{hostname}/api/organizations/{organizationId}/users[?page_size={pageSizeValue}&page_number={pageNumberValue}]
Parameters |
Type(maxlength) |
Cardinality |
Notes |
---|---|---|---|
page_size |
String | 1 | Optional. Number of users per page to report. Min: 1, Max: 1000, Default: 1000 |
page_number |
String | 1 | Optional. (Pagination related.) Page to extract. Min: 1, Default: 1 |
HTTP Request Header variables
Header | Value | Notes | |
---|---|---|---|
Accept | */* |
Default response when value is */* : xml Also Valid:
|
|
Authorization | Type Basic or Bearer (OAuth). Refer Security Documentation | ||
x-api-key | Refer to Security Documentation |
Sample Request
https://au1.aconex.com/api/organizations/123456789/users
https://au1.aconex.com/api/organizations/123456789/users?page_size=30&page_number=2
Response Fields
Cardinality refers to the number of repetitions a field can have. A cardinality that allows zero (0) means the field is optional, and may not appear in the response.
The number of *'s indicate the parent-child depth.
Element |
Type(maxlength) |
Cardinality |
Notes |
---|---|---|---|
OrganizationUsers | Group | 1 | |
TotalResultsOnPage | Atttribute; Numeric in String | 1 | Number of "User" Groups in the "SearchResults" |
TotalResults | Atttribute; Numeric in String | 1 | Total number of Users for this organisation. |
TotalPages | Atttribute; Numeric in String | 1 | Total Number of Pages that will contain User data |
PageSize | Atttribute; Numeric in String | 1 | Max number of "User" Groups that could be in the "SearchResults" |
CurrentPage | Atttribute; Numeric in String | 1 | Page Number |
* SearchResults | Group | 1 | |
** User | Group | 0..n | |
*** AccessEnabled | String | 1 |
Flag indicating Full User Login Enabled State. Values: {DISABLE. ENABLED} |
*** GuestUser | String | 1 |
Flag indicating whether is a Guest User or not. Values {Y, N} Note: When a Guest User is returned with Y, the Access Enabled and Locked fields are not relevant. |
*** LastLogon | String | 1 |
ISO format Date Time of last Login with Timezone of "Instance" "N/A" when user has not logged in. Format: yyyy-mm-ddTHH:MM:ss.SSS[Z|+HH:MM] |
*** Locked | String | 1 |
Flag indicating whether Login is Locked. Values: {UNLOCKED LOCKED} |
*** OrganizationAdminRole | String | 1 |
Flag indicating whether User is allocated into a role that is denoted as Admin. Values {Y, N} |
*** OrganizationId | String | 1 | Identifier of the Organisation. Will align to Request |
String | 1 | ||
*** UserFirstName | String | 1 | |
*** UserId | String | 1 | Identifier of the User. |
*** UserLastName | String | 1 |
Sample response
<OrganizationUsers TotalResultsOnPage="7" TotalResults="33" TotalPages="5" PageSize="7" CurrentPage="1"> <SearchResults> <User> <AccessEnabled>ENABLED</AccessEnabled> <GuestUser>N</GuestUser> <LastLogon>2022-02-02T11:52:38.593+11:00</LastLogon> <Locked>LOCKED</Locked> <OrganizationAdminRole>Y</OrganizationAdminRole> <OrganizationId>1879048492</OrganizationId> <OrganizationName>Majestic Project & Construction Management Limited</OrganizationName> <Email>Patrick@Majestic.com</Email> <User> <AccessEnabled>ENABLED</AccessEnabled> <GuestUser>N</GuestUser> <LastLogon>N/A</LastLogon> <Locked>UNLOCKED</Locked> <OrganizationAdminRole>N</OrganizationAdminRole> <OrganizationId>1879048492</OrganizationId> <OrganizationName>Majestic Project & Construction Management Limited</OrganizationName> <Email>document@MajesticController.com</Email> |
Status Code |
Description |
HTTP Status Code |
---|---|---|
INVALID_PARAMETER_VALUE | The request parameter organization_id contains an incorrect or unknown value | 400 Bad Request |
ENTITY_NOT_FOUND | The requested ORGANIZATION entity with id was not found | 400 Bad Request |
ACCESS_FAILED_FOR_ORG |
Organization not permitted to use API |
401 Unauthorized |
Required Permissions
The authorizing user (specified in the Authorization header) must have been granted Organisation Administrator role for the Organisation.
Preferences/Module Setup
N/A
The request will fail if the authorizing user is not a member of the organisation.
The request will fail if the authorizing user is not an Administrator of the organisation.
Ability to disable/enable (an) existing active user(s) via external API without the need to login to Aconex
HTTP POST: https://{hostname}/api/userstatus
Field name |
Type(maxlength) |
Cadinality |
Constraint |
Notes |
---|---|---|---|---|
Users |
Attribute |
1 |
|
List of Users |
User |
Attribute |
1..n |
|
An instance of Users |
id |
Long |
1 |
One of id/loginName can be null |
Id of the an User |
loginName |
String |
1 |
One of id/loginName can be null |
LoginName of an Users |
enabled |
boolean |
1 |
Cannot be null |
'false' will be disable the User in the scope |
Sample request
curl --location --request POST 'https://localhost:8443/api/userstatus' \ --header 'Authorization: Basic YWNueEFkbWluOmFjMG4zeDcy' \ --header 'Content-Type: application/xml' \ --header 'Cookie: com.aconex.locale=en_AU' \ --data-raw '<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Users> <User> <id>1879049121</id> <loginName>jdoe</loginName> <enabled>true</enabled> </User> <User> <id>1879049135</id> <loginName>katey</loginName> <enabled>true</enabled> </User> </Users>'
Sample response
HTTP 200 OK
StatusCode |
Description |
Http Status Code |
---|---|---|
Success |
Successfully enabled/disabled the user |
200 |
ACCESS_FAILED_FOR_ORG |
Authorized Org Admin user must belong to the same org. |
401 |
ACCESS_FAILED_FOR_ORG |
Authenticated user should have permission to enable/disable an User in his Org |
401 |
INPUT_CONSTRAINT_VIOLATION |
Input bean has constraint violations - UserStatus[0] LoginName is blank |
400 |
INPUT_CONSTRAINT_VIOLATION |
Input bean has constraint violations - UserStatus[0] either Id/LoginName is null |
400 |
Required Permissions
This API is available from the February 2024 release. See release notes.
This service creates mailing Groups in Project using provided project ID
URL structure
HTTP POST - Create Mailing Groups in Project
|
Parameters
Parameters |
Type(maxlength) |
Cardinality |
Notes |
---|---|---|---|
ProjectID |
string |
1 |
Project id of the project directory |
Input Payload template to Update user role name and properties
Single Group creation {
"groups": [
{
"groupName":,
"isLocked":
}
]
}
or
Multiple group Creation
{
"groups": [
{
"groupName": ,
"isLocked": ""
},
{
"groupName": ,
"isLocked":
},
{
"groupName": ,
"isLocked":
},
{
"groupName": ,
"isLocked":
}
]
}
Cardinality refers to the number of repetitions a field can have. A cardinality that allows zero (0) means the field is optional, and may not appear in the response.
Element |
Type(maxlength) |
Cardinality |
|
Notes |
---|---|---|---|---|
groupName | Attribute String |
1 |
|
groupName should be null |
isLocked | Attribute boolean |
0..1 |
|
Value can be True/False |
Expected Response
Cardinality refers to the number of repetitions a field can have. A cardinality that allows zero (0) means the field is optional, and may not appear in the response.
The number of *'s indicate the parent-child depth.
Element |
Type(maxlength) |
Cardinality |
Notes |
---|
An response body as empty body
with HTTP status code 201 Created
Sample Request
Create a user role in a project
Sample request for creating a user role in project
|
Request Body -Json
{
"groups": [
{
"groupName": "TeamMarvel1",
"isLocked": "false"
}
]
}
or
{
"groups": [
{
"groupName": "TeamMarvel",
"isLocked": "false"
},
{
"groupName": "Team DC",
"isLocked": "false"
},
{
"groupName": "QA regression",
"isLocked": "true"
},
{
"groupName": "BedRocks",
"isLocked": "true"
}
]
}
Sample Response with HTTP status code 201 Created
Status Code |
Description |
HTTP Status Code |
---|---|---|
LOGIN_FAILED | Login failed - username or password incorrect | 401 Unauthorized |
UNAUTHORIZED | USER not permitted to use API | 401 Unauthorized |
USER_NOT_ON_PROJECT |
User is not on requested project |
401 Unauthorized |
PROJECT_NOT_FOUND
|
The project specified in the path of the request was not found
|
|
BAD REQUEST |
groupName is null/empty groupName exceeds max length -50 characters |
|
This API is available from the February 2024 release. See release notes.
This service deletes mailing Groups in Project using provided project ID
URL structure
HTTP DELETE - Delete Mailing Groups in Project
|
Parameters
Parameters |
Type(maxlength) |
Cardinality |
Notes |
---|---|---|---|
ProjectID |
string |
1 |
Project id of the project directory |
Input Payload template to Update user role name and properties
{ "groupName": "", "groupId": "" }
Cardinality refers to the number of repetitions a field can have. A cardinality that allows zero (0) means the field is optional, and may not appear in the response.
Element |
Type(maxlength) |
Cardinality |
Notes |
|
---|---|---|---|---|
groupID |
Attribute Int |
1 |
|
|
groupName | Attribute String |
1 |
|
Expected Response
Cardinality refers to the number of repetitions a field can have. A cardinality that allows zero (0) means the field is optional, and may not appear in the response.
The number of *'s indicate the parent-child depth.
Element |
Type(maxlength) |
Cardinality |
Notes |
---|
An response body as
{
"message": "Group Deleted Successfully",
"status": "OK"
}
with HTTP status code 200 OK
Sample Request
Create a user role in a project
Sample request for creating a user role in project
|
Request Body -Json
{
"groupName": "Architetural Group" "groupId": 1879048366, }
Sample Response
{
"message": "Group Deleted Successfully",
"status": "OK"
}
with HTTP status code 200 OK
Status Code |
Description |
HTTP Status Code |
---|---|---|
LOGIN_FAILED | Login failed - username or password incorrect | 401 Unauthorized |
UNAUTHORIZED | USER not permitted to use API | 401 Unauthorized |
USER_NOT_ON_PROJECT |
User is not on requested project |
401 Unauthorized |
PROJECT_NOT_FOUND
|
The project specified in the path of the request was not found
|
|
BAD REQUEST |
groupID is null/empty newgroupName exceeds max length -50 characters |
|
FORBIDDEN |
Group is Locked Group used in workflow templates |
|
This API is available from the February 2024 release. See release notes.
This service fetches Mailing Groups in Project using provided project ID
URL structure
HTTP GET -Fetch Mailing Groups in Project
|
Parameters
Parameters |
Type(maxlength) |
Cardinality |
Notes |
---|---|---|---|
ProjectID |
string |
1 |
Project id of the project directory |
Expected Response
Cardinality refers to the number of repetitions a field can have. A cardinality that allows zero (0) means the field is optional, and may not appear in the response.
The number of *'s indicate the parent-child depth.
Element |
Type(maxlength) |
Cardinality |
Notes |
---|
An response body as
with HTTP status code 200 Ok
Sample Request
Create a user role in a project
Sample request for creating a user role in project
|
Sample Response below :
{
"mailingGroups": [
{
"groupId": 1879053401,
"groupName": "Copy Mailing Group (TEST_1+2-9$) CHECK SPACE CONST",
"groupOwnerUserId": 1879053360,
"users": [
{
"userId": 1879053360,
"userName": "ashsree"
},
{
"userId": 1879054464,
"userName": "2312.mssql"
},
{
"userId": 1879053398,
"userName": "marvel.crash"
},
{
"userId": 1879053399,
"userName": "signage.crash"
}
],
"locked": false
},
{
"groupId": 1879053404,
"groupName": "FINAL ADDITION OF MAILING GROUPS IS IT OK INCLUDED",
"groupOwnerUserId": 1879053360,
"users": [
{
"userId": 1879053391,
"userName": "sandra.pearl"
},
{
"userId": 1879053379,
"userName": "windsor.manor"
},
{
"userId": 1879053398,
"userName": "marvel.crash"
}
],
"locked": true
},
{
"groupId": 1879053439,
"groupName": "TEST2",
"groupOwnerUserId": 1879053360,
"users": null,
"locked": true
}
]
}
with HTTP status code 200 Ok
Status Code |
Description |
HTTP Status Code |
---|---|---|
LOGIN_FAILED | Login failed - username or password incorrect | 401 Unauthorized |
UNAUTHORIZED | USER not permitted to use API | 401 Unauthorized |
USER_NOT_ON_PROJECT |
User is not on requested project |
401 Unauthorized |
PROJECT_NOT_FOUND
|
The project specified in the path of the request was not found
|
|
This API is available from the February 2024 release. See release notes.
This service updates mailing Groups in Project using provided project ID
URL structure
HTTP PUT - Update Mailing Groups in Project
|
Parameters
Parameters |
Type(maxlength) |
Cardinality |
Notes |
---|---|---|---|
ProjectID |
string |
1 |
Project id of the project directory |
Input Payload template to Update user role name and properties
{ "groupId": , "groupName": "", "newGroupName": "", "locked": }
Cardinality refers to the number of repetitions a field can have. A cardinality that allows zero (0) means the field is optional, and may not appear in the response.
Element |
Type(maxlength) |
Cardinality |
Notes |
|
---|---|---|---|---|
groupID |
Attribute Int |
1 |
|
|
groupName | Attribute String |
1 |
|
|
newGroupName | Attribute String |
1 |
|
newGroupName should be null |
isLocked | Attribute boolean |
0..1 |
|
Value can be True/False |
Expected Response
Cardinality refers to the number of repetitions a field can have. A cardinality that allows zero (0) means the field is optional, and may not appear in the response.
The number of *'s indicate the parent-child depth.
Element |
Type(maxlength) |
Cardinality |
Notes |
---|
An response body as
{
"message": "Group details updated successfully",
"status": "OK"
}
with HTTP status code 200 OK
Sample Request
Create a user role in a project
Sample request for creating a user role in project
|
Request Body -Json
{ "groupId": 1879048366, "groupName": "Architetural Group", "newGroupName": "Architetural Group123", "locked": false }
Sample Response
{
"message": "Group details updated successfully",
"status": "OK"
}
with HTTP status code 20O OK
Status Code |
Description |
HTTP Status Code |
---|---|---|
LOGIN_FAILED | Login failed - username or password incorrect | 401 Unauthorized |
UNAUTHORIZED | USER not permitted to use API | 401 Unauthorized |
USER_NOT_ON_PROJECT |
User is not on requested project |
401 Unauthorized |
PROJECT_NOT_FOUND
|
The project specified in the path of the request was not found
|
|
BAD REQUEST |
groupID is null/empty newgroupName exceeds max length -50 characters |
|
This API is available from the February 2024 release. See release notes.
This service add users in the mailing Groups in Project using provided project ID
URL structure
HTTP PUT -Update-adding users in Mailing Groups in Project
|
Parameters
Parameters |
Type(maxlength) |
Cardinality |
Notes |
---|---|---|---|
ProjectID |
string |
1 |
Project id of the project directory |
Input Payload template to Update user role name and properties
{ { "addOrRemoveUsersGroupRequest": [ { "groupId":, "userId":[] }, { "groupName": "", "userId":[] } ] } }
or
{ { "addOrRemoveUsersGroupRequest": [ { "groupId":, "userId":[] } ] } }
or
{ { "addOrRemoveUsersGroupRequest": [ { "groupName": "", "userId":[] } ] } }
Cardinality refers to the number of repetitions a field can have. A cardinality that allows zero (0) means the field is optional, and may not appear in the response.
Element |
Type(maxlength) |
Cardinality |
Notes |
|
---|---|---|---|---|
groupID |
Attribute Int |
1 |
|
can provide either groupName or
groupID |
groupName | Attribute String |
1 |
|
can provide either groupName or
groupID |
userId | Attribute int |
1 |
|
can provide one or multiple user ids |
Expected Response
Cardinality refers to the number of repetitions a field can have. A cardinality that allows zero (0) means the field is optional, and may not appear in the response.
The number of *'s indicate the parent-child depth.
Element |
Type(maxlength) |
Cardinality |
Notes |
---|
An response body as
{
"message": "All Users added successfully",
"status": "OK"
}
or
{
"message":"The given User ID(s) - [] added successfully. The given User ID(s) - [] is either invalid or not part of the project. Please check and update the request",
"status":"OK"
}
with HTTP status code 200 OK
Sample Request
Create a user role in a project
Sample request for creating a user role in project
|
Request Body -Json
{ "addOrRemoveUsersGroupRequest": [ { "groupId": 1879048366, "userId":[1879049272, 1879049129, 123] }, { "groupName": "Design Meeting Group", "userId":[1879049119, 1879049120] } ] }
Sample Response
An response body as
{
"message": "Users added successfully",
"status": "OK"
}
or
{
"message":"The given User ID(s) - [18790533272] added successfully. The given User ID(s) - [1879053360, 1879053391] is either invalid or not part of the project. Please check and update the request",
"status":"OK"
}
with HTTP status code 20O OK
Status Code |
Description |
HTTP Status Code |
---|---|---|
LOGIN_FAILED | Login failed - username or password incorrect | 401 Unauthorized |
UNAUTHORIZED | USER not permitted to use API | 401 Unauthorized |
USER_NOT_ON_PROJECT |
User is not on requested project |
401 Unauthorized |
PROJECT_NOT_FOUND
|
The project specified in the path of the request was not found
|
|
BAD REQUEST |
groupID is null/empty groupName is null/empty /group exists with same name |
|
This API is available from the February 2024 release. See release notes.
This service remove users in the mailing Groups in Project using provided project ID
URL structure
HTTP PUT - Update - Removing users Mailing Groups in Project
|
Parameters
Parameters |
Type(maxlength) |
Cardinality |
Notes |
---|---|---|---|
ProjectID |
string |
1 |
Project id of the project directory |
Input Payload template to Update user role name and properties
{ { "addOrRemoveUsersGroupRequest": [ { "groupId":, "userId":[] }, { "groupName": "", "userId":[] } ] } }
or
{ { "addOrRemoveUsersGroupRequest": [ { "groupId":, "userId":[] } ] } }
or
{ { "addOrRemoveUsersGroupRequest": [ { "groupName": "", "userId":[] } ] } }
Cardinality refers to the number of repetitions a field can have. A cardinality that allows zero (0) means the field is optional, and may not appear in the response.
Element |
Type(maxlength) |
Cardinality |
Notes |
|
---|---|---|---|---|
groupID |
Attribute Int |
1 |
|
can provide either groupName or groupID Mandatory |
groupName | Attribute String |
1 |
|
can provide either groupName or
groupID Mandatory |
userId | Attribute int |
1 |
|
can provide one or multiple user ids |
Expected Response
Cardinality refers to the number of repetitions a field can have. A cardinality that allows zero (0) means the field is optional, and may not appear in the response.
The number of *'s indicate the parent-child depth.
Element |
Type(maxlength) |
Cardinality |
Notes |
---|
An response body as
{
"message": "All Users removed successfully",
"status": "OK"
}
or
{
"message":"The given User ID(s) - [] removed successfully. The given User ID(s) - [] is either invalid or not part of the project. Please check and update the request",
"status":"OK"
}
with HTTP status code 200 OK
Sample Request
Create a user role in a project
Sample request for creating a user role in project
|
Request Body -Json
{ "addOrRemoveUsersGroupRequest": [ { "groupId": 1879048366, "userId":[1879049272, 1879049129, 123] }, { "groupName": "Design Meeting Group", "userId":[1879049119, 1879049120] } ] }
Sample Response
An response body as
{
"message": "Users removed successfully",
"status": "OK"
}
or
{
"message":"The given User ID(s) - [18790533272] removed successfully. The given User ID(s) - [1879053360, 1879053391] is either invalid or not part of the project. Please check and update the request",
"status":"OK"
}
with HTTP status code 20O OK
Status Code |
Description |
HTTP Status Code |
---|---|---|
LOGIN_FAILED | Login failed - username or password incorrect | 401 Unauthorized |
UNAUTHORIZED | USER not permitted to use API | 401 Unauthorized |
USER_NOT_ON_PROJECT |
User is not on requested project |
401 Unauthorized |
PROJECT_NOT_FOUND
|
The project specified in the path of the request was not found
|
|
BAD REQUEST |
groupID is null/empty groupName is null/empty /group exists with same name |
|