Skip to content

addSiteLocation

Supported, no replacement yet

This endpoint remains fully supported. No replacement exists in the new API yet, and no action is needed. When a replacement ships you will get 12 months' notice, and this site will be updated.

Reference

/rest/assetmgmt/addSiteLocation/{site-id}

POST
This API adds a Site Location.

acceptable request representations:

  • application/json


{
  "name":"Airing Cupboard" "autocode": "MB-0FA3C0-01" //unique code
} 


available response representations:
  • 200 - application/json

{
    "id":"322",
    "autocode": "MB-0FA3C0-01" //unique code
}
  

See the Asset Management API matrix for the full list of endpoints in this category.