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>

SearchFirst

URL:

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

Method:

POST

Parameters request:

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)