GetbyUserID

Method

GET

Request Format

JSON

Response Format

JSON

UriTemplate

cws/paTemplatePersons/getByUserId/{userId}


Parameter

userId

GUID

Unique identifier of User



Return

List<PaTemplatePersonSimplifiedCwsDto>

List<PaTemplatePersonSimplifiedCwsDto>

200 – Ok
500 – Error
404 – Not Found


Example:

Method

GET

Request URL

http://pa.luware.com/cws/paTemplatePersons/getByUserId/e290d367-f8b8-43f8-b91c-a72700f5c679

Raw headers

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

GetActive

Method

GET

Request Format

JSON

Response Format

JSON

UriTemplate

cws/patemplatepersons/getactive/{userId}


Parameter

userId

GUID

Unique identifier of User



Return

PaTemplatePersonSimplifiedCwsDto

PaTemplatePersonSimplifiedCwsDto

200 – Ok
500 – Error
404 – Not Found


Example:

Method

GET

Request URL

http://pa.luware.com/ cws/paTemplatePersons/getActive /e290d367-f8b8-43f8-b91c-a72700f5c679

Raw headers

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

Apply

Method

POST

Request Format

JSON

Response Format

JSON

UriTemplate

cws/paTemplatePersons/apply/{id}


Parameter

id

guid

Template unique identifier


Update

Method

POST

Request Format

JSON

Response Format

JSON

UriTemplate

cws/paTemplatePersons/ update


Parameter

template

PaTemplatePersonSimplifiedCwsDto


In body of request

Update and Apply

Method

POST

Request Format

JSON

Response Format

JSON

UriTemplate

cws/paTemplatePersons/update


Parameter

template

PaTemplatePersonSimplifiedCwsDto


In body of request