PUT /api/.../itemrecords/{id}?actiontype=declarelost
Declares an item to be lost
Name | Type | Required | Description |
---|---|---|---|
id | Integer | Yes | The unique id assigned to the item record. |
lostDto | DtoLostDamagedItemData | Yes | Define this parameter in the request body. |
actiontype | string | Yes | Define this parameter in the request query string to declare an item lost. Possible Values: declarelost |
Property | Type | Nullable | Description |
---|---|---|---|
PatronID | Int | No | Required. |
ItemRecordID | Int | Yes | |
AssignedBranchID | Int | No | Required. |
BillingNoticeSent | Bool | Yes | |
PatronCodeID | Int | No | |
PatronBranchID | Int | No | |
LoginBranchID | Int | No | |
UserID | Int | No | |
WorkstationID | Int | No | |
PatronStatClassID | Int | Yes | |
AssociatedBibRecordID | Int | Yes | |
ReplacementAmount | Decimal | Yes | |
ReplacementOutstanding | Decimal | Yes | |
ReplCostTxnID | Int | Yes | |
ReplCostTxnCodeID | Int | Yes | |
ProcessingAmount | Decimal | Yes | |
ProcessingOutstanding | Decimal | Yes | |
ProcChargeTxnID | Int | Yes | |
ProcCostTxnCodeID | Int | Yes | |
OverdueAmount | Decimal | Yes | |
OverdueOutstanding | Decimal | Yes | |
OVDChargeTxnID | Int | Yes | |
OVDCostTxnCodeID | Int | Yes | |
FreeTextNote | String | Yes | Notes |
PaymentMethod | Int | Yes | |
ILSStoreTransactionID | Int | No | |
SendManualBill | Boolean | Yes | Notify the patron of charges |
AddedMsg | String | Yes | Additional message to include with the manual bill |
CreditCardPaymentData | Object | Yes | DtoCCPaymentData object. Must be supplied when the charges have been paid by credit card. |
Property | Type | Nullable | Description |
---|---|---|---|
TrackId | Int | No | |
ILSStoreTransactionId | Int | No | |
Guid | String | Yes | |
VendorId | Int | No | |
BaseAddress | String | Yes | |
CustomerID | String | Yes | |
TerminalID | String | Yes | |
UserName | String | Yes | |
Password | String | Yes | |
Amount | Decimal | Yes | |
ProcessingFee | Decimal | Yes | |
PatronID | Int | Yes | |
Language | Int | Yes | |
Result | Int | No | |
TrackNumber | String | Yes | |
Error | String | Yes | |
TxnStatus | String | Yes | |
TroutId | String | Yes | |
CCDigits | String | Yes | |
CCType | String | Yes | |
AuthCode | String | Yes | |
Request | String | Yes | |
Response | String | Yes | |
PaymentsServiceUrl | String | Yes |
{
"PatronID":358255,
"PatronBranchID":3,
"PatronCodeID":1,
"ItemRecordID":1753575,
"LoginBranchID":"3",
"UserID":"1",
"WorkstationID":"1182",
"AssignedBranchID":5,
"AssociatedBibRecordID":null,
"ReplCostTxnID":null,
"ProcChargeTxnID":null,
"OVDChargeTxnID":null,
"PaymentMethod":11,
"ReplacementAmount":11.95,
"ProcessingAmount":0,
"OverdueAmount":0,
"ProcessingWaived":0,
"ReplacementWaived":0,
"OverdueWaived":0,
"ReplacementOutstanding":11.95,
"ProcessingOutstanding":0,
"OverdueOutstanding":0,
"ReplCostTxnCodeID":6,
"ProcCostTxnCodeID":-2,
"OVDCostTxnCodeID":-2,
"ILSStoreTransactionID": 0,
"DtoCCPaymentData": null
}
'true' on successful update.
Code | Description |
---|---|
200 | OK. Success |
400 |
FAILURE.
|
404 |
FAILURE.
|
409 | CONFLICT. Patron record is secured. |