Update a cash drawer session
patch
/fscmRestApi/resources/11.13.18.05/publicSectorCashDrawerSessions/{publicSectorCashDrawerSessionsUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
publicSectorCashDrawerSessionsUniqID: integer
This is the hash key of the attributes which make up the composite key--- SessionId and AgencyId ---for the Cash Drawer Sessions resource and used to uniquely identify an instance of Cash Drawer Sessions. The client should not generate the hash key value. Instead, the client should query on the Cash Drawer Sessions collection resource with a filter on the primary key values in order to navigate to a specific instance of Cash Drawer Sessions.
For example: publicSectorCashDrawerSessions?q=SessionId=<value1>;AgencyId=<value2>
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorCashDrawerSessions-item
Type:
Show Source
object-
AgencyId(optional):
integer(int64)
The unique identifier for the agency that receives incoming customer payments.
-
BegBalanceAmount(optional):
number
The cash amount that is available in the cash drawer at the beginning of the cashier session.
-
BnpCashDrawerSessionTimeView(optional):
array Cash Drawer Sessions Time Lines
Title:
Cash Drawer Sessions Time LinesThe cash drawer sessions time lines resource is used to save the cashier session detail of open and close datetime. -
CashierId(optional):
string
Title:
Cashier IDMaximum Length:50The unique identifier for the cashier. -
CurrencyCode(optional):
string
Maximum Length:
3The currency code of coins and bills in the cash drawer. -
DrawerId(optional):
string
Maximum Length:
30The unique identifier for the cash drawer. -
EndBalanceAmount(optional):
number
The cash amount that is available in the cash drawer at the closing of the cashier session.
-
EndDatetime(optional):
string(date-time)
The end date and time for the cashier session.
-
links(optional):
array Items
Title:
ItemsLink Relations -
SessionId(optional):
string
Title:
Session IDMaximum Length:50The unique identifier for the cashier session. -
SessionStatus(optional):
string
Maximum Length:
10The status of the cashier session, which can be opened, suspended, or closed. -
StartDatetime(optional):
string(date-time)
The start date and time for the cashier session.
-
UserName(optional):
string
Maximum Length:
100The user name of the employee who acts as the cashier of the cashier session.
Nested Schema : Cash Drawer Sessions Time Lines
Type:
arrayTitle:
Cash Drawer Sessions Time LinesThe cash drawer sessions time lines resource is used to save the cashier session detail of open and close datetime.
Show Source
Nested Schema : publicSectorCashDrawerSessions-BnpCashDrawerSessionTimeView-item
Type:
Show Source
object-
AgencyId(optional):
integer(int64)
The unique identifier for the agency that receives incoming customer payments.
-
EndDatetime(optional):
string(date-time)
The end date and time for the cashier session line.
-
LineNumber(optional):
integer(int64)
The unique identifier for the cashier session line number.
-
links(optional):
array Items
Title:
ItemsLink Relations -
SessionId(optional):
string
Maximum Length:
50The unique identifier for the cashier session. -
StartDatetime(optional):
string(date-time)
The start date and time for the cashier session line.
Nested Schema : link
Type:
Show Source
object-
href(optional):
string
Title:
hyperlink referenceThe URI to the related resource. -
rel(optional):
string
Title:
relationThe name of the relation to the resource instance. Example: self.
Response
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Default Response
The following table describes the default response for this task.
Root Schema : publicSectorCashDrawerSessions-item
Type:
Show Source
object-
AgencyId(optional):
integer(int64)
The unique identifier for the agency that receives incoming customer payments.
-
BegBalanceAmount(optional):
number
The cash amount that is available in the cash drawer at the beginning of the cashier session.
-
BnpCashDrawerSessionTimeView(optional):
array Cash Drawer Sessions Time Lines
Title:
Cash Drawer Sessions Time LinesThe cash drawer sessions time lines resource is used to save the cashier session detail of open and close datetime. -
CashierId(optional):
string
Title:
Cashier IDMaximum Length:50The unique identifier for the cashier. -
CurrencyCode(optional):
string
Maximum Length:
3The currency code of coins and bills in the cash drawer. -
DrawerId(optional):
string
Maximum Length:
30The unique identifier for the cash drawer. -
EndBalanceAmount(optional):
number
The cash amount that is available in the cash drawer at the closing of the cashier session.
-
EndDatetime(optional):
string(date-time)
The end date and time for the cashier session.
-
links(optional):
array Items
Title:
ItemsLink Relations -
SessionId(optional):
string
Title:
Session IDMaximum Length:50The unique identifier for the cashier session. -
SessionStatus(optional):
string
Maximum Length:
10The status of the cashier session, which can be opened, suspended, or closed. -
StartDatetime(optional):
string(date-time)
The start date and time for the cashier session.
-
UserName(optional):
string
Maximum Length:
100The user name of the employee who acts as the cashier of the cashier session.
Nested Schema : Cash Drawer Sessions Time Lines
Type:
arrayTitle:
Cash Drawer Sessions Time LinesThe cash drawer sessions time lines resource is used to save the cashier session detail of open and close datetime.
Show Source
Nested Schema : publicSectorCashDrawerSessions-BnpCashDrawerSessionTimeView-item
Type:
Show Source
object-
AgencyId(optional):
integer(int64)
The unique identifier for the agency that receives incoming customer payments.
-
EndDatetime(optional):
string(date-time)
The end date and time for the cashier session line.
-
LineNumber(optional):
integer(int64)
The unique identifier for the cashier session line number.
-
links(optional):
array Items
Title:
ItemsLink Relations -
SessionId(optional):
string
Maximum Length:
50The unique identifier for the cashier session. -
StartDatetime(optional):
string(date-time)
The start date and time for the cashier session line.
Nested Schema : link
Type:
Show Source
object-
href(optional):
string
Title:
hyperlink referenceThe URI to the related resource. -
rel(optional):
string
Title:
relationThe name of the relation to the resource instance. Example: self.