Home / API / ASP.NET Web API Details

GET api/v1/Setup/GetEventByCompany?companyid={companyid}&languageid={languageid}&page={page}&pagelimit={pagelimit}

Description

Get Event List By Company Id

Request Information

Parameters

NameDescriptionAdditional information
companyid
int

Define this parameter in the request URI.

languageid
int, default value 0

Define this parameter in the request URI.

page
int, default value 1

Define this parameter in the request URI.

pagelimit
int, default value 500

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "eventtypeid": 1,
    "companyid": 2,
    "eventtype": 64,
    "isactive": true,
    "salesaccount": 5,
    "utctimestamp": "2025-02-23T06:36:50.2515294+00:00",
    "utclastchanged": "2025-02-23T06:36:50.2515294+00:00",
    "lastchangedby": "sample string 8",
    "reportcategory": 9,
    "specialcategory": 10,
    "createdby": "sample string 11",
    "duration": 12,
    "wotypeid": 13,
    "iswocustom": 14,
    "overridetaxtypeid": 15,
    "cawdoinspect": true,
    "pricerequired": true,
    "price": 18.0,
    "aged120": 19.0,
    "aged30": 20.0,
    "aged60": 21.0,
    "aged90": 22.0,
    "agedcurrent": 23.0,
    "callahead": true,
    "callaheadvalue": 25.0,
    "classification": 26,
    "isqaevent": 27,
    "requiredmaterialcount": 28,
    "pointsperdollar": 29.0,
    "isadvancedrenewal": true,
    "qrcodeid": 31,
    "pomeligible": true,
    "commprice": 33.0,
    "prodprice": 34.0,
    "measurementunit": 35,
    "eventname": {
      "eventtypeid": 1,
      "eventname": "sample string 2",
      "utctimestamp": "2025-02-23T06:36:50.2515294+00:00",
      "utclastchanged": "2025-02-23T06:36:50.2515294+00:00",
      "lastchangedby": "sample string 4",
      "invmsg": "sample string 5"
    }
  },
  {
    "eventtypeid": 1,
    "companyid": 2,
    "eventtype": 64,
    "isactive": true,
    "salesaccount": 5,
    "utctimestamp": "2025-02-23T06:36:50.2515294+00:00",
    "utclastchanged": "2025-02-23T06:36:50.2515294+00:00",
    "lastchangedby": "sample string 8",
    "reportcategory": 9,
    "specialcategory": 10,
    "createdby": "sample string 11",
    "duration": 12,
    "wotypeid": 13,
    "iswocustom": 14,
    "overridetaxtypeid": 15,
    "cawdoinspect": true,
    "pricerequired": true,
    "price": 18.0,
    "aged120": 19.0,
    "aged30": 20.0,
    "aged60": 21.0,
    "aged90": 22.0,
    "agedcurrent": 23.0,
    "callahead": true,
    "callaheadvalue": 25.0,
    "classification": 26,
    "isqaevent": 27,
    "requiredmaterialcount": 28,
    "pointsperdollar": 29.0,
    "isadvancedrenewal": true,
    "qrcodeid": 31,
    "pomeligible": true,
    "commprice": 33.0,
    "prodprice": 34.0,
    "measurementunit": 35,
    "eventname": {
      "eventtypeid": 1,
      "eventname": "sample string 2",
      "utctimestamp": "2025-02-23T06:36:50.2515294+00:00",
      "utclastchanged": "2025-02-23T06:36:50.2515294+00:00",
      "lastchangedby": "sample string 4",
      "invmsg": "sample string 5"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfsetupeventmodel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APICOMMON">
  <setupeventmodel>
    <aged120>19</aged120>
    <aged30>20</aged30>
    <aged60>21</aged60>
    <aged90>22</aged90>
    <agedcurrent>23</agedcurrent>
    <callahead>true</callahead>
    <callaheadvalue>25</callaheadvalue>
    <cawdoinspect>true</cawdoinspect>
    <classification>26</classification>
    <commprice>33</commprice>
    <companyid>2</companyid>
    <createdby>sample string 11</createdby>
    <duration>12</duration>
    <eventname>
      <eventname>sample string 2</eventname>
      <eventtypeid>1</eventtypeid>
      <invmsg>sample string 5</invmsg>
      <lastchangedby>sample string 4</lastchangedby>
      <utclastchanged>2025-02-23T06:36:50.2515294+00:00</utclastchanged>
      <utctimestamp>2025-02-23T06:36:50.2515294+00:00</utctimestamp>
    </eventname>
    <eventtype>64</eventtype>
    <eventtypeid>1</eventtypeid>
    <isactive>true</isactive>
    <isadvancedrenewal>true</isadvancedrenewal>
    <isqaevent>27</isqaevent>
    <iswocustom>14</iswocustom>
    <lastchangedby>sample string 8</lastchangedby>
    <measurementunit>35</measurementunit>
    <overridetaxtypeid>15</overridetaxtypeid>
    <pointsperdollar>29</pointsperdollar>
    <pomeligible>true</pomeligible>
    <price>18</price>
    <pricerequired>true</pricerequired>
    <prodprice>34</prodprice>
    <qrcodeid>31</qrcodeid>
    <reportcategory>9</reportcategory>
    <requiredmaterialcount>28</requiredmaterialcount>
    <salesaccount>5</salesaccount>
    <specialcategory>10</specialcategory>
    <utclastchanged>2025-02-23T06:36:50.2515294+00:00</utclastchanged>
    <utctimestamp>2025-02-23T06:36:50.2515294+00:00</utctimestamp>
    <wotypeid>13</wotypeid>
  </setupeventmodel>
  <setupeventmodel>
    <aged120>19</aged120>
    <aged30>20</aged30>
    <aged60>21</aged60>
    <aged90>22</aged90>
    <agedcurrent>23</agedcurrent>
    <callahead>true</callahead>
    <callaheadvalue>25</callaheadvalue>
    <cawdoinspect>true</cawdoinspect>
    <classification>26</classification>
    <commprice>33</commprice>
    <companyid>2</companyid>
    <createdby>sample string 11</createdby>
    <duration>12</duration>
    <eventname>
      <eventname>sample string 2</eventname>
      <eventtypeid>1</eventtypeid>
      <invmsg>sample string 5</invmsg>
      <lastchangedby>sample string 4</lastchangedby>
      <utclastchanged>2025-02-23T06:36:50.2515294+00:00</utclastchanged>
      <utctimestamp>2025-02-23T06:36:50.2515294+00:00</utctimestamp>
    </eventname>
    <eventtype>64</eventtype>
    <eventtypeid>1</eventtypeid>
    <isactive>true</isactive>
    <isadvancedrenewal>true</isadvancedrenewal>
    <isqaevent>27</isqaevent>
    <iswocustom>14</iswocustom>
    <lastchangedby>sample string 8</lastchangedby>
    <measurementunit>35</measurementunit>
    <overridetaxtypeid>15</overridetaxtypeid>
    <pointsperdollar>29</pointsperdollar>
    <pomeligible>true</pomeligible>
    <price>18</price>
    <pricerequired>true</pricerequired>
    <prodprice>34</prodprice>
    <qrcodeid>31</qrcodeid>
    <reportcategory>9</reportcategory>
    <requiredmaterialcount>28</requiredmaterialcount>
    <salesaccount>5</salesaccount>
    <specialcategory>10</specialcategory>
    <utclastchanged>2025-02-23T06:36:50.2515294+00:00</utclastchanged>
    <utctimestamp>2025-02-23T06:36:50.2515294+00:00</utctimestamp>
    <wotypeid>13</wotypeid>
  </setupeventmodel>
</ArrayOfsetupeventmodel>