POST public-api/sites/getlocations/{siteName}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| siteName | string |
Required |
Body Parameters
None.
Response Information
Resource Description
WaspResultOfListOfLocationModelInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of LocationModelInfo |
None. |
|
| Messages | Collection of WtResult |
None. |
|
| BatchNumber | integer |
None. |
|
| HasError | boolean |
None. |
|
| HasHttpError | boolean |
None. |
|
| HasMessage | boolean |
None. |
|
| HasSuccessWithMoreDataRemaining | boolean |
None. |
|
| TotalRecordsLongCount | integer |
None. |
Response Formats
application/json
Sample:
{
"Data": [
{
"RowNumber": 1,
"SiteName": "sample string 2",
"ZoneName": "sample string 3",
"LocationCode": "sample string 4",
"LocationDescription": "sample string 5",
"UsageTypeName": "sample string 6",
"LocationSaleable": 1,
"DefaultLocation": true,
"LocationRecordStatus": 0,
"LocationNotes": "sample string 7",
"AllLocationNotes": [
{
"NoteText": "sample string 1",
"NoteDate": "2026-05-28T12:44:40.2579642+00:00",
"UserLogon": "sample string 2"
},
{
"NoteText": "sample string 1",
"NoteDate": "2026-05-28T12:44:40.2579642+00:00",
"UserLogon": "sample string 2"
}
],
"CustomFields": [
{
"ImportRowNumber": 1,
"DcfLabel": "sample string 2",
"DCFDataType": 1,
"DcfTextValue": "sample string 3",
"DcfNumberValue": 1.0,
"DcfDateValue": "2026-05-28T12:44:40.2579642+00:00",
"DcfValueRecordStatus": 0
},
{
"ImportRowNumber": 1,
"DcfLabel": "sample string 2",
"DCFDataType": 1,
"DcfTextValue": "sample string 3",
"DcfNumberValue": 1.0,
"DcfDateValue": "2026-05-28T12:44:40.2579642+00:00",
"DcfValueRecordStatus": 0
}
],
"LocationSequence": 1.0,
"LocationWidth": 1.0,
"LocationHeight": 1.0,
"LocationDepth": 1.0,
"DimensionUnit": "sample string 8",
"LocationVolume": 1.0,
"LocationMaxWeight": 1.0,
"WeightUnit": "sample string 9",
"LocationMaxVolume": 1.0,
"VolumeUnit": "sample string 10",
"ParentLocation": "sample string 11",
"ChildrenLocations": 12,
"LastUpdated": "2026-05-28T12:44:40.2579642+00:00"
},
{
"RowNumber": 1,
"SiteName": "sample string 2",
"ZoneName": "sample string 3",
"LocationCode": "sample string 4",
"LocationDescription": "sample string 5",
"UsageTypeName": "sample string 6",
"LocationSaleable": 1,
"DefaultLocation": true,
"LocationRecordStatus": 0,
"LocationNotes": "sample string 7",
"AllLocationNotes": [
{
"NoteText": "sample string 1",
"NoteDate": "2026-05-28T12:44:40.2579642+00:00",
"UserLogon": "sample string 2"
},
{
"NoteText": "sample string 1",
"NoteDate": "2026-05-28T12:44:40.2579642+00:00",
"UserLogon": "sample string 2"
}
],
"CustomFields": [
{
"ImportRowNumber": 1,
"DcfLabel": "sample string 2",
"DCFDataType": 1,
"DcfTextValue": "sample string 3",
"DcfNumberValue": 1.0,
"DcfDateValue": "2026-05-28T12:44:40.2579642+00:00",
"DcfValueRecordStatus": 0
},
{
"ImportRowNumber": 1,
"DcfLabel": "sample string 2",
"DCFDataType": 1,
"DcfTextValue": "sample string 3",
"DcfNumberValue": 1.0,
"DcfDateValue": "2026-05-28T12:44:40.2579642+00:00",
"DcfValueRecordStatus": 0
}
],
"LocationSequence": 1.0,
"LocationWidth": 1.0,
"LocationHeight": 1.0,
"LocationDepth": 1.0,
"DimensionUnit": "sample string 8",
"LocationVolume": 1.0,
"LocationMaxWeight": 1.0,
"WeightUnit": "sample string 9",
"LocationMaxVolume": 1.0,
"VolumeUnit": "sample string 10",
"ParentLocation": "sample string 11",
"ChildrenLocations": 12,
"LastUpdated": "2026-05-28T12:44:40.2579642+00:00"
}
],
"Messages": [
{
"ResultCode": 0,
"Message": "sample string 1",
"HttpStatusCode": 200,
"FieldName": "sample string 2"
},
{
"ResultCode": 0,
"Message": "sample string 1",
"HttpStatusCode": 200,
"FieldName": "sample string 2"
}
],
"BatchNumber": 1,
"HasError": false,
"HasHttpError": false,
"HasMessage": true,
"HasSuccessWithMoreDataRemaining": false,
"TotalRecordsLongCount": 1
}