GET v1/Sublines?pageNumber={pageNumber}&pageSize={pageSize}&orderBy={orderBy}&sortDirection={sortDirection}

Get all not deleted Sublines

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageNumber

Page Number

integer

Required

pageSize

Page Size

integer

Required

orderBy

Order By

string

Required

sortDirection

Sort Direction

string

Required

Body Parameters

None.

Response Information

Resource Description

Paged list of sublines

PageOfOfSublineDTO
NameDescriptionTypeAdditional information
Data

Collection of SublineDTO

None.

PageNumber

integer

None.

PagesTotal

integer

None.

TotalItems

integer

None.

IsSuccess

boolean

None.

ErrorCode

string

None.

ErrorMessage

string

None.

DisplayMessage

string

None.

Links

Collection of PageLink

None.

Href

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "ID": 1,
      "Name": "sample string 2",
      "IsSystem": true,
      "CodeValue": "sample string 4"
    },
    {
      "ID": 1,
      "Name": "sample string 2",
      "IsSystem": true,
      "CodeValue": "sample string 4"
    }
  ],
  "PageNumber": 1,
  "PagesTotal": 2,
  "TotalItems": 3,
  "IsSuccess": true,
  "ErrorCode": "sample string 5",
  "ErrorMessage": "sample string 6",
  "DisplayMessage": "sample string 7",
  "Links": [
    {
      "Rel": "sample string 1",
      "Href": "sample string 2"
    },
    {
      "Rel": "sample string 1",
      "Href": "sample string 2"
    }
  ],
  "Href": "sample string 8"
}

application/xml, text/xml

Sample:
<PageOfSublineDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">
    <d2p1:SublineDTO>
      <d2p1:CodeValue>sample string 4</d2p1:CodeValue>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:IsSystem>true</d2p1:IsSystem>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:SublineDTO>
    <d2p1:SublineDTO>
      <d2p1:CodeValue>sample string 4</d2p1:CodeValue>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:IsSystem>true</d2p1:IsSystem>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:SublineDTO>
  </Data>
  <DisplayMessage>sample string 7</DisplayMessage>
  <ErrorCode>sample string 5</ErrorCode>
  <ErrorMessage>sample string 6</ErrorMessage>
  <Href>sample string 8</Href>
  <IsSuccess>true</IsSuccess>
  <Links>
    <PageLink>
      <Href>sample string 2</Href>
      <Rel>sample string 1</Rel>
    </PageLink>
    <PageLink>
      <Href>sample string 2</Href>
      <Rel>sample string 1</Rel>
    </PageLink>
  </Links>
  <PageNumber>1</PageNumber>
  <PagesTotal>2</PagesTotal>
  <TotalItems>3</TotalItems>
</PageOfSublineDTO>