POST api/products/exemption-bundles
This method will retrieve exemption product bundles available for selected exemptions and their corresponding years
Requires Authorization!
Request Information
URI Parameters
None.
Body Parameters
Collection of
Collection of ExemptionBundleRequestBindingName | Description | Type | Additional information |
---|---|---|---|
ExemptionId | integer |
None. |
|
TaxYear | integer |
None. |
Request Formats
application/json, text/json
Sample:
[ { "exemptionId": 1, "taxYear": 2 }, { "exemptionId": 1, "taxYear": 2 } ]
text/html
Sample:
[{"exemptionId":1,"taxYear":2},{"exemptionId":1,"taxYear":2}]
application/xml, text/xml
Sample:
<ArrayOfExemptionBundleRequestBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.WebModels.DocumentGeneration"> <ExemptionBundleRequestBinding> <ExemptionId>1</ExemptionId> <TaxYear>2</TaxYear> </ExemptionBundleRequestBinding> <ExemptionBundleRequestBinding> <ExemptionId>1</ExemptionId> <TaxYear>2</TaxYear> </ExemptionBundleRequestBinding> </ArrayOfExemptionBundleRequestBinding>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of
Collection of ExemptionProductBundleModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
Price | decimal number |
None. |
|
PreviewImageUrl | string |
None. |
|
CreatedDate | date |
None. |
|
DeletedDate | date |
None. |
|
ProductBundleTypeId | integer |
None. |
|
AppealYear | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1, "name": "sample string 2", "description": "sample string 3", "price": 4.0, "previewImageUrl": "sample string 5", "createdDate": "2025-05-20T16:44:48.088745-05:00", "deletedDate": "2025-05-20T16:44:48.088745-05:00", "productBundleTypeId": 8, "appealYear": 9 }, { "id": 1, "name": "sample string 2", "description": "sample string 3", "price": 4.0, "previewImageUrl": "sample string 5", "createdDate": "2025-05-20T16:44:48.088745-05:00", "deletedDate": "2025-05-20T16:44:48.088745-05:00", "productBundleTypeId": 8, "appealYear": 9 } ]
text/html
Sample:
[{"id":1,"name":"sample string 2","description":"sample string 3","price":4.0,"previewImageUrl":"sample string 5","createdDate":"2025-05-20T16:44:48.088745-05:00","deletedDate":"2025-05-20T16:44:48.088745-05:00","productBundleTypeId":8,"appealYear":9},{"id":1,"name":"sample string 2","description":"sample string 3","price":4.0,"previewImageUrl":"sample string 5","createdDate":"2025-05-20T16:44:48.088745-05:00","deletedDate":"2025-05-20T16:44:48.088745-05:00","productBundleTypeId":8,"appealYear":9}]
application/xml, text/xml
Sample:
<ArrayOfExemptionProductBundleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Pos.PageModels"> <ExemptionProductBundleModel> <AppealYear>9</AppealYear> <CreatedDate>2025-05-20T16:44:48.088745-05:00</CreatedDate> <DeletedDate>2025-05-20T16:44:48.088745-05:00</DeletedDate> <Description>sample string 3</Description> <Id>1</Id> <Name>sample string 2</Name> <PreviewImageUrl>sample string 5</PreviewImageUrl> <Price>4</Price> <ProductBundleTypeId>8</ProductBundleTypeId> </ExemptionProductBundleModel> <ExemptionProductBundleModel> <AppealYear>9</AppealYear> <CreatedDate>2025-05-20T16:44:48.088745-05:00</CreatedDate> <DeletedDate>2025-05-20T16:44:48.088745-05:00</DeletedDate> <Description>sample string 3</Description> <Id>1</Id> <Name>sample string 2</Name> <PreviewImageUrl>sample string 5</PreviewImageUrl> <Price>4</Price> <ProductBundleTypeId>8</ProductBundleTypeId> </ExemptionProductBundleModel> </ArrayOfExemptionProductBundleModel>