POST RoleCategory/addRoleCategory?user_id={user_id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
user_id

integer

Required

Body Parameters

RoleCategoryData
NameDescriptionTypeAdditional information
role_cat_id

integer

None.

role_cat_name

string

None.

industry_id

integer

None.

department

integer

None.

department_name

string

None.

tags

string

None.

Request Formats

application/json, text/json

Sample:
{
  "role_cat_id": 1,
  "role_cat_name": "sample string 2",
  "industry_id": 3,
  "department": 4,
  "department_name": "sample string 5",
  "tags": "sample string 6"
}

application/xml, text/xml

Sample:
<RoleCategoryData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OffshorePlacementsAPI.Models">
  <department>4</department>
  <department_name>sample string 5</department_name>
  <industry_id>3</industry_id>
  <role_cat_id>1</role_cat_id>
  <role_cat_name>sample string 2</role_cat_name>
  <tags>sample string 6</tags>
</RoleCategoryData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UserResponse
NameDescriptionTypeAdditional information
status

string

None.

remarks

string

None.

id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "remarks": "sample string 2",
  "id": 3
}

application/xml, text/xml

Sample:
<UserResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OffshorePlacementsAPI.Models">
  <id>3</id>
  <remarks>sample string 2</remarks>
  <status>sample string 1</status>
</UserResponse>