GPC

All GPC endpoints have path prefix /gpc-service.

Get GPC Current Schema

GET /gpc-service/schema
Parameters
Name Type Description
authenticateit_identity_ticket header Required: Session's ticket
Example Response
{
  "schema": "201712"
}

Get Schema Languages

Obtaining available languages of the schema.

GET /gpc-service/:schema/languages
Parameters
Name Type Description
authenticateit_identity_ticket header Required: Session's ticket
schema string Year + Month, e.g. "201712"
Example Response
{
  "languages": [
    "en"
  ]
}

Get Segments

Obtaining all segments of the schema.

GET /gpc-service/:schema/:language/segments
Parameters
Name Type Description
authenticateit_identity_ticket header Required: Session's ticket
schema string Year + Month, e.g. "201712"
language string ISO 639-1: two-letter codes
Example Response
{
  "segments": [
    {
      "code": "70000000",
      "title": "Arts/Crafts/Needlework"
    },
    {
      "code": "68000000",
      "title": "Audio Visual/Photography"
    },
    {
      "code": "77000000",
      "title": "Automotive"
    },
    {
      "code": "86000000",
      "title": "Toys/Games"
    }
  ]
}

Get GPC Segment

Obtaining segment information.

GET /gpc-service/:schema/:language/segment/:code
Parameters
Name Type Description
authenticateit_identity_ticket header Required: Session's ticket
schema string Year + Month, e.g. "201712"
language string ISO 639-1: two-letter codes
code string eight-digit segment code
Example Response
{
  "code": "94000000",
  "title": "Crops",
  "definition": "Cultivated crops including crops for forage, feed and green manure",
  "families": [
    {
      "code": "94020000",
      "title": "Crops for Food Production"
    },
    {
      "code": "94010000",
      "title": "Crops not for food or feed (animal and fish)"
    }
  ]
}

Get GPC Family

Obtaining family information.

GET /gpc-service/:schema/:language/family/:code
Parameters
Name Type Description
authenticateit_identity_ticket header Required: Session's ticket
schema string Year + Month, e.g. "201712"
language string ISO 639-1: two-letter codes
code string eight-digit family code
Example Response
{
  "code": "70010000",
  "title": "Arts/Crafts/Needlework Supplies",
  "definition": "",
  "classes": [
    {
      "code": "70010100",
      "title": "Artists Painting/Drawing Supplies"
    },
    {
      "code": "70010200",
      "title": "Airbrushing Supplies"
    },
    {
      "code": "70010300",
      "title": "Sculptors/Pottery Craft Supplies"
    },
    {
      "code": "70011300",
      "title": "Arts/Crafts Variety Packs"
    }
  ]
}

Get GPC Class

Obtaining class information.

GET /gpc-service/:schema/:language/class/:code
Parameters
Name Type Description
authenticateit_identity_ticket header Required: Session's ticket
schema string Year + Month, e.g. "201712"
language string ISO 639-1: two-letter codes
code string eight-digit class code
Example Response
{
  "code": "70010100",
  "title": "Artists Painting/Drawing Supplies",
  "definition": "",
  "bricks": [
    {
      "code": "10001682",
      "title": "Artists Accessories"
    },
    {
      "code": "10001674",
      "title": "Artists Brushes/Applicators"
    },
    {
      "code": "10001677",
      "title": "Artists Pastels/Charcoal/Crayons"
    },
    {
      "code": "10001683",
      "title": "Sand Art Supplies"
    }
  ]
}

Get GPC Brick

Obtaining brick information.

GET /gpc-service/:schema/:language/brick/:code
Parameters
Name Type Description
authenticateit_identity_ticket header Required: Session's ticket
schema string Year + Month, e.g. "201712"
language string ISO 639-1: two-letter codes
code string eight-digit brick code
Example Response
{
  "code": "10001682",
  "title": "Artists Accessories",
  "definition": "Includes any products that can be described/observed as an item designed to aid the artistic painting process. Includes products such as Brush Cases, Easel Bags and Canvas Frames. Excludes products such as Artists Paints, Brushes, Easels and Palettes.",
  "attributes": [
    {
      "code": "20001345",
      "title": "Type of Artists Accessory"
    }
  ]
}

Get GPC Brick Attribute

Obtaining attribute information.

GET /gpc-service/:schema/:language/brick/:brickcode/attribute/:code
Parameters
Name Type Description
authenticateit_identity_ticket header Required: Session's ticket
schema string Year + Month, e.g. "201712"
language string ISO 639-1: two-letter codes
brickcode string eight-digit brick code
code string eight-digit attribute code
Example Response
{
  "code": "20001345",
  "title": "Type of Artists Accessory",
  "definition": "Indicates, with reference to the product branding, labelling or packaging, the descriptive term that is used by the product manufacturer to identify the type of artist's accessory.",
  "values": [
    {
      "code": "30008524",
      "title": "BRUSH CASE"
    },
    {
      "code": "30008525",
      "title": "BRUSH HOLDER"
    },
    {
      "code": "30008526",
      "title": "CANVAS/ART WORK HOLDER"
    },
    {
      "code": "30002518",
      "title": "UNIDENTIFIED"
    }
  ]
}

Get GPC Attribute Value

Obtaining value information.

GET /gpc-service/:schema/:language/value/:code
Parameters
Name Type Description
authenticateit_identity_ticket header Required: Session's ticket
schema string Year + Month, e.g. "201712"
language string ISO 639-1: two-letter codes
code string eight-digit value code
Example Response
{
  "code": "30008524",
  "title": "BRUSH CASE",
  "definition": ""
}

results matching ""

    No results matching ""