---
title: GetRules (Pull Method)
description: "API: Retrieves the rules configuration for a given company, including assignment type, assignment category, and line‑item name metadata."
---

[Skip to content](https://knowledge.vipsoftware.com/getrules-pull-method#main-content)

[More support](https://knowledge.vipsoftware.com/kb-tickets/new?hsLang=en)

![](https://knowledge.vipsoftware.com/hs-fs/hubfs/rate%20iq%20(1)%20-%20June%2019%2c%202026%20at%2011.43.46-8-Artboard%208%20(1).png?width=500&height=500&name=rate%20iq%20(1)%20-%20June%2019%2c%202026%20at%2011.43.46-8-Artboard%208%20(1).png)

- [Knowledge Base](https://knowledge.vipsoftware.com/)
- [Support](https://knowledge.vipsoftware.com/tickets)

Open main navigation

Close main navigation

- [Knowledge Base](https://knowledge.vipsoftware.com/)
- [Support](https://knowledge.vipsoftware.com/tickets)
- [More support](https://knowledge.vipsoftware.com/kb-tickets/new)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Help Center](https://knowledge.vipsoftware.com/?hsLang=en)
2. [Integrations](https://knowledge.vipsoftware.com/integrations?hsLang=en)

# GetRules (Pull Method)

### GetRules

Retrieves the **rules** configuration for a given company, including assignment type, assignment category, and line‑item name metadata.

##### Request

| **Parameter** | **Type** | **Description** |
| --- | --- | --- |
| Company | String | **Required.** Company identifier returned by **GetCompanies**. |

##### Response

| **Parameter** | **Type** | **Description** |
| --- | --- | --- |
| RuleId | String | Unique identifier of the rule. |
| Errors | Array | Contains error message(s) should an error occur. |
| AssignmentType | String | Assignment type associated with the rule. |
| AssignmentCategory | String | Assignment category associated with the rule. |
| LineItemName | String | Line‑item name associated with the rule. |

##### Example (C#)

 

// setup request parameters

NameValueCollection getRulesParams = new NameValueCollection

{

    { "Company", "ABC" } // e.g., VIP Adjusting Services

};

dynamic getRulesResponse = apiClient.GetRules(getRulesParams);

Console.WriteLine("GetRules:");

// display results

foreach (var item in getRulesResponse)

{

    Console.WriteLine(

        "\\tRuleID: {0}; Type: {1}; AssignmentCategory: {2}; LineItemName: {3}\\n",

        item.RuleId,

        item.AssignmentType,

        item.AssignmentCategory,

        item.LineItemName

    );

}

 

- [Support FAQ](https://knowledge.vipsoftware.com/support-faq?hsLang=en)
- [General Application Information](https://knowledge.vipsoftware.com/general-application-information?hsLang=en)
- [BAP](https://knowledge.vipsoftware.com/bap?hsLang=en)
- [Invision](https://knowledge.vipsoftware.com/invision?hsLang=en)
- [Integrations](https://knowledge.vipsoftware.com/integrations?hsLang=en)

- [Knowledge Base](https://knowledge.vipsoftware.com/)
- [Support](https://knowledge.vipsoftware.com/tickets)

[![](https://knowledge.vipsoftware.com/hs-fs/hubfs/rate%20iq%20(1)%20-%20June%2019%2c%202026%20at%2011.43.46-8-Artboard%208%20(1).png?width=500&height=500&name=rate%20iq%20(1)%20-%20June%2019%2c%202026%20at%2011.43.46-8-Artboard%208%20(1).png)](http://vipsoftware.com)

<https://www.facebook.com/> <https://www.twitter.com/> <https://www.instagram.com/> <https://podcasts.apple.com/> [mailto:email@email.com](mailto:email@email.com)

Copyright © 2026, vipsoftware.com