Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
278 lines (194 sloc) 3.67 KB

WorkRoles

(implementation of WorkRole entity)

Provides following method for API calls:

Create

URL:

/api/v1/{format}/workroles

Method:

POST

Parameters request:

Object< WorkRole >

Parameters response:

Object

Description:

  1. name(STRING)
  2. id(NUMBER)

Delete

URL:

/api/v1/{format}/workroles/{id}

Method:

DELETE

Parameters request:

null

Parameters response:

Object

Description:

  1. name(STRING)
  2. id(NUMBER)

DeleteByIds

URL:

/api/v1/{format}/workroles

Method:

DELETE

Parameters request:

Url parameters: ids

Parameters response:

Array

Description:

  1. name(STRING)
  2. id(NUMBER)

Get

URL:

/api/v1/{format}/workroles/{id}

Method:

GET

Parameters request:

null

Parameters response:

Object

Description:

  1. name(STRING)
  2. id(NUMBER)

GetAll

URL:

/api/v1/{format}/workroles

Method:

GET

Parameters request:

null

Parameters response:

Array

Description:

  1. name(STRING)
  2. id(NUMBER)

SaveAll

URL:

/api/v1/{format}/workroles/saveall

Method:

POST

Parameters request:

Array< WorkRole >

Parameters response:

Array

Description:

  1. name(STRING)
  2. id(NUMBER)

SaveAllAndReturnIds

URL:

/api/v1/{format}/workroles/saveall

Method:

POST

Parameters request:

Url parameters: full

Array< WorkRole >

Parameters response:

Array

Description:
ARRAY<NUMBER>

Search

URL:

/api/v1/{format}/workroles/search

Method:

POST

Parameters request:

Array< SearchCriteries$SearchCriteriaResult >

Parameters response:

Array

Description:

  1. name(STRING)
  2. id(NUMBER)

SearchFirst

URL:

/api/v1/{format}/workroles/search/first

Method:

POST

Parameters request:

Array< SearchCriteries$SearchCriteriaResult >

Parameters response:

Object

Description:

  1. name(STRING)
  2. id(NUMBER)

Update

URL:

/api/v1/{format}/workroles/{id}

Method:

PUT

Parameters request:

Object< WorkRole >

Parameters response:

Object

Description:

  1. name(STRING)
  2. id(NUMBER)
You can’t perform that action at this time.