GET v1/classes

Gets list of all available active/inactive classes

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

SearchResultOfClassesSearchResult
NameDescriptionTypeAdditional information
TotalCount

integer

None.

Data

Collection of ClassesSearchResult

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<SearchResultOfClassesSearchResult9X4wrT_Pq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAPI.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BAPI.Models.Accounting">
    <d2p1:ClassesSearchResult>
      <d2p1:Active>true</d2p1:Active>
      <d2p1:FullName>sample string 3</d2p1:FullName>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:Parent xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </d2p1:Parent>
    </d2p1:ClassesSearchResult>
    <d2p1:ClassesSearchResult>
      <d2p1:Active>true</d2p1:Active>
      <d2p1:FullName>sample string 3</d2p1:FullName>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:Parent xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </d2p1:Parent>
    </d2p1:ClassesSearchResult>
  </Data>
  <TotalCount>1</TotalCount>
</SearchResultOfClassesSearchResult9X4wrT_Pq>