# Models

## The ActionInquiry object

```json
{"openapi":"3.1.0","info":{"title":"Action Inquiries API","version":"16"},"components":{"schemas":{"ActionInquiry":{"type":"object","properties":{"Id":{"type":"integer","description":"Unique identifier for the action inquiry."},"MediaPartnerInquiryId":{"type":"string","description":"Your own internal reference ID for the inquiry, submitted at creation."},"CampaignId":{"type":"integer","description":"Unique identifier for the campaign associated with the inquiry."},"CampaignName":{"type":"string","description":"Display name of the campaign associated with the inquiry."},"OrderId":{"type":"string","description":"The order identifier for the transaction being disputed."},"TransactionDate":{"type":"string","format":"date-time","description":"The date and time of the transaction being disputed."},"TransactionAmount":{"type":"number","format":"decimal","description":"The value of the transaction being disputed."},"CustomerId":{"type":"string","description":"A unique identifier for the customer associated with the transaction."},"InquiryDate":{"type":"string","format":"date-time","description":"The date and time the transaction was originally submitted."},"InquiryType":{"$ref":"#/components/schemas/InquiryType","description":"The type of inquiry being raised."},"ExpectedPayout":{"type":"number","format":"decimal","description":"The commission amount you expect to receive if the inquiry is approved."},"ResolutionDeadlineDate":{"type":"string","format":"date-time","description":"The deadline by which the inquiry must be resolved."},"Comments":{"type":"array","description":"A list of comments associated with the inquiry, including any InquiryNotes submitted at creation.","items":{"$ref":"#/components/schemas/Comment"}},"InquiryNotes":{"type":"string","description":"Additional notes or context submitted with the inquiry."},"TrackingLink":{"type":"string","description":"The tracking link associated with the transaction, if applicable."},"ActionId":{"type":"string","description":"The unique identifier of the action associated with the inquiry, if one was found."},"ActionUri":{"type":"string","description":"The API resource path for the associated action."},"AutoApprovalDate":{"type":"string","format":"date-time","description":"The date and time the inquiry will be automatically approved if not manually reviewed."},"ResolutionStatus":{"$ref":"#/components/schemas/ResolutionStatus","description":"The current resolution status of the inquiry."},"RejectReason":{"$ref":"#/components/schemas/RejectReason","description":"The reason the inquiry was declined. Only populated when ResolutionStatus is DECLINED."},"FinalPayout":{"type":"number","format":"decimal","description":"The final commission amount paid out following resolution of the inquiry."},"ResolutionDate":{"type":"string","format":"date-time","description":"The date and time the inquiry was resolved."},"CreationDate":{"type":"string","format":"date-time","description":"The date and time the inquiry was created."},"Uri":{"type":"string","description":"Unique reference to the action inquiry object in the impact.com API."}}},"InquiryType":{"type":"string","description":"The type of inquiry being raised.","enum":["UNTRACKED","INCORRECT","DECLINED"]},"Comment":{"type":"object","properties":{"User":{"type":"string","description":"The name or identifier of the user who posted the comment."},"Comment":{"type":"string","description":"The content of the comment."},"Date":{"type":"string","format":"date-time","description":"The date and time the comment was posted."}}},"ResolutionStatus":{"type":"string","description":"The current resolution status of the inquiry.","enum":["UNRESOLVED","VALID","DECLINED","INCOMPLETE"]},"RejectReason":{"type":"string","description":"The reason provided by the brand for declining the inquiry.","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"]}}}}
```

## The InquiryType object

```json
{"openapi":"3.1.0","info":{"title":"Action Inquiries API","version":"16"},"components":{"schemas":{"InquiryType":{"type":"string","description":"The type of inquiry being raised.","enum":["UNTRACKED","INCORRECT","DECLINED"]}}}}
```

## The ResolutionStatus object

```json
{"openapi":"3.1.0","info":{"title":"Action Inquiries API","version":"16"},"components":{"schemas":{"ResolutionStatus":{"type":"string","description":"The current resolution status of the inquiry.","enum":["UNRESOLVED","VALID","DECLINED","INCOMPLETE"]}}}}
```

## The RejectReason object

```json
{"openapi":"3.1.0","info":{"title":"Action Inquiries API","version":"16"},"components":{"schemas":{"RejectReason":{"type":"string","description":"The reason provided by the brand for declining the inquiry.","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"]}}}}
```

## The Comment object

```json
{"openapi":"3.1.0","info":{"title":"Action Inquiries API","version":"16"},"components":{"schemas":{"Comment":{"type":"object","properties":{"User":{"type":"string","description":"The name or identifier of the user who posted the comment."},"Comment":{"type":"string","description":"The content of the comment."},"Date":{"type":"string","format":"date-time","description":"The date and time the comment was posted."}}}}}}
```


---

# 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/partner-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.
