Skip to content

INRE

INRE

Inherits from EbmsEntity

Properties

Version 1.7.283.1, Updated on Wednesday, December 11, 2024

Creating a new rental for a specific date

POST  https://ecc123456789012345.servicebus.windows.net/MyEbms/ABC/OData/INRE
{
  "ID": "ARDLAN",
  "DATE_RES": "07/10/2024",
  "TIME_RES": "9:00",
  "PO_NO": "12347",
  "WAREHOUSE": "GENERAL",
  "NOTES": "multiline memo.\r\nSo much can be written here and can be printed at the bottom of the invoice.",
  "RentalItems":
    [
      {
      "QUAN": "1",
      "SERIAL_NO": "452435236"
      }
    ],
  "Consumables":
    [
      {
"Ordered": "3",
"Shipped": "2.5",
"ProductID": "0709",
"Description": "Grinding wheel",
        "UnitPrice": 11.95
      }

    ]
}

Creating a new rental for today, based on rental code

POST  https://ecc123456789012345.servicebus.windows.net/MyEbms/ABC/OData/INRE
{
  "ID": "ARDLAN",
  "TIME_RES": "11:00",
  "WAREHOUSE": "GENERAL",
  "NOTES": "Honda compressor rental",
  "RentalItems":
    [
      {
      "QUAN": "1",
      "INVEN": "RENTALCODE1"
      }
    ]
}

Creating a new rental for a duration

POSThttps://ecc123456789012345.servicebus.windows.net/MyEbms/ABC/OData/INRE
{
  "ID": "ARDLAN",
  "DURATION": "1 day",
  "RentalItems":
   [
     {
     "QUAN": "1",
     "INVEN": "RENTALCODE1"
     }
   ]
}

Changing a new rental

PATCH   https://ecc123456789012345.servicebus.windows.net/MyEbms/ABC/OData/INRE('123456')
{
  "TIME_RES": "13:00",
  "PO_NO": "5555",
  "NOTES": "This rental contract was changed 3/10/2023 from 8:00 to 13:00",
  "RentalItems":
   [
     {
     "QUAN": "1",
     "INVEN": "RENTALCODE1"
     }
   ]
}

Estimating the Rental Total (without tax)

POST  https://ecc123456789012345.servicebus.windows.net/MyEbms/ABC/OData/INRE('123456')/Model.Entities.EstimateTotal?$select=EstimatedTotal