POST api/invoiceEditList/GetBatchLocations

Request Information

URI Parameters

None.

Body Parameters

InvBatchCriteria
NameDescriptionTypeAdditional information
LOCNCODE

string

None.

SearchValue

string

None.

IncludeReadyToPost

boolean

None.

IncludeHoldBatches

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "LOCNCODE": "sample string 1",
  "SearchValue": "sample string 2",
  "IncludeReadyToPost": true,
  "IncludeHoldBatches": true
}

application/xml, text/xml

Sample:
<InvBatchCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HarAccountingAPI.Models">
  <IncludeHoldBatches>true</IncludeHoldBatches>
  <IncludeReadyToPost>true</IncludeReadyToPost>
  <LOCNCODE>sample string 1</LOCNCODE>
  <SearchValue>sample string 2</SearchValue>
</InvBatchCriteria>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of NameValue
NameDescriptionTypeAdditional information
Name

string

None.

Value

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Name": "sample string 1",
    "Value": "sample string 2"
  },
  {
    "Name": "sample string 1",
    "Value": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAccountingModels.NameValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HarAccountingAPI.Models">
  <AccountingModels.NameValue>
    <Name>sample string 1</Name>
    <Value>sample string 2</Value>
  </AccountingModels.NameValue>
  <AccountingModels.NameValue>
    <Name>sample string 1</Name>
    <Value>sample string 2</Value>
  </AccountingModels.NameValue>
</ArrayOfAccountingModels.NameValue>