GET api/ApnInvoicing/Invoice?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ApiResultOfInvoiceDetails
NameDescriptionTypeAdditional information
Response

ApiResponse

None.

Data

InvoiceDetails

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": {
    "Success": true,
    "ErrorMessage": "sample string 2"
  },
  "Data": {
    "Summary": {
      "sample string 1": {},
      "sample string 3": {}
    },
    "Invoice": {
      "sample string 1": {},
      "sample string 3": {}
    },
    "Lines": [
      {
        "sample string 1": {},
        "sample string 3": {}
      },
      {
        "sample string 1": {},
        "sample string 3": {}
      }
    ],
    "Totals": {
      "sample string 1": {},
      "sample string 3": {}
    },
    "Payments": [
      {
        "sample string 1": {},
        "sample string 3": {}
      },
      {
        "sample string 1": {},
        "sample string 3": {}
      }
    ],
    "Costs": [
      {
        "sample string 1": {},
        "sample string 3": {}
      },
      {
        "sample string 1": {},
        "sample string 3": {}
      }
    ],
    "EntityCosts": [
      {
        "sample string 1": {},
        "sample string 3": {}
      },
      {
        "sample string 1": {},
        "sample string 3": {}
      }
    ],
    "BillableTime": [
      {
        "sample string 1": {},
        "sample string 3": {}
      },
      {
        "sample string 1": {},
        "sample string 3": {}
      }
    ],
    "Adjustments": [
      {
        "sample string 1": {},
        "sample string 3": {}
      },
      {
        "sample string 1": {},
        "sample string 3": {}
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ApiResultOfInvoiceDetailstq7NQ_Pm_P xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions.Invoicing">
    <d2p1:Adjustments xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:ArrayOfKeyValueOfstringanyType>
        <d3p1:KeyValueOfstringanyType>
          <d3p1:Key>sample string 1</d3p1:Key>
          <d3p1:Value />
        </d3p1:KeyValueOfstringanyType>
        <d3p1:KeyValueOfstringanyType>
          <d3p1:Key>sample string 3</d3p1:Key>
          <d3p1:Value />
        </d3p1:KeyValueOfstringanyType>
      </d3p1:ArrayOfKeyValueOfstringanyType>
      <d3p1:ArrayOfKeyValueOfstringanyType>
        <d3p1:KeyValueOfstringanyType>
          <d3p1:Key>sample string 1</d3p1:Key>
          <d3p1:Value />
        </d3p1:KeyValueOfstringanyType>
        <d3p1:KeyValueOfstringanyType>
          <d3p1:Key>sample string 3</d3p1:Key>
          <d3p1:Value />
        </d3p1:KeyValueOfstringanyType>
      </d3p1:ArrayOfKeyValueOfstringanyType>
    </d2p1:Adjustments>
    <d2p1:BillableTime xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:ArrayOfKeyValueOfstringanyType>
        <d3p1:KeyValueOfstringanyType>
          <d3p1:Key>sample string 1</d3p1:Key>
          <d3p1:Value />
        </d3p1:KeyValueOfstringanyType>
        <d3p1:KeyValueOfstringanyType>
          <d3p1:Key>sample string 3</d3p1:Key>
          <d3p1:Value />
        </d3p1:KeyValueOfstringanyType>
      </d3p1:ArrayOfKeyValueOfstringanyType>
      <d3p1:ArrayOfKeyValueOfstringanyType>
        <d3p1:KeyValueOfstringanyType>
          <d3p1:Key>sample string 1</d3p1:Key>
          <d3p1:Value />
        </d3p1:KeyValueOfstringanyType>
        <d3p1:KeyValueOfstringanyType>
          <d3p1:Key>sample string 3</d3p1:Key>
          <d3p1:Value />
        </d3p1:KeyValueOfstringanyType>
      </d3p1:ArrayOfKeyValueOfstringanyType>
    </d2p1:BillableTime>
    <d2p1:Costs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:ArrayOfKeyValueOfstringanyType>
        <d3p1:KeyValueOfstringanyType>
          <d3p1:Key>sample string 1</d3p1:Key>
          <d3p1:Value />
        </d3p1:KeyValueOfstringanyType>
        <d3p1:KeyValueOfstringanyType>
          <d3p1:Key>sample string 3</d3p1:Key>
          <d3p1:Value />
        </d3p1:KeyValueOfstringanyType>
      </d3p1:ArrayOfKeyValueOfstringanyType>
      <d3p1:ArrayOfKeyValueOfstringanyType>
        <d3p1:KeyValueOfstringanyType>
          <d3p1:Key>sample string 1</d3p1:Key>
          <d3p1:Value />
        </d3p1:KeyValueOfstringanyType>
        <d3p1:KeyValueOfstringanyType>
          <d3p1:Key>sample string 3</d3p1:Key>
          <d3p1:Value />
        </d3p1:KeyValueOfstringanyType>
      </d3p1:ArrayOfKeyValueOfstringanyType>
    </d2p1:Costs>
    <d2p1:EntityCosts xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:ArrayOfKeyValueOfstringanyType>
        <d3p1:KeyValueOfstringanyType>
          <d3p1:Key>sample string 1</d3p1:Key>
          <d3p1:Value />
        </d3p1:KeyValueOfstringanyType>
        <d3p1:KeyValueOfstringanyType>
          <d3p1:Key>sample string 3</d3p1:Key>
          <d3p1:Value />
        </d3p1:KeyValueOfstringanyType>
      </d3p1:ArrayOfKeyValueOfstringanyType>
      <d3p1:ArrayOfKeyValueOfstringanyType>
        <d3p1:KeyValueOfstringanyType>
          <d3p1:Key>sample string 1</d3p1:Key>
          <d3p1:Value />
        </d3p1:KeyValueOfstringanyType>
        <d3p1:KeyValueOfstringanyType>
          <d3p1:Key>sample string 3</d3p1:Key>
          <d3p1:Value />
        </d3p1:KeyValueOfstringanyType>
      </d3p1:ArrayOfKeyValueOfstringanyType>
    </d2p1:EntityCosts>
    <d2p1:Invoice xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
    </d2p1:Invoice>
    <d2p1:Lines xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:ArrayOfKeyValueOfstringanyType>
        <d3p1:KeyValueOfstringanyType>
          <d3p1:Key>sample string 1</d3p1:Key>
          <d3p1:Value />
        </d3p1:KeyValueOfstringanyType>
        <d3p1:KeyValueOfstringanyType>
          <d3p1:Key>sample string 3</d3p1:Key>
          <d3p1:Value />
        </d3p1:KeyValueOfstringanyType>
      </d3p1:ArrayOfKeyValueOfstringanyType>
      <d3p1:ArrayOfKeyValueOfstringanyType>
        <d3p1:KeyValueOfstringanyType>
          <d3p1:Key>sample string 1</d3p1:Key>
          <d3p1:Value />
        </d3p1:KeyValueOfstringanyType>
        <d3p1:KeyValueOfstringanyType>
          <d3p1:Key>sample string 3</d3p1:Key>
          <d3p1:Value />
        </d3p1:KeyValueOfstringanyType>
      </d3p1:ArrayOfKeyValueOfstringanyType>
    </d2p1:Lines>
    <d2p1:Payments xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:ArrayOfKeyValueOfstringanyType>
        <d3p1:KeyValueOfstringanyType>
          <d3p1:Key>sample string 1</d3p1:Key>
          <d3p1:Value />
        </d3p1:KeyValueOfstringanyType>
        <d3p1:KeyValueOfstringanyType>
          <d3p1:Key>sample string 3</d3p1:Key>
          <d3p1:Value />
        </d3p1:KeyValueOfstringanyType>
      </d3p1:ArrayOfKeyValueOfstringanyType>
      <d3p1:ArrayOfKeyValueOfstringanyType>
        <d3p1:KeyValueOfstringanyType>
          <d3p1:Key>sample string 1</d3p1:Key>
          <d3p1:Value />
        </d3p1:KeyValueOfstringanyType>
        <d3p1:KeyValueOfstringanyType>
          <d3p1:Key>sample string 3</d3p1:Key>
          <d3p1:Value />
        </d3p1:KeyValueOfstringanyType>
      </d3p1:ArrayOfKeyValueOfstringanyType>
    </d2p1:Payments>
    <d2p1:Summary xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
    </d2p1:Summary>
    <d2p1:Totals xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
    </d2p1:Totals>
  </Data>
  <Response>
    <ErrorMessage>sample string 2</ErrorMessage>
    <Success>true</Success>
  </Response>
</ApiResultOfInvoiceDetailstq7NQ_Pm_P>