GET v1/Locations/{locationID}/Finance/ReceiptNumbers
Get the Receipt number settings
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| locationID |
Id of the location |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Receipt number settings
SequenceNumberDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| LocationID | integer |
None. |
|
| RelatedTo | string |
None. |
|
| SequenceValue | SequenceValueDTO |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"LocationID": 2,
"RelatedTo": "sample string 3",
"SequenceValue": {
"NextNumberShouldBe": 1,
"Suffix": "sample string 2",
"Prefix": "sample string 3"
}
}
application/xml, text/xml
Sample:
<SequenceNumberDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Locations">
<ID>1</ID>
<LocationID>2</LocationID>
<RelatedTo>sample string 3</RelatedTo>
<SequenceValue>
<NextNumberShouldBe>1</NextNumberShouldBe>
<Prefix>sample string 3</Prefix>
<Suffix>sample string 2</Suffix>
</SequenceValue>
</SequenceNumberDTO>