POST api/Session/GetTheaterRender
Request Information
URI Parameters
None.
Body Parameters
TheaterRenderItemViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SessionId | string |
None. |
|
| PortalId | string |
None. |
|
| UserId | integer |
None. |
|
| Id | string |
None. |
|
| Name | string |
None. |
|
| Address | string |
None. |
|
| City | string |
None. |
|
| Province | string |
None. |
|
| Postcode | string |
None. |
|
| IsDefault | boolean |
None. |
|
| Latitude | string |
None. |
|
| Longitude | string |
None. |
|
| MapUrl | string |
None. |
|
| TheaterObjects | Collection of TheaterObjectRenderViewModel |
None. |
|
| Seats | Collection of TheaterSeatRenderViewModel |
None. |
|
| Section | Collection of TheaterSectionRenderViewModel |
None. |
|
| JsonRender | Collection of TheaterJsonRenderViewModel |
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:
{
"sessionId": "sample string 1",
"portalId": "sample string 2",
"userId": 3,
"id": "sample string 4",
"name": "sample string 5",
"address": "sample string 6",
"city": "sample string 7",
"province": "sample string 8",
"postcode": "sample string 9",
"isDefault": true,
"latitude": "sample string 11",
"longitude": "sample string 12",
"mapUrl": "sample string 13",
"theaterObjects": [
{
"id": "sample string 1",
"shape": "sample string 2",
"shapeAttributes": "sample string 3",
"tooltipText": "sample string 4",
"text": "sample string 5"
},
{
"id": "sample string 1",
"shape": "sample string 2",
"shapeAttributes": "sample string 3",
"tooltipText": "sample string 4",
"text": "sample string 5"
}
],
"seats": [
{
"id": "sample string 1",
"positionX": 2,
"positionY": 3,
"isDisabled": true,
"price": 5.0,
"text": "sample string 6",
"shape": "sample string 7",
"shapeAttributes": "sample string 8",
"defaultColor": "sample string 9",
"sectionId": "sample string 10",
"row": 11,
"number": 12,
"tooltip": "sample string 13"
},
{
"id": "sample string 1",
"positionX": 2,
"positionY": 3,
"isDisabled": true,
"price": 5.0,
"text": "sample string 6",
"shape": "sample string 7",
"shapeAttributes": "sample string 8",
"defaultColor": "sample string 9",
"sectionId": "sample string 10",
"row": 11,
"number": 12,
"tooltip": "sample string 13"
}
],
"section": [
{
"id": "sample string 1",
"name": "sample string 2",
"shape": "sample string 3",
"shapeAttributes": "sample string 4"
},
{
"id": "sample string 1",
"name": "sample string 2",
"shape": "sample string 3",
"shapeAttributes": "sample string 4"
}
],
"jsonRender": [
{
"id": "sample string 1",
"sectionName": "sample string 2",
"jsonRender": "sample string 3"
},
{
"id": "sample string 1",
"sectionName": "sample string 2",
"jsonRender": "sample string 3"
}
],
"returnStatus": true,
"returnMessage": [
"sample string 1",
"sample string 2"
],
"validationErrors": {
"system.Object": {}
},
"totalPages": 15,
"totalRows": 16,
"pageSize": 17,
"isAuthenticated": true,
"sortExpression": "sample string 19",
"sortDirection": "sample string 20",
"currentPageNumber": 21
}
application/xml, text/xml
Sample:
<TheaterRenderItemViewModel 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">21</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">17</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 20</SortDirection>
<SortExpression xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">sample string 19</SortExpression>
<TotalPages xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">15</TotalPages>
<TotalRows xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">16</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>
<Address>sample string 6</Address>
<City>sample string 7</City>
<Id>sample string 4</Id>
<IsDefault>true</IsDefault>
<JsonRender>
<TheaterJsonRenderViewModel>
<Id>sample string 1</Id>
<JsonRender>sample string 3</JsonRender>
<SectionName>sample string 2</SectionName>
</TheaterJsonRenderViewModel>
<TheaterJsonRenderViewModel>
<Id>sample string 1</Id>
<JsonRender>sample string 3</JsonRender>
<SectionName>sample string 2</SectionName>
</TheaterJsonRenderViewModel>
</JsonRender>
<Latitude>sample string 11</Latitude>
<Longitude>sample string 12</Longitude>
<MapUrl>sample string 13</MapUrl>
<Name>sample string 5</Name>
<Postcode>sample string 9</Postcode>
<Province>sample string 8</Province>
<Seats>
<TheaterSeatRenderViewModel>
<DefaultColor>sample string 9</DefaultColor>
<Id>sample string 1</Id>
<IsDisabled>true</IsDisabled>
<Number>12</Number>
<PositionX>2</PositionX>
<PositionY>3</PositionY>
<Price>5</Price>
<Row>11</Row>
<SectionId>sample string 10</SectionId>
<Shape>sample string 7</Shape>
<ShapeAttributes>sample string 8</ShapeAttributes>
<Text>sample string 6</Text>
<Tooltip>sample string 13</Tooltip>
</TheaterSeatRenderViewModel>
<TheaterSeatRenderViewModel>
<DefaultColor>sample string 9</DefaultColor>
<Id>sample string 1</Id>
<IsDisabled>true</IsDisabled>
<Number>12</Number>
<PositionX>2</PositionX>
<PositionY>3</PositionY>
<Price>5</Price>
<Row>11</Row>
<SectionId>sample string 10</SectionId>
<Shape>sample string 7</Shape>
<ShapeAttributes>sample string 8</ShapeAttributes>
<Text>sample string 6</Text>
<Tooltip>sample string 13</Tooltip>
</TheaterSeatRenderViewModel>
</Seats>
<Section>
<TheaterSectionRenderViewModel>
<Id>sample string 1</Id>
<Name>sample string 2</Name>
<Shape>sample string 3</Shape>
<ShapeAttributes>sample string 4</ShapeAttributes>
</TheaterSectionRenderViewModel>
<TheaterSectionRenderViewModel>
<Id>sample string 1</Id>
<Name>sample string 2</Name>
<Shape>sample string 3</Shape>
<ShapeAttributes>sample string 4</ShapeAttributes>
</TheaterSectionRenderViewModel>
</Section>
<TheaterObjects>
<TheaterObjectRenderViewModel>
<Id>sample string 1</Id>
<Shape>sample string 2</Shape>
<ShapeAttributes>sample string 3</ShapeAttributes>
<Text>sample string 5</Text>
<TooltipText>sample string 4</TooltipText>
</TheaterObjectRenderViewModel>
<TheaterObjectRenderViewModel>
<Id>sample string 1</Id>
<Shape>sample string 2</Shape>
<ShapeAttributes>sample string 3</ShapeAttributes>
<Text>sample string 5</Text>
<TooltipText>sample string 4</TooltipText>
</TheaterObjectRenderViewModel>
</TheaterObjects>
<PortalId>sample string 2</PortalId>
<SessionId>sample string 1</SessionId>
<UserId>3</UserId>
</TheaterRenderItemViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |