GET api/Invoice/GetInvoiceTransInfo?token={token}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

string

Required

Body Parameters

None.

Response Information

Resource Description

InvoiceResponse
NameDescriptionTypeAdditional information
IdHeader

integer

None.

DateFrom

date

None.

DateTo

date

None.

IdAgent

integer

None.

Agent

string

None.

InitialBalance

decimal number

None.

DebitOnAccount

integer

None.

NewBalance

integer

None.

ErrorCode

integer

None.

Details

Collection of InvoiceDetailResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "IdHeader": 1,
  "DateFrom": "2025-04-28T11:57:50.4357871-04:00",
  "DateTo": "2025-04-28T11:57:50.4357871-04:00",
  "IdAgent": 3,
  "Agent": "sample string 4",
  "InitialBalance": 5.0,
  "DebitOnAccount": 6,
  "NewBalance": 7,
  "ErrorCode": 8,
  "Details": [
    {
      "IdHeader": 1,
      "ActivePlayers": "sample string 2",
      "InvoiceTotal": 3.0,
      "ServiceDescription": "sample string 4",
      "TypeT": "A"
    },
    {
      "IdHeader": 1,
      "ActivePlayers": "sample string 2",
      "InvoiceTotal": 3.0,
      "ServiceDescription": "sample string 4",
      "TypeT": "A"
    }
  ]
}

text/html

Sample:
{"IdHeader":1,"DateFrom":"2025-04-28T11:57:50.4357871-04:00","DateTo":"2025-04-28T11:57:50.4357871-04:00","IdAgent":3,"Agent":"sample string 4","InitialBalance":5.0,"DebitOnAccount":6,"NewBalance":7,"ErrorCode":8,"Details":[{"IdHeader":1,"ActivePlayers":"sample string 2","InvoiceTotal":3.0,"ServiceDescription":"sample string 4","TypeT":"A"},{"IdHeader":1,"ActivePlayers":"sample string 2","InvoiceTotal":3.0,"ServiceDescription":"sample string 4","TypeT":"A"}]}

application/xml, text/xml

Sample:
<InvoiceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InvoiceAPI.DataTransferObjects">
  <Agent>sample string 4</Agent>
  <DateFrom>2025-04-28T11:57:50.4357871-04:00</DateFrom>
  <DateTo>2025-04-28T11:57:50.4357871-04:00</DateTo>
  <DebitOnAccount>6</DebitOnAccount>
  <Details>
    <InvoiceDetailResponse>
      <ActivePlayers>sample string 2</ActivePlayers>
      <IdHeader>1</IdHeader>
      <InvoiceTotal>3</InvoiceTotal>
      <ServiceDescription>sample string 4</ServiceDescription>
      <TypeT>65</TypeT>
    </InvoiceDetailResponse>
    <InvoiceDetailResponse>
      <ActivePlayers>sample string 2</ActivePlayers>
      <IdHeader>1</IdHeader>
      <InvoiceTotal>3</InvoiceTotal>
      <ServiceDescription>sample string 4</ServiceDescription>
      <TypeT>65</TypeT>
    </InvoiceDetailResponse>
  </Details>
  <ErrorCode>8</ErrorCode>
  <IdAgent>3</IdAgent>
  <IdHeader>1</IdHeader>
  <InitialBalance>5</InitialBalance>
  <NewBalance>7</NewBalance>
</InvoiceResponse>