List

Method

GET

Request Format

JSON

Response Format

JSON

UriTemplate

cws/organizationUnits/list


Return

List<OrganizationUnitCwsDto>

List<OrganizationUnitCwsDto>


Example:

Method

GET

Request URL

http://pa.luware.com/cws/organizationUnits/list

Raw headers

Content-Type:application/json
X-Cws-Token:Returned Token

GetbyID

Method

GET

Request Format

JSON

Response Format

JSON

UriTemplate

/cws/organizationUnits/getById/{organizationUnitId}


Parameter

userId

GUID

Unique identifier of Organization Unit



Return

OrganizationUnitCwsDto

OrganizationUnitCwsDto


Example:

Method

GET

Request URL

http://pa.luware.com /cws/organizationUnits/getById/77cce518-ed58-44d7-a5a5-a72100db0668

Raw headers

Content-Type:application/json
X-Cws-Token:Returned Token

GetbyName

Method

POST

Request Format

JSON

Response Format

JSON

UriTemplate

/cws/organizationUnits/getByName/


Parameter

name

string

Organization Unit's Name

In body of request


Return

OrganizationUnitCwsDto

OrganizationUnitCwsDto


Example:

Method

POST

Request URL

http://pa.luware.com/cws/organizationUnits/getByName/

Raw headers

Content-Type:application/json
X-Cws-Token:Returned Token

Request Body

"24/7 SUPPORT"

Delete OrganizationUnit

Method

DELETE

Request Format

JSON

Response Format

JSON

UriTemplate

/cws/organizationUnits/{id}/{removeWithChildren}


Parameter

Id

removeWithChildren

Guid

Bolean

User unique identifier



Example:

Method

DELETE

Request URL

http://pa.luware.com/cws/organizationUnits/aa4ef049-185c-455c-83c7-a79900c2af78/false

Raw headers

Content-Type:application/json
X-Cws-Token:Returned Token