GET api/role/{id}/offers?pageSize={pageSize}&pageNumber={pageNumber}&excludeDrafts={excludeDrafts}
Get all of the offers 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 |
Body Parameters
None.
Response Information
Resource Description
PagedCollectionDataContractOfOfferDataContractName | Description | Type | Additional information |
---|---|---|---|
TotalCount | integer |
None. |
|
CurrentCount | integer |
None. |
|
PageSize | integer |
None. |
|
PageNumber | integer |
None. |
|
Collection | Collection of OfferDataContract |
None. |
Response Formats
application/json
Sample:
text/json
Sample: