GET api/role/{id}/viewings?pageSize={pageSize}&pageNumber={pageNumber}&excludeDrafts={excludeDrafts}&useMinimalMapping={useMinimalMapping}
Get all of the viewings associated to the current property marketing role.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The id of the role to get the offers for. |
integer |
Required |
pageSize |
Page size to return. Set to null for all |
integer |
None. |
pageNumber |
Page number to return. Set to null for all |
integer |
Default value is 1 |
excludeDrafts | boolean |
Default value is True |
|
useMinimalMapping | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
PagedCollectionDataContractOfViewingDataContractName | Description | Type | Additional information |
---|---|---|---|
TotalCount | integer |
None. |
|
CurrentCount | integer |
None. |
|
PageSize | integer |
None. |
|
PageNumber | integer |
None. |
|
Collection | Collection of ViewingDataContract |
None. |
Response Formats
application/json
Sample:
text/json
Sample: