GET api/stocks/transactionNumber/{shopId}
Provides the latest used transaction number for the given shop id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
shopId |
The shop id. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
LatestTransactionNumberName | Description | Type | Additional information |
---|---|---|---|
ShopId |
The shop id. |
integer |
None. |
TransactionNumber |
The latest transaction number. At call time. |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "ShopId": 1, "TransactionNumber": 2 }
application/xml, text/xml
Sample:
<ShopTransactionNumberDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PublicAPI.Models"> <ShopId>1</ShopId> <TransactionNumber>2</TransactionNumber> </ShopTransactionNumberDTO>