POST jxc_api/InvoiceBill/QueryInvoiceBillMap

Request Information

URI Parameters

None.

Body Parameters

GetInvoiceBillMapPara
NameDescriptionTypeAdditional information
AccAsId

integer

None.

InvoiceIds

Collection of integer

None.

OnlyCheckedBills

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "AccAsId": 1,
  "InvoiceIds": [
    1,
    2
  ],
  "OnlyCheckedBills": true
}

application/xml, text/xml

Sample:
<GetInvoiceBillMapPara xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.ToAcc.Models">
  <AccAsId>1</AccAsId>
  <InvoiceIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </InvoiceIds>
  <OnlyCheckedBills>true</OnlyCheckedBills>
</GetInvoiceBillMapPara>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Dictionary of integer [key] and ValueTupleOfAccBillTypeAndInt32 [value]

Response Formats

application/json, text/json

Sample:
{
  "1": {
    "Item1": 1010,
    "Item2": 1
  },
  "2": {
    "Item1": 1010,
    "Item2": 1
  }
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfintValueTupleOfAccBillTypeint9ir2eXmmU6ho3Bhd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfintValueTupleOfAccBillTypeint9ir2eXmmU6ho3Bhd>
    <Key>1</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:Item1>WHSAll</d3p1:Item1>
      <d3p1:Item2>1</d3p1:Item2>
    </Value>
  </KeyValueOfintValueTupleOfAccBillTypeint9ir2eXmmU6ho3Bhd>
  <KeyValueOfintValueTupleOfAccBillTypeint9ir2eXmmU6ho3Bhd>
    <Key>2</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:Item1>WHSAll</d3p1:Item1>
      <d3p1:Item2>1</d3p1:Item2>
    </Value>
  </KeyValueOfintValueTupleOfAccBillTypeint9ir2eXmmU6ho3Bhd>
</ArrayOfKeyValueOfintValueTupleOfAccBillTypeint9ir2eXmmU6ho3Bhd>