POST api/Plan/GetPlanById

Request Information

URI Parameters

None.

Body Parameters

PlanItemViewModel
NameDescriptionTypeAdditional information
PortalId

integer

None.

UserId

integer

None.

Id

integer

None.

OrganizationId

integer

None.

CreatedByUser

integer

None.

CreatedDate

date

None.

ModifiedByUser

integer

None.

ModifiedDate

date

None.

Name

string

None.

MaxTicketsPerPlan

integer

None.

MaxTicketsPerShow

integer

None.

MaxTicketsPerSession

integer

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,
  "organizationId": 4,
  "createdByUser": 5,
  "createdDate": "2025-12-27T15:38:56.0550133+01:00",
  "modifiedByUser": 7,
  "modifiedDate": "2025-12-27T15:38:56.0550133+01:00",
  "name": "sample string 9",
  "maxTicketsPerPlan": 1,
  "maxTicketsPerShow": 1,
  "maxTicketsPerSession": 1,
  "returnStatus": true,
  "returnMessage": [
    "sample string 1",
    "sample string 2"
  ],
  "validationErrors": {
    "system.Object": {}
  },
  "totalPages": 11,
  "totalRows": 12,
  "pageSize": 13,
  "isAuthenticated": true,
  "sortExpression": "sample string 15",
  "sortDirection": "sample string 16",
  "currentPageNumber": 17
}

application/xml, text/xml

Sample:
<PlanItemViewModel 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">17</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">13</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 16</SortDirection>
  <SortExpression xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">sample string 15</SortExpression>
  <TotalPages xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">11</TotalPages>
  <TotalRows xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">12</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>
  <CreatedByUser>5</CreatedByUser>
  <CreatedDate>2025-12-27T15:38:56.0550133+01:00</CreatedDate>
  <Id>3</Id>
  <MaxTicketsPerPlan>1</MaxTicketsPerPlan>
  <MaxTicketsPerSession>1</MaxTicketsPerSession>
  <MaxTicketsPerShow>1</MaxTicketsPerShow>
  <ModifiedByUser>7</ModifiedByUser>
  <ModifiedDate>2025-12-27T15:38:56.0550133+01:00</ModifiedDate>
  <Name>sample string 9</Name>
  <OrganizationId>4</OrganizationId>
  <PortalId>1</PortalId>
  <UserId>2</UserId>
</PlanItemViewModel>

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.