Examples

PATCH /foundry-api/v1/sectors/63
{
  "data": {
    "id": "63",
    "type": "sectors",
    "attributes": {
      "slug": "technology",
      "useful-links": [],
      "name": "IT",
      "total-insights": "0"
    },
    "relationships": {}
  }
}
200
{
  "data": {
    "id": "63",
    "type": "sectors",
    "links": {
      "self": "http://test.host/foundry-api/v1/sectors/63"
    },
    "attributes": {
      "slug": "technology",
      "useful-links": [],
      "name": "IT",
      "total-insights": 0
    },
    "relationships": {
      "classification-distribution": {
        "links": {
          "self": "http://test.host/foundry-api/v1/sectors/63/relationships/classification-distribution",
          "related": "http://test.host/foundry-api/v1/sectors/63/classification-distribution"
        }
      },
      "industry-groups": {
        "links": {
          "self": "http://test.host/foundry-api/v1/sectors/63/relationships/industry-groups",
          "related": "http://test.host/foundry-api/v1/sectors/63/industry-groups"
        }
      }
    }
  }
}

Params

Param name Description
id
required

Sector ID

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hyphen(-) with no leading or trailing space.