POST api/Bookings/Import
Request Information
URI Parameters
None.
Body Parameters
Collection of VEMModel.Management.CustomFileTypes.BookingFileMapping| Name | Description | Type | Additional information |
|---|---|---|---|
| BookingNumber | string |
None. |
|
| UnitNumber | string |
None. |
|
| LocationId | integer |
None. |
|
| Customer | string |
None. |
|
| YardLocation | string |
None. |
|
| DateIn | date |
None. |
|
| Category | string |
None. |
|
| Ventilation | decimal number |
None. |
|
| Humidity | decimal number |
None. |
|
| Temperature | decimal number |
None. |
|
| TemperatureUoM | VEMModel.Logic.UnitsOfMeasurement |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"BookingNumber": "sample string 1",
"UnitNumber": "sample string 2",
"LocationId": 3,
"Customer": "sample string 4",
"YardLocation": "sample string 5",
"DateIn": "2026-01-11T20:36:32.2268878-05:00",
"Category": "sample string 6",
"Ventilation": 1.0,
"Humidity": 1.0,
"Temperature": 1.0,
"TemperatureUoM": 0
},
{
"$ref": "1"
}
]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VEMModel.Logic.APIResponseClass| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | VEMModel.Logic.ResultEnum |
None. |
|
| Details | Object |
None. |
|
| JsonData | Object |
None. |
|
| ObjectType | string |
None. |
|
| ruleEvaluationResults | Collection of VEMModel.Logic.RuleEvaluationResult |
None. |
Response Formats
application/json, text/json
Sample:
{
"ruleEvaluationResults": [
{
"$id": "2",
"Result": 0,
"Message": "sample string 1",
"fieldID": "sample string 2"
},
{
"$ref": "2"
}
],
"Result": 0,
"Details": {
"$id": "3"
},
"JsonData": {
"$id": "4"
},
"ObjectType": "sample string 3"
}