[Index]

API Reference for relation/GS_DeviceOOS_REL

Model ref.: relation/GS_DeviceOOS_REL

The full URL would include the host-proxy name: https://[host-proxy].

Variables are enclosed in square brackets.

For a list of available UUIDs and their dot notations:
GET /api/v0/data/HierarchyNode/?format=json

Get the Add form

Task Call URL Parameters Response
Get the GUI Add form. GET /api/relation/GS_DeviceOOS_REL/add/
  • hierarchy=[hierarchy]
  • format=json
The GUI Add form of relation/GS_DeviceOOS_REL as JSON

The API call to the /add/ URL can only be made from a hierarchy that allows the model type to be added. The actions in the response shows the url for the POST API call to create an instance.

Create

Task Call URL Parameters Payload
Create POST /api/relation/GS_DeviceOOS_REL hierarchy=[hierarchy]
(For payload specification)

  • Response is a transaction pkid for the create action.
  • Use the GET call to
    tool/Transaction/[trans pkid]
    to inspect the created resource and its instance pkid.
  • Export Bulk Load Template

    Task Call URL Parameters Response
    Get a compressed format of the Bulk Load spreadsheet template for relation/GS_DeviceOOS_REL POST /api/relation/GS_DeviceOOS_REL/export_bulkload_template/
    • hierarchy=[hierarchy]
    • modeltype=relation/GS_DeviceOOS_REL
    The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz

    List

    Task Call URL Parameters Response
    List GET /api/relation/GS_DeviceOOS_REL/
    • hierarchy=[hierarchy]
    • format=json
    • schema=true
    The relation/GS_DeviceOOS_REL schema and all instances as JSON.

    (The list will return 0 to 3 relation/GS_DeviceOOS_REL instances)

    Instance API Reference

    Modify

    Task Call URL Parameters Payload
    Modify PUT /api/relation/GS_DeviceOOS_REL/[pkid] hierarchy=[hierarchy] (For payload specification)

    For Bulk modification, refer to the Bulk Modify section.

    Get

    Task Call URL Parameters Response
    Get GET /api/relation/GS_DeviceOOS_REL/[pkid] hierarchy=[hierarchy] The relation/GS_DeviceOOS_REL instance with [pkid].

    Delete Device

    Task Call URL Parameters Payload
    Delete Device POST /api/relation/GS_DeviceOOS_REL/[pkid]/+DeleteDevice hierarchy=[hierarchy] If payload required:

    Restore Service

    Task Call URL Parameters Payload
    Restore Service POST /api/relation/GS_DeviceOOS_REL/[pkid]/+RestoreService hierarchy=[hierarchy] If payload required: