POST api/SaveMasterLocationTree
Request Information
URI Parameters
None.
Body Parameters
Collection of BuildingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| BuildingId | integer |
None. |
|
| BuildingName | string |
None. |
|
| BuildingDesc | string |
None. |
|
| Status | boolean |
None. |
|
| Created | date |
None. |
|
| CreatedBy | integer |
None. |
|
| Modified | date |
None. |
|
| ModifiedBy | integer |
None. |
|
| IsChecked | boolean |
None. |
|
| IsEditable | boolean |
None. |
|
| Floor | Collection of FloorModel |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"BuildingId": 1,
"BuildingName": "sample string 1",
"BuildingDesc": "sample string 2",
"Status": true,
"Created": "2026-04-19T12:29:33.6038297+07:00",
"CreatedBy": 1,
"Modified": "2026-04-19T12:29:33.6038297+07:00",
"ModifiedBy": 1,
"IsChecked": true,
"IsEditable": true,
"Floor": [
{
"FloorId": 1,
"FloorName": "sample string 1",
"FloorDesc": "sample string 2",
"BuildingId": 1,
"Status": true,
"LastPrint": "2026-04-19T12:29:33.6038297+07:00",
"Created": "2026-04-19T12:29:33.6038297+07:00",
"CreatedBy": 1,
"Modified": "2026-04-19T12:29:33.6038297+07:00",
"ModifiedBy": 1,
"IsChecked": true,
"IsEditable": true,
"Room": [
{
"RoomId": 1,
"RoomName": "sample string 1",
"RoomDesc": "sample string 2",
"FloorId": 1,
"Status": true,
"Created": "2026-04-19T12:29:33.6038297+07:00",
"CreatedBy": 1,
"Modified": "2026-04-19T12:29:33.6038297+07:00",
"ModifiedBy": 1,
"IsChecked": true,
"IsEditable": true
},
{
"RoomId": 1,
"RoomName": "sample string 1",
"RoomDesc": "sample string 2",
"FloorId": 1,
"Status": true,
"Created": "2026-04-19T12:29:33.6038297+07:00",
"CreatedBy": 1,
"Modified": "2026-04-19T12:29:33.6038297+07:00",
"ModifiedBy": 1,
"IsChecked": true,
"IsEditable": true
}
]
},
{
"FloorId": 1,
"FloorName": "sample string 1",
"FloorDesc": "sample string 2",
"BuildingId": 1,
"Status": true,
"LastPrint": "2026-04-19T12:29:33.6038297+07:00",
"Created": "2026-04-19T12:29:33.6038297+07:00",
"CreatedBy": 1,
"Modified": "2026-04-19T12:29:33.6038297+07:00",
"ModifiedBy": 1,
"IsChecked": true,
"IsEditable": true,
"Room": [
{
"RoomId": 1,
"RoomName": "sample string 1",
"RoomDesc": "sample string 2",
"FloorId": 1,
"Status": true,
"Created": "2026-04-19T12:29:33.6038297+07:00",
"CreatedBy": 1,
"Modified": "2026-04-19T12:29:33.6038297+07:00",
"ModifiedBy": 1,
"IsChecked": true,
"IsEditable": true
},
{
"RoomId": 1,
"RoomName": "sample string 1",
"RoomDesc": "sample string 2",
"FloorId": 1,
"Status": true,
"Created": "2026-04-19T12:29:33.6038297+07:00",
"CreatedBy": 1,
"Modified": "2026-04-19T12:29:33.6038297+07:00",
"ModifiedBy": 1,
"IsChecked": true,
"IsEditable": true
}
]
}
]
},
{
"BuildingId": 1,
"BuildingName": "sample string 1",
"BuildingDesc": "sample string 2",
"Status": true,
"Created": "2026-04-19T12:29:33.6038297+07:00",
"CreatedBy": 1,
"Modified": "2026-04-19T12:29:33.6038297+07:00",
"ModifiedBy": 1,
"IsChecked": true,
"IsEditable": true,
"Floor": [
{
"FloorId": 1,
"FloorName": "sample string 1",
"FloorDesc": "sample string 2",
"BuildingId": 1,
"Status": true,
"LastPrint": "2026-04-19T12:29:33.6038297+07:00",
"Created": "2026-04-19T12:29:33.6038297+07:00",
"CreatedBy": 1,
"Modified": "2026-04-19T12:29:33.6038297+07:00",
"ModifiedBy": 1,
"IsChecked": true,
"IsEditable": true,
"Room": [
{
"RoomId": 1,
"RoomName": "sample string 1",
"RoomDesc": "sample string 2",
"FloorId": 1,
"Status": true,
"Created": "2026-04-19T12:29:33.6038297+07:00",
"CreatedBy": 1,
"Modified": "2026-04-19T12:29:33.6038297+07:00",
"ModifiedBy": 1,
"IsChecked": true,
"IsEditable": true
},
{
"RoomId": 1,
"RoomName": "sample string 1",
"RoomDesc": "sample string 2",
"FloorId": 1,
"Status": true,
"Created": "2026-04-19T12:29:33.6038297+07:00",
"CreatedBy": 1,
"Modified": "2026-04-19T12:29:33.6038297+07:00",
"ModifiedBy": 1,
"IsChecked": true,
"IsEditable": true
}
]
},
{
"FloorId": 1,
"FloorName": "sample string 1",
"FloorDesc": "sample string 2",
"BuildingId": 1,
"Status": true,
"LastPrint": "2026-04-19T12:29:33.6038297+07:00",
"Created": "2026-04-19T12:29:33.6038297+07:00",
"CreatedBy": 1,
"Modified": "2026-04-19T12:29:33.6038297+07:00",
"ModifiedBy": 1,
"IsChecked": true,
"IsEditable": true,
"Room": [
{
"RoomId": 1,
"RoomName": "sample string 1",
"RoomDesc": "sample string 2",
"FloorId": 1,
"Status": true,
"Created": "2026-04-19T12:29:33.6038297+07:00",
"CreatedBy": 1,
"Modified": "2026-04-19T12:29:33.6038297+07:00",
"ModifiedBy": 1,
"IsChecked": true,
"IsEditable": true
},
{
"RoomId": 1,
"RoomName": "sample string 1",
"RoomDesc": "sample string 2",
"FloorId": 1,
"Status": true,
"Created": "2026-04-19T12:29:33.6038297+07:00",
"CreatedBy": 1,
"Modified": "2026-04-19T12:29:33.6038297+07:00",
"ModifiedBy": 1,
"IsChecked": true,
"IsEditable": true
}
]
}
]
}
]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |