POST api/WIClient/History

Request Information

URI Parameters

None.

Body Parameters

WIClientAPI_GetHistoryRequest
NameDescriptionTypeAdditional information
bClubTheSamErrorTogether

boolean

None.

jsInmateNumber

string

None.

authUser

AuthUser

None.

Request Formats

application/json, text/json

Sample:
{
  "bClubTheSamErrorTogether": true,
  "jsInmateNumber": "sample string 2",
  "authUser": {
    "userid": "sample string 1",
    "password": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<WIClientAPI_GetHistoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CNCWrapperBased.WIClientAPI">
  <authUser xmlns:d2p1="http://schemas.datacontract.org/2004/07/CNCWrapperBased">
    <d2p1:password>sample string 2</d2p1:password>
    <d2p1:userid>sample string 1</d2p1:userid>
  </authUser>
  <bClubTheSamErrorTogether>true</bClubTheSamErrorTogether>
  <jsInmateNumber>sample string 2</jsInmateNumber>
</WIClientAPI_GetHistoryRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'WIClientAPI_GetHistoryRequest'.

Response Information

Resource Description

WIClientAPI_GetHistoryResponse
NameDescriptionTypeAdditional information
aHistories

Collection of AHistory

None.

sErrorMsg

string

None.

bHasError

boolean

None.

nErrorCode

integer

None.

totalMillisecs

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "aHistories": [
    {
      "RecId": 1,
      "SalesId": "sample string 2",
      "error_msg": "sample string 3",
      "Status": 4,
      "StatusCode": "sample string 5",
      "DateCreated": "2025-06-24T16:55:33.9339093-05:00",
      "UserId": "sample string 7",
      "wiFacilityID": "sample string 8",
      "nonTaxableAmount": 9.0,
      "amountOfTax": 10.0,
      "taxableAmount": 11.0,
      "totalAmount": 12.0,
      "TransactionId": "sample string 13",
      "txnType": "sample string 14",
      "nCountRepeat": 15,
      "DateCreatedStr": "6/24/2025 16:55:33",
      "UserIdStr": "sample string 7",
      "nonTaxableAmountStr": "$9.00",
      "taxableAmountStr": "$11.00",
      "amountOfTaxStr": "$10.00",
      "totalAmountStr": "$12.00"
    },
    {
      "RecId": 1,
      "SalesId": "sample string 2",
      "error_msg": "sample string 3",
      "Status": 4,
      "StatusCode": "sample string 5",
      "DateCreated": "2025-06-24T16:55:33.9339093-05:00",
      "UserId": "sample string 7",
      "wiFacilityID": "sample string 8",
      "nonTaxableAmount": 9.0,
      "amountOfTax": 10.0,
      "taxableAmount": 11.0,
      "totalAmount": 12.0,
      "TransactionId": "sample string 13",
      "txnType": "sample string 14",
      "nCountRepeat": 15,
      "DateCreatedStr": "6/24/2025 16:55:33",
      "UserIdStr": "sample string 7",
      "nonTaxableAmountStr": "$9.00",
      "taxableAmountStr": "$11.00",
      "amountOfTaxStr": "$10.00",
      "totalAmountStr": "$12.00"
    }
  ],
  "sErrorMsg": "sample string 1",
  "bHasError": true,
  "nErrorCode": 3,
  "totalMillisecs": 4
}

application/xml, text/xml

Sample:
<WIClientAPI_GetHistoryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CNCWrapperBased.WIClientAPI">
  <bHasError>true</bHasError>
  <nErrorCode>3</nErrorCode>
  <sErrorMsg>sample string 1</sErrorMsg>
  <totalMillisecs>4</totalMillisecs>
  <aHistories>
    <WIClientAPI_GetHistoryResponse.AHistory>
      <DateCreated>2025-06-24T16:55:33.9339093-05:00</DateCreated>
      <RecId>1</RecId>
      <SalesId>sample string 2</SalesId>
      <Status>4</Status>
      <StatusCode>sample string 5</StatusCode>
      <TransactionId>sample string 13</TransactionId>
      <UserId>sample string 7</UserId>
      <amountOfTax>10</amountOfTax>
      <error_msg>sample string 3</error_msg>
      <nCountRepeat>15</nCountRepeat>
      <nonTaxableAmount>9</nonTaxableAmount>
      <taxableAmount>11</taxableAmount>
      <totalAmount>12</totalAmount>
      <txnType>sample string 14</txnType>
      <wiFacilityID>sample string 8</wiFacilityID>
    </WIClientAPI_GetHistoryResponse.AHistory>
    <WIClientAPI_GetHistoryResponse.AHistory>
      <DateCreated>2025-06-24T16:55:33.9339093-05:00</DateCreated>
      <RecId>1</RecId>
      <SalesId>sample string 2</SalesId>
      <Status>4</Status>
      <StatusCode>sample string 5</StatusCode>
      <TransactionId>sample string 13</TransactionId>
      <UserId>sample string 7</UserId>
      <amountOfTax>10</amountOfTax>
      <error_msg>sample string 3</error_msg>
      <nCountRepeat>15</nCountRepeat>
      <nonTaxableAmount>9</nonTaxableAmount>
      <taxableAmount>11</taxableAmount>
      <totalAmount>12</totalAmount>
      <txnType>sample string 14</txnType>
      <wiFacilityID>sample string 8</wiFacilityID>
    </WIClientAPI_GetHistoryResponse.AHistory>
  </aHistories>
</WIClientAPI_GetHistoryResponse>