[Index]

API Reference for relation/MultiVendorSubscribers

Multi-Vendor Subscriber List relation

Model ref.: relation/MultiVendorSubscribers

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/MultiVendorSubscribers/add/
  • hierarchy=[hierarchy]
  • format=json
The GUI Add form of relation/MultiVendorSubscribers 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/MultiVendorSubscribers 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.
  • Bulk Delete

    Task Call URL Parameters Payload
    Bulk delete [pkid1],[pkid2]... DELETE /api/relation/MultiVendorSubscribers/ hierarchy=[hierarchy] {"hrefs":["/api/relation/MultiVendorSubscribers/[pkid1]", "/api/relation/MultiVendorSubscribers/[pkid2]", ...]}
    • For the instance pkids [pkid1],[pkid2], ... that can be added to the DELETE call (the instance pkids to delete), refer to the List GET call for: relation/MultiVendorSubscribers
      GET http://[host-proxy]/api/relation/MultiVendorSubscribers/?hierarchy=[hierarchy]&format=json

    Bulk Modify

    Task Call URL Parameters Response
    Bulk Modify GET /api/relation/MultiVendorSubscribers/bulk_update/?schema=&schema_rules=true
    • hierarchy=[hierarchy]
    • format=json
    • pkids=pkid1,pkid2,...
      In JSON format:
    • POST call to update the instances of relation/MultiVendorSubscribers
    • relation/MultiVendorSubscribers schema to create POST payload.
    Task Call URL Parameters Payload
    Bulk Modify POST /api/relation/MultiVendorSubscribers/bulk_update/
    • hierarchy=[hierarchy]
    • format=json
    For example:
    {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/relation/MultiVendorSubscribers/[pkid1]", "/api/v0/relation/MultiVendorSubscribers/[pkid2]",...]}}
    • To get a list of model instance pkids that are available to Bulk Modify, use the GET call:
      GET http://[host-proxy]/api/relation/MultiVendorSubscribers/?hierarchy=[hierarchy]&format=json
    • The POST payload is in JSON format (refer to the Payload example) and contains:
      • data in name-value update pairs according to the returned schema
      • meta (empty - for a valid payload)
      • request_meta with the hrefs list of instances to update

    Move

    Task Call URL Parameters Payload
    Move the instance with [pkid] to [target_hierarchy] POST /api/tool/DataMove/?model_type=relation/MultiVendorSubscribers
    • hierarchy=[hierarchy]
    • context_hierarchy=[target_hierarchy]
    • format=json
    • (nowait=true)
    {"hrefs": ["/api/relation/MultiVendorSubscribers/[pkid]"]}
    Bulk Move POST /api/tool/DataMove/?model_type=relation/MultiVendorSubscribers
    • hierarchy==[hierarchy]
    • context_hierarchy=[target_hierarchy]
    • format=json
    • (nowait=true)
    {"hrefs": ["/api/relation/MultiVendorSubscribers/[pkid1]", "/api/relation/MultiVendorSubscribers/[pkid2]",...]}

    • Move one or more model instances ([pkid1],[pkid2],...) from source hierarchy (pkid or dot notation) to target_hierarchy (pkid or dot notation). A move can only take place from a source hierarchy equal to or lower than target_hierarchy.
    • For a list of hierarchy pkids and their dot notation available from [hierarchy], use the GET call:
      GET http://[host-proxy]/api/relation/MultiVendorSubscribers/?hierarchy=[hierarchy]&format=json&schema_rules=true

    List

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

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

    (Show the first instance)

    Help

    Task Call URL Parameters Response
    Get the on-line Help for relation/MultiVendorSubscribers. GET /api/relation/MultiVendorSubscribers/help hierarchy=[hierarchy] On-line help of Model ref.: relation/MultiVendorSubscribers as HTML

    Instance API Reference

    Modify

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

    For Bulk modification, refer to the Bulk Modify section.

    Delete

    Task Call URL Parameters Response
    Delete DELETE /api/relation/MultiVendorSubscribers/[pkid] hierarchy=[hierarchy]

    Clone

    Task Call URL Parameters Response
    Clone instance with [pkid]. The schema rules are applied. GET /api/relation/MultiVendorSubscribers/[pkid]/clone/?schema=&schema_rules=true
    • hierarchy=[hierarchy]
    A JSON payload with:
    • A POST action URL.
    • The unchanged model [pkid] payload to be modified to create a new instance.
    • For the instance pkids that can cloned, refer to the List GET call for relation/MultiVendorSubscribers
    • GET http://[host-proxy]/api/relation/MultiVendorSubscribers/?hierarchy=[hierarchy]&format=json
    • Use the POST action in the response with a modification of the response payload to create the clone.

    Move

    Task Call URL Parameters Payload
    Move POST /api/tool/DataMove/[pkid]/?model_type=relation/MultiVendorSubscribers hierarchy=[hierarchy] If payload required:

    Get

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

    Help

    Task Call URL Parameters Response
    Help GET /api/relation/MultiVendorSubscribers/[pkid]/help hierarchy=[hierarchy] The on-line Help for relation/MultiVendorSubscribers.