POST api/Section/GetSectionById

Request Information

URI Parameters

None.

Body Parameters

SectionItemViewModel
NameDescriptionTypeAdditional information
PortalId

integer

None.

UserId

integer

None.

Id

integer

None.

SessionId

integer

None.

Name

string

None.

ReturnStatus

boolean

None.

ReturnMessage

Collection of string

None.

ValidationErrors

Dictionary of Object [key] and Object [value]

None.

TotalPages

integer

None.

TotalRows

integer

None.

PageSize

integer

None.

IsAuthenticated

boolean

None.

SortExpression

string

None.

SortDirection

string

None.

CurrentPageNumber

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "portalId": 1,
  "userId": 2,
  "id": 3,
  "sessionId": 4,
  "name": "sample string 5",
  "returnStatus": true,
  "returnMessage": [
    "sample string 1",
    "sample string 2"
  ],
  "validationErrors": {
    "system.Object": {}
  },
  "totalPages": 7,
  "totalRows": 8,
  "pageSize": 9,
  "isAuthenticated": true,
  "sortExpression": "sample string 11",
  "sortDirection": "sample string 12",
  "currentPageNumber": 13
}

application/xml, text/xml

Sample:
<SectionItemViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.ViewModels">
  <CurrentPageNumber xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">13</CurrentPageNumber>
  <IsAuthenticated xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">true</IsAuthenticated>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">9</PageSize>
  <ReturnMessage xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ReturnMessage>
  <ReturnStatus xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">true</ReturnStatus>
  <SortDirection xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">sample string 12</SortDirection>
  <SortExpression xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">sample string 11</SortExpression>
  <TotalPages xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">7</TotalPages>
  <TotalRows xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">8</TotalRows>
  <ValidationErrors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">
    <d2p1:KeyValueOfanyTypeanyType>
      <d2p1:Key />
      <d2p1:Value />
    </d2p1:KeyValueOfanyTypeanyType>
    <d2p1:KeyValueOfanyTypeanyType>
      <d2p1:Key />
      <d2p1:Value />
    </d2p1:KeyValueOfanyTypeanyType>
  </ValidationErrors>
  <Id>3</Id>
  <Name>sample string 5</Name>
  <SessionId>4</SessionId>
  <PortalId>1</PortalId>
  <UserId>2</UserId>
</SectionItemViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.