GET Department/GetAllDepartments?industry_id={industry_id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
industry_id

integer

Required

Body Parameters

None.

Response Information

Resource Description

DepartmentResponse
NameDescriptionTypeAdditional information
status

string

None.

remarks

string

None.

getDepartments

Collection of DepartmentData

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "remarks": "sample string 2",
  "getDepartments": [
    {
      "dept_id": 1,
      "dept_name": "sample string 2",
      "industry_id": 3,
      "industry": "sample string 4",
      "company_id": 5,
      "company": "sample string 6",
      "tags": "sample string 7"
    },
    {
      "dept_id": 1,
      "dept_name": "sample string 2",
      "industry_id": 3,
      "industry": "sample string 4",
      "company_id": 5,
      "company": "sample string 6",
      "tags": "sample string 7"
    }
  ]
}

application/xml, text/xml

Sample:
<DepartmentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OffshorePlacementsAPI.Models">
  <getDepartments>
    <DepartmentData>
      <company>sample string 6</company>
      <company_id>5</company_id>
      <dept_id>1</dept_id>
      <dept_name>sample string 2</dept_name>
      <industry>sample string 4</industry>
      <industry_id>3</industry_id>
      <tags>sample string 7</tags>
    </DepartmentData>
    <DepartmentData>
      <company>sample string 6</company>
      <company_id>5</company_id>
      <dept_id>1</dept_id>
      <dept_name>sample string 2</dept_name>
      <industry>sample string 4</industry>
      <industry_id>3</industry_id>
      <tags>sample string 7</tags>
    </DepartmentData>
  </getDepartments>
  <remarks>sample string 2</remarks>
  <status>sample string 1</status>
</DepartmentResponse>