GET v1/opportunity-categories

Gets list of all available active/inactive opportunity categories.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Category
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Parent

IdNamePair

None.

Active

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "name": "sample string 2",
    "parent": {
      "id": 1,
      "name": "sample string 2"
    },
    "active": true
  },
  {
    "id": 1,
    "name": "sample string 2",
    "parent": {
      "id": 1,
      "name": "sample string 2"
    },
    "active": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAPI.Models.Core">
  <Category>
    <Active>true</Active>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <Parent xmlns:d3p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models">
      <d3p1:_x003C_Id_x003E_k__BackingField>1</d3p1:_x003C_Id_x003E_k__BackingField>
      <d3p1:_x003C_Name_x003E_k__BackingField>sample string 2</d3p1:_x003C_Name_x003E_k__BackingField>
    </Parent>
  </Category>
  <Category>
    <Active>true</Active>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <Parent xmlns:d3p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models">
      <d3p1:_x003C_Id_x003E_k__BackingField>1</d3p1:_x003C_Id_x003E_k__BackingField>
      <d3p1:_x003C_Name_x003E_k__BackingField>sample string 2</d3p1:_x003C_Name_x003E_k__BackingField>
    </Parent>
  </Category>
</ArrayOfCategory>