# Models

## The ActionInquiry object

```json
{"openapi":"3.1.0","info":{"title":"Brand API - Action Inquiries","version":"v14"},"components":{"schemas":{"ActionInquiry":{"type":"object","properties":{"Id":{"type":"integer","description":"Unique identifier for the action inquiry."},"CampaignId":{"type":"integer","description":"Unique identifier for the associated campaign."},"CampaignName":{"type":"string"},"MediaPartnerId":{"type":"integer","description":"Unique identifier for the partner who created the inquiry."},"MediaPartnerName":{"type":"string"},"OrderId":{"type":"string","description":"Your unique identifier for the consumer order."},"TransactionDate":{"type":"string","format":"date-time"},"TransactionAmount":{"type":"number","format":"decimal"},"InquiryType":{"type":"string","enum":["UNTRACKED","INCORRECT","DECLINED"]},"ExpectedPayout":{"type":"number","format":"decimal"},"ResolutionDeadlineDate":{"type":"string","format":"date-time"},"Comments":{"type":"array","items":{"type":"object","properties":{"User":{"type":"string"},"Comment":{"type":"string"},"Date":{"type":"string","format":"date-time"}}}},"TrackingLink":{"type":"string","format":"uri"},"ActionId":{"type":"string"},"ActionUri":{"type":"string","format":"uri-reference"},"AutoApprovalDate":{"type":"string","format":"date-time"},"ResolutionStatus":{"type":"string","enum":["UNRESOLVED","VALID","DECLINED","INCOMPLETE"],"description":"Only returns action inquiries that match the specified resolution status."},"RejectReason":{"type":"string","nullable":true,"enum":["This transaction has been tracked successfully","Another marketing channel was credited with the sale","Another marketing channel was credited with the sale, due to a voucher/discount code used","Did not meet terms and conditions set by merchant","Transaction not completed - Order cancelled, changed, or returned","Transaction cannot be traced","Transaction not fully completed online","Enquiry does not provide complete information required for evaluation","Other"]},"FinalPayout":{"type":"number","format":"decimal","nullable":true},"ResolutionDate":{"type":"string","format":"date-time","nullable":true},"CreationDate":{"type":"string","format":"date-time"},"Uri":{"type":"string","format":"uri-reference"}}}}}}
```

## The ActionInquiryUpdateRequest object

```json
{"openapi":"3.1.0","info":{"title":"Brand API - Action Inquiries","version":"v14"},"components":{"schemas":{"ActionInquiryUpdateRequest":{"type":"object","required":["Id","ResolutionStatus"],"properties":{"Id":{"type":"integer","description":"Unique identifier for the action inquiry to update."},"ResolutionStatus":{"type":"string","description":"The new resolution status for the inquiry.","enum":["VALID","DECLINED","INCOMPLETE"]},"RejectReason":{"type":"string","description":"Required if ResolutionStatus is 'DECLINED'.","enum":["This transaction has been tracked successfully","Another marketing channel was credited with the sale","Another marketing channel was credited with the sale, due to a voucher/discount code used","Did not meet terms and conditions set by merchant","Transaction not completed - Order cancelled, changed, or returned","Transaction cannot be traced","Transaction not fully completed online","Enquiry does not provide complete information required for evaluation","Other"]},"ActionTrackerId":{"type":"integer","description":"Required if ResolutionStatus is 'VALID'. Unique ID for the event type."},"ResolutionNotes":{"type":"string","description":"Optional notes about the resolution for the partner to see."},"TransactionAmount":{"type":"number","format":"decimal","description":"Overrides the transaction amount provided by the partner."},"FinalPayout":{"type":"number","format":"decimal","description":"Manually sets the final payout, overriding system calculations."},"TransactionDate":{"type":"string","format":"date-time","description":"Specifies a new transaction date."},"ItemSku[i]":{"type":"string","description":"Indexed parameter for item SKU (e.g., ItemSku1, ItemSku2)."},"ItemCategory[i]":{"type":"string","description":"Indexed parameter for item category."},"ItemName[i]":{"type":"string","description":"For a VALID action inquiry, specifies the name of the item. This information can also be automatically appended through uploading a product catalog. impact.com highly recommends submitting this parameter when approving action inquiries to maintain accurate records & reporting."},"ItemSubCategory[i]":{"type":"string","description":"The sub-category for the item."},"ItemMPN[i]":{"type":"string","description":"Manufacturer Part Number for the item; primarily used for retail sales."},"ItemTotalRebate[i]":{"type":"number","format":"decimal","description":"Discount applied to this line item (not just for each product of this type)."},"ItemQty[i]":{"type":"integer","description":"Indexed parameter for item quantity."},"ItemSubtotal[i]":{"type":"number","format":"decimal","description":"Indexed parameter for item subtotal."},"PromoCode":{"type":"string","description":"Specifies the promo code used."},"CustomerId":{"type":"string","description":"Your unique, non-PII customer identifier."}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://integrations.impact.com/brand-api-reference/reference/action-inquiries/models.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
