POST api/Theater/GetDefaultTheater
Request Information
URI Parameters
None.
Body Parameters
TheaterItemViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PortalId | integer |
None. |
|
| UserId | integer |
None. |
|
| EnsureTheaterId | integer |
None. |
|
| OrganizationName | string |
None. |
|
| ShowId | string |
None. |
|
| ShowName | string |
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. |
|
| 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,
"ensureTheaterId": 3,
"organizationName": "sample string 4",
"showId": "sample string 5",
"showName": "sample string 6",
"id": "sample string 7",
"name": "sample string 8",
"address": "sample string 9",
"city": "sample string 10",
"province": "sample string 11",
"postcode": "sample string 12",
"isDefault": true,
"latitude": "sample string 14",
"longitude": "sample string 15",
"mapUrl": "sample string 16",
"returnStatus": true,
"returnMessage": [
"sample string 1",
"sample string 2"
],
"validationErrors": {
"system.Object": {}
},
"totalPages": 18,
"totalRows": 19,
"pageSize": 20,
"isAuthenticated": true,
"sortExpression": "sample string 22",
"sortDirection": "sample string 23",
"currentPageNumber": 24
}
application/xml, text/xml
Sample:
<TheaterItemViewModel 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">24</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">20</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 23</SortDirection>
<SortExpression xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">sample string 22</SortExpression>
<TotalPages xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">18</TotalPages>
<TotalRows xmlns="http://schemas.datacontract.org/2004/07/Fila12.Business.Entities">19</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 9</Address>
<City>sample string 10</City>
<Id>sample string 7</Id>
<IsDefault>true</IsDefault>
<Latitude>sample string 14</Latitude>
<Longitude>sample string 15</Longitude>
<MapUrl>sample string 16</MapUrl>
<Name>sample string 8</Name>
<Postcode>sample string 12</Postcode>
<Province>sample string 11</Province>
<EnsureTheaterId>3</EnsureTheaterId>
<OrganizationName>sample string 4</OrganizationName>
<PortalId>1</PortalId>
<ShowId>sample string 5</ShowId>
<ShowName>sample string 6</ShowName>
<UserId>2</UserId>
</TheaterItemViewModel>
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. |