Update a cash drawer
patch
/fscmRestApi/resources/11.13.18.05/publicSectorCashDrawers/{publicSectorCashDrawersUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
publicSectorCashDrawersUniqID: integer
This is the hash key of the attributes which make up the composite key--- AgencyId and DrawerId ---for the Cash Drawers resource and used to uniquely identify an instance of Cash Drawers. The client should not generate the hash key value. Instead, the client should query on the Cash Drawers collection resource with a filter on the primary key values in order to navigate to a specific instance of Cash Drawers.
For example: publicSectorCashDrawers?q=AgencyId=<value1>;DrawerId=<value2>
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorCashDrawers-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int64)
The identifier for the agency that receives incoming customer payments.
-
CreatedBy(optional):
string
Title:
Created By
Maximum Length:64
The user who created the agency. -
CreationDate(optional):
string(date-time)
Title:
Creation Date
The date and time that the cash drawer was created. -
CurrencyCode(optional):
string
Title:
Currency
Maximum Length:3
The currency code of coins and bills in the cash drawer. -
Description(optional):
string
Title:
Description
Maximum Length:100
The description of the cash drawer. -
DrawerId(optional):
string
Title:
Cash Drawer ID
Maximum Length:30
The unique identifier for the cash drawer. -
EnabledFlag(optional):
string
Title:
Enabled
Maximum Length:3
Indicates whether the cash drawer is available to be used. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated Date
The last date and time that the cash drawer was updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:64
The user who last updated the cash drawer. -
links(optional):
array Items
Title:
Items
Link Relations -
MultipleSessionFlag(optional):
string
Title:
Cash Reconciliation
Maximum Length:3
Indicates whether the cash drawer can be used in more than one session. -
ToleranceAmount(optional):
number(float)
Title:
Tolerance Amount
The amount of the acceptable cash shortage.
Nested Schema : link
Type:
Show Source
object
-
href(optional):
string
Title:
hyperlink reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The 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 : publicSectorCashDrawers-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int64)
The identifier for the agency that receives incoming customer payments.
-
CreatedBy(optional):
string
Title:
Created By
Maximum Length:64
The user who created the agency. -
CreationDate(optional):
string(date-time)
Title:
Creation Date
The date and time that the cash drawer was created. -
CurrencyCode(optional):
string
Title:
Currency
Maximum Length:3
The currency code of coins and bills in the cash drawer. -
Description(optional):
string
Title:
Description
Maximum Length:100
The description of the cash drawer. -
DrawerId(optional):
string
Title:
Cash Drawer ID
Maximum Length:30
The unique identifier for the cash drawer. -
EnabledFlag(optional):
string
Title:
Enabled
Maximum Length:3
Indicates whether the cash drawer is available to be used. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated Date
The last date and time that the cash drawer was updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:64
The user who last updated the cash drawer. -
links(optional):
array Items
Title:
Items
Link Relations -
MultipleSessionFlag(optional):
string
Title:
Cash Reconciliation
Maximum Length:3
Indicates whether the cash drawer can be used in more than one session. -
ToleranceAmount(optional):
number(float)
Title:
Tolerance Amount
The amount of the acceptable cash shortage.
Nested Schema : link
Type:
Show Source
object
-
href(optional):
string
Title:
hyperlink reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The name of the relation to the resource instance. Example: self.