[Index]
Wrapper relation for InternalNumberInventory. Summary attributes is defined in data-model (and in future core-versions, the FDP will define the summary-attrs)
Model ref.: relation/NumberInventoryREL
The full URL would include the host-proxy name: https://[host-proxy].
Variables are enclosed in square brackets.
{ "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "properties": { "internal_number": { "required": true, "type": "string", "title": "Internal Number" }, "status": { "choices": [ { "value": "Available", "title": "Available" }, { "value": "Used", "title": "Used" }, { "value": "Used-Utility", "title": "Used-Utility" }, { "value": "Reserved", "title": "Reserved" }, { "value": "Cooling", "title": "Cooling" } ], "required": true, "type": "string", "title": "Status" }, "usage": { "type": "string", "title": "Usage" }, "reservation_notes": { "type": "string", "title": "Reservation notes" }, "release_date": { "type": "string", "description": "A value indicates that the number is in temporary 'cooldown' isolation (and therefore also temporarily unavailable until the cooling duration expires, refer to global settings).", "title": "Release Date" }, "tag": { "type": "string", "title": "Tag" }, "description": { "type": "string", "title": "Description" }, "e164number": { "type": "string", "title": "E164Number" }, "extension": { "type": "string", "title": "Extension" }, "vendor": { "type": "string", "title": "Vendor" }, "extra1": { "type": "string", "title": "Extra1" }, "extra2": { "type": "string", "title": "Extra2" }, "extra3": { "type": "string", "title": "Extra3" }, "extra4": { "type": "string", "title": "Extra4" }, "extra5": { "type": "string", "title": "Extra5" }, "extra6": { "type": "string", "title": "Extra6" }, "extra7": { "type": "string", "title": "Extra7" }, "extra8": { "type": "string", "title": "Extra8" }, "extra9": { "type": "string", "title": "Extra9" }, "internal_number_type": { "choices": [ { "value": "DirectRouting", "title": "Direct Routing" }, { "value": "CallingPlan", "title": "Calling Plan" }, { "value": "OperatorConnect", "title": "Operator Connect" } ], "type": "string", "title": "Internal Number Type" }, "lsview": { "title": "Lsview", "type": "object", "properties": { "search_line": { "type": "string", "description": "Search for a (Used, Used-Utility or Used-Staging) Line", "title": "Search Line" }, "line1_link": { "format": "link", "type": "string", "title": "Line (Partition)" }, "line2_link": { "format": "link", "type": "string", "title": "Line (Partition)" }, "line3_link": { "format": "link", "type": "string", "title": "Line (Partition)" }, "line4_link": { "format": "link", "type": "string", "title": "Line (Partition)" }, "line5_link": { "format": "link", "type": "string", "title": "Line (Partition)" }, "line6_link": { "format": "link", "type": "string", "title": "Line (Partition)" }, "line7_link": { "format": "link", "type": "string", "title": "Line (Partition)" }, "line8_link": { "format": "link", "type": "string", "title": "Line (Partition)" }, "line9_link": { "format": "link", "type": "string", "title": "Line (Partition)" }, "line10_link": { "format": "link", "type": "string", "title": "Line (Partition)" }, "user1_link": { "format": "link", "type": "string", "title": "User" }, "user2_link": { "format": "link", "type": "string", "title": "User" }, "user3_link": { "format": "link", "type": "string", "title": "User" }, "user4_link": { "format": "link", "type": "string", "title": "User" }, "user5_link": { "format": "link", "type": "string", "title": "User" }, "user6_link": { "format": "link", "type": "string", "title": "User" }, "user7_link": { "format": "link", "type": "string", "title": "User" }, "user8_link": { "format": "link", "type": "string", "title": "User" }, "user9_link": { "format": "link", "type": "string", "title": "User" }, "user10_link": { "format": "link", "type": "string", "title": "User" }, "phone1_link": { "format": "link", "type": "string", "title": "Phone" }, "phone2_link": { "format": "link", "type": "string", "title": "Phone" }, "phone3_link": { "format": "link", "type": "string", "title": "Phone" }, "phone4_link": { "format": "link", "type": "string", "title": "Phone" }, "phone5_link": { "format": "link", "type": "string", "title": "Phone" }, "phone6_link": { "format": "link", "type": "string", "title": "Phone" }, "phone7_link": { "format": "link", "type": "string", "title": "Phone" }, "phone8_link": { "format": "link", "type": "string", "title": "Phone" }, "phone9_link": { "format": "link", "type": "string", "title": "Phone" }, "phone10_link": { "format": "link", "type": "string", "title": "Phone" }, "huntpilot1_link": { "format": "link", "type": "string", "title": "Hunt Pilot" }, "huntpilot2_link": { "format": "link", "type": "string", "title": "Hunt Pilot" }, "huntpilot3_link": { "format": "link", "type": "string", "title": "Hunt Pilot" }, "huntpilot4_link": { "format": "link", "type": "string", "title": "Hunt Pilot" }, "huntpilot5_link": { "format": "link", "type": "string", "title": "Hunt Pilot" }, "huntpilot6_link": { "format": "link", "type": "string", "title": "Hunt Pilot" }, "huntpilot7_link": { "format": "link", "type": "string", "title": "Hunt Pilot" }, "huntpilot8_link": { "format": "link", "type": "string", "title": "Hunt Pilot" }, "huntpilot9_link": { "format": "link", "type": "string", "title": "Hunt Pilot" }, "huntpilot10_link": { "format": "link", "type": "string", "title": "Hunt Pilot" }, "hunt_group1_link": { "format": "link", "type": "string", "title": "Hunt Line Group Member" }, "hunt_group2_link": { "format": "link", "type": "string", "title": "Hunt Line Group Member" }, "hunt_group3_link": { "format": "link", "type": "string", "title": "Hunt Line Group Member" }, "hunt_group4_link": { "format": "link", "type": "string", "title": "Hunt Line Group Member" }, "hunt_group5_link": { "format": "link", "type": "string", "title": "Hunt Line Group Member" }, "hunt_group6_link": { "format": "link", "type": "string", "title": "Hunt Line Group Member" }, "hunt_group7_link": { "format": "link", "type": "string", "title": "Hunt Line Group Member" }, "hunt_group8_link": { "format": "link", "type": "string", "title": "Hunt Line Group Member" }, "hunt_group9_link": { "format": "link", "type": "string", "title": "Hunt Line Group Member" }, "hunt_group10_link": { "format": "link", "type": "string", "title": "Hunt Line Group Member" }, "call_pickup_group_link": { "format": "link", "type": "string", "title": "Call Pickup Group Member" }, "voicemail_link": { "format": "link", "type": "string", "title": "Voicemail User" }, "device_profile_link": { "format": "link", "type": "string", "title": "Device Profile" }, "remote_destination_profile_link": { "format": "link", "type": "string", "title": "Remote Destination Profile" }, "ctirp_link": { "format": "link", "type": "string", "title": "CTI Route Point" }, "cpug1_link": { "format": "link", "type": "string", "title": "Call Pickup Group Pilot" }, "cpug2_link": { "format": "link", "type": "string", "title": "Call Pickup Group Pilot" }, "cpug3_link": { "format": "link", "type": "string", "title": "Call Pickup Group Pilot" }, "cpug4_link": { "format": "link", "type": "string", "title": "Call Pickup Group Pilot" }, "cpug5_link": { "format": "link", "type": "string", "title": "Call Pickup Group Pilot" }, "cpug6_link": { "format": "link", "type": "string", "title": "Call Pickup Group Pilot" }, "cpug7_link": { "format": "link", "type": "string", "title": "Call Pickup Group Pilot" }, "cpug8_link": { "format": "link", "type": "string", "title": "Call Pickup Group Pilot" }, "cpug9_link": { "format": "link", "type": "string", "title": "Call Pickup Group Pilot" }, "cpug10_link": { "format": "link", "type": "string", "title": "Call Pickup Group Pilot" }, "meetme1_link": { "format": "link", "type": "string", "title": "Meet Me" }, "meetme2_link": { "format": "link", "type": "string", "title": "Meet Me" }, "meetme3_link": { "format": "link", "type": "string", "title": "Meet Me" }, "meetme4_link": { "format": "link", "type": "string", "title": "Meet Me" }, "meetme5_link": { "format": "link", "type": "string", "title": "Meet Me" }, "meetme6_link": { "format": "link", "type": "string", "title": "Meet Me" }, "meetme7_link": { "format": "link", "type": "string", "title": "Meet Me" }, "meetme8_link": { "format": "link", "type": "string", "title": "Meet Me" }, "meetme9_link": { "format": "link", "type": "string", "title": "Meet Me" }, "meetme10_link": { "format": "link", "type": "string", "title": "Meet Me" }, "callpark1_link": { "format": "link", "type": "string", "title": "Call Park" }, "callpark2_link": { "format": "link", "type": "string", "title": "Call Park" }, "callpark3_link": { "format": "link", "type": "string", "title": "Call Park" }, "callpark4_link": { "format": "link", "type": "string", "title": "Call Park" }, "callpark5_link": { "format": "link", "type": "string", "title": "Call Park" }, "callpark6_link": { "format": "link", "type": "string", "title": "Call Park" }, "callpark7_link": { "format": "link", "type": "string", "title": "Call Park" }, "callpark8_link": { "format": "link", "type": "string", "title": "Call Park" }, "callpark9_link": { "format": "link", "type": "string", "title": "Call Park" }, "callpark10_link": { "format": "link", "type": "string", "title": "Call Park" }, "callpark_directed1_link": { "format": "link", "type": "string", "title": "Directed Call Park" }, "callpark_directed2_link": { "format": "link", "type": "string", "title": "Directed Call Park" }, "callpark_directed3_link": { "format": "link", "type": "string", "title": "Directed Call Park" }, "callpark_directed4_link": { "format": "link", "type": "string", "title": "Directed Call Park" }, "callpark_directed5_link": { "format": "link", "type": "string", "title": "Directed Call Park" }, "callpark_directed6_link": { "format": "link", "type": "string", "title": "Directed Call Park" }, "callpark_directed7_link": { "format": "link", "type": "string", "title": "Directed Call Park" }, "callpark_directed8_link": { "format": "link", "type": "string", "title": "Directed Call Park" }, "callpark_directed9_link": { "format": "link", "type": "string", "title": "Directed Call Park" }, "callpark_directed10_link": { "format": "link", "type": "string", "title": "Directed Call Park" }, "meetme_link": { "format": "link", "type": "string", "title": "Meet Me" }, "vmpilot_link": { "format": "link", "type": "string", "title": "Voicemail Pilot" }, "systemcallhandler_link": { "format": "link", "type": "string", "title": "System Call Handler" }, "vossphone_link": { "format": "link", "type": "string", "title": "VOSS Phone" }, "msteams_LineUriTell_link": { "format": "link", "type": "string", "title": "User (MS Subscriber)" }, "msteams_AaOrCq_application_link": { "format": "link", "type": "string", "title": "MS AutoAttendant / Call Queue" }, "msteams_AaOrCq_ResourceAccount_link": { "format": "link", "type": "string", "title": "Resource Account linked to the AA / CQ" }, "webexapp_calling_link": { "format": "link", "type": "string", "title": "Webex App Calling" } } } }, "schema_version": "1.0" }
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk delete [pkid1],[pkid2]... | DELETE | /api/relation/NumberInventoryREL/ | hierarchy=[hierarchy] | {"hrefs":["/api/relation/NumberInventoryREL/[pkid1]", "/api/relation/NumberInventoryREL/[pkid2]", ...]} |
GET http://[host-proxy]/api/relation/NumberInventoryREL/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move the instance with [pkid] to [target_hierarchy] | POST | /api/tool/DataMove/?model_type=relation/NumberInventoryREL |
|
{"hrefs": ["/api/relation/NumberInventoryREL/[pkid]"]} |
Bulk Move | POST | /api/tool/DataMove/?model_type=relation/NumberInventoryREL |
|
{"hrefs": ["/api/relation/NumberInventoryREL/[pkid1]", "/api/relation/NumberInventoryREL/[pkid2]",...]} |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of relation/NumberInventoryREL; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/relation/NumberInventoryREL/export/ |
|
{ "hrefs":["/api/relation/NumberInventoryREL/[pkid1]", "/api/relation/NumberInventoryREL/[pkid2]",...]}} |
For export_format=json, the response is a time stamped zip file of data in JSON as in the system database. Item properties such as strings that are empty or Boolean values that are not set, are not included. The filename in the response is of the format as the example:
Content-Disposition: attachment; filename=export_2013-05-17_14:20:19.186444.json.zip Content-Language:en Content-Type:application/x-zip
For export_format=raw_xlsx, the response is a MS Excel spreadsheet with columns corresponding to the JSON format export and a response filename format:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_CCYY-MM-DD_HH-MM-SS.xlsx Content-Language:en Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
For export_format=xlsx, the response is a MS Excel spreadsheet, arranged by any Field Display Policies that apply. The columns correspond with those of a Bulk Load Template export sheet. The response filename format is:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_formatted_CCYY-MM-DD_HH-MM-SS.xlsx Content-Language:en Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
The XLSX format can be used to bulk load instances of relation/NumberInventoryREL and the JSON format can be used to import instances of relation/NumberInventoryREL.
GET http://[host-proxy]/api/relation/NumberInventoryREL/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for relation/NumberInventoryREL | POST | /api/relation/NumberInventoryREL/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Configuration Template | GET | /api/relation/NumberInventoryREL/configuration_template/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Field Display Policy | GET | /api/relation/NumberInventoryREL/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/relation/NumberInventoryREL/ |
|
The relation/NumberInventoryREL schema and all instances as JSON. |
(The list will return 0 to 3 relation/NumberInventoryREL instances)
{ "pagination": { "skip": 0, "limit": 3, "maximum_limit": 2000, "total": 3953, "total_limit": null, "order_by": "internal_number", "direction": "asc", "current": "/api/relation/NumberInventoryREL/?skip=0&limit=3&order_by=internal_number&direction=asc&traversal=down" }, "operations": [ "field_display_policy", "update", "help", "remove", "add", "configuration_template", "list", "export", "get", "ReserveNumber", "bulk_update", "export_bulkload_template", "move" ], "meta": { "model_type": "relation/NumberInventoryREL", "summary_attrs": [ { "name": "internal_number", "title": "Internal Number" }, { "name": "status", "title": "Status" }, { "name": "usage", "title": "Usage" }, { "name": "e164number", "title": "E164Number" }, { "name": "extension", "title": "Extension" }, { "name": "release_date", "title": "Release Date" }, { "name": "tag", "title": "Tag" }, { "name": "description", "title": "Description" }, { "name": "reservation_notes", "title": "Reservation notes" }, { "name": "vendor", "title": "Vendor" }, { "name": "internal_number_type", "title": "Internal Number Type" }, { "name": "extra1", "title": "Extra1" }, { "name": "extra2", "title": "Extra2" }, { "name": "extra3", "title": "Extra3" }, { "name": "extra4", "title": "Extra4" }, { "name": "extra5", "title": "Extra5" }, { "name": "extra6", "title": "Extra6" }, { "name": "extra7", "title": "Extra7" }, { "name": "extra8", "title": "Extra8" }, { "name": "extra9", "title": "Extra9" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "", "business_key": {}, "api_version": "21.2", "cached": true, "references": { "children": [], "parent": [ { "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101", "pkid": "6t0ggef2c0deab00hb595101" } ], "device": [ { "href": "", "pkid": "" } ], "foreign_key": [], "self": [ { "href": "/api/relation/NumberInventoryREL/None/", "pkid": null } ] }, "model_specific_actions": [ "update", "field_display_policy", "remove", "help", "add", "configuration_template", "list", "export", "get", "ReserveNumber", "export_bulkload_template", "move" ], "schema_version": "1.0", "actions": [ { "remove": { "method": "DELETE", "class": "delete", "href": "/api/relation/NumberInventoryREL/?hierarchy=[hierarchy]", "support_async": true, "title": "Delete" } }, { "move": { "method": "POST", "class": "move", "href": "/api/tool/DataMove/?hierarchy=[hierarchy]&model_type=relation/NumberInventoryREL", "support_async": true, "title": "Move", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "method": "POST", "class": "export", "href": "/api/relation/NumberInventoryREL/export/?hierarchy=[hierarchy]", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/?auth_token=[authtoken], "submit": "payload" } }, { "export_bulkload_template": { "method": "POST", "class": "bulkload_template", "href": "/api/relation/NumberInventoryREL/export_bulkload_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Export Bulk Load Template" } }, { "configuration_template": { "method": "GET", "class": "config", "href": "/api/relation/NumberInventoryREL/configuration_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Configuration Template" } }, { "field_display_policy": { "method": "GET", "class": "display_policy", "href": "/api/relation/NumberInventoryREL/field_display_policy/?hierarchy=[hierarchy]", "support_async": false, "title": "Field Display Policy" } }, { "list": { "method": "GET", "class": "list", "href": "/api/relation/NumberInventoryREL/?hierarchy=[hierarchy]", "support_async": false, "title": "List" } }, { "help": { "method": "GET", "class": "help", "href": "/api/relation/NumberInventoryREL/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } } ] }, "resources": [ { "data": { "internal_number": "8103300", "e164number": "\\+33561933300", "status": "Available", "pkid": "5ae8b200affa931cce3d81c3", "hierarchy_friendly_name": "CL1-AB-C-Paris (Site)", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group.AB-C.CL1-AB-C-Paris" }, "meta": { "model_type": "relation/NumberInventoryREL", "summary_attrs": [ { "name": "internal_number", "title": "Internal Number" }, { "name": "status", "title": "Status" }, { "name": "usage", "title": "Usage" }, { "name": "e164number", "title": "E164Number" }, { "name": "extension", "title": "Extension" }, { "name": "release_date", "title": "Release Date" }, { "name": "tag", "title": "Tag" }, { "name": "description", "title": "Description" }, { "name": "reservation_notes", "title": "Reservation notes" }, { "name": "vendor", "title": "Vendor" }, { "name": "internal_number_type", "title": "Internal Number Type" }, { "name": "extra1", "title": "Extra1" }, { "name": "extra2", "title": "Extra2" }, { "name": "extra3", "title": "Extra3" }, { "name": "extra4", "title": "Extra4" }, { "name": "extra5", "title": "Extra5" }, { "name": "extra6", "title": "Extra6" }, { "name": "extra7", "title": "Extra7" }, { "name": "extra8", "title": "Extra8" }, { "name": "extra9", "title": "Extra9" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "8103300", "business_key": { "hierarchy": true, "unique": [ "internal_number" ] }, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5ae89fe6affa931cce38fc13", "href": "/api/data/HierarchyNode/5ae89fe6affa931cce38fc13" } ], "foreign_key": [], "self": [ { "href": "/api/relation/NumberInventoryREL/5ae8b1ffaffa931cce3d81bf/", "pkid": "5ae8b1ffaffa931cce3d81bf" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "5ae89c0faffa931cce386c0f", "5ae89ea2affa931cce38a523", "5ae89f22affa931cce38d2f4", "5ae89fe6affa931cce38fc13", "5ae8b1ffaffa931cce3d81bf" ], "schema_version": "2.2", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/relation/NumberInventoryREL/5ae8b1ffaffa931cce3d81bf/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/relation/NumberInventoryREL/5ae8b1ffaffa931cce3d81bf/", "support_async": true, "title": "Delete" } }, { "move": { "method": "POST", "class": "move", "href": "/api/tool/DataMove/5ae8b1ffaffa931cce3d81bf/?model_type=relation/NumberInventoryREL", "support_async": true, "title": "Move", "view": "/api/tool/DataMove/" } }, { "export": { "method": "GET", "class": "export", "href": "/api/relation/NumberInventoryREL/5ae8b1ffaffa931cce3d81bf/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/relation/NumberInventoryREL/5ae8b1ffaffa931cce3d81bf/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/relation/NumberInventoryREL/5ae8b1ffaffa931cce3d81bf/help", "support_async": false, "title": "Help" } }, { "ReserveNumber": { "method": "POST", "class": "custom", "href": "/api/relation/NumberInventoryREL/5ae8b1ffaffa931cce3d81bf/+ReserveNumber/", "support_async": true, "title": "Reserve Number" } } ], "summary": "false" }, "pkid": "5ae8b1ffaffa931cce3d81bf" }, { "data": { "available": true, "e164number": "\\+33561933301", "internal_number": "8103301", "pkid": "5ae8b200affa931cce3d81dd", "status": "Available", "release_date": null, "hierarchy_friendly_name": "CL1-AB-C-Paris (Site)", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group.AB-C.CL1-AB-C-Paris" }, "meta": { "model_type": "relation/NumberInventoryREL", "summary_attrs": [ { "name": "internal_number", "title": "Internal Number" }, { "name": "status", "title": "Status" }, { "name": "usage", "title": "Usage" }, { "name": "e164number", "title": "E164Number" }, { "name": "extension", "title": "Extension" }, { "name": "release_date", "title": "Release Date" }, { "name": "tag", "title": "Tag" }, { "name": "description", "title": "Description" }, { "name": "reservation_notes", "title": "Reservation notes" }, { "name": "vendor", "title": "Vendor" }, { "name": "internal_number_type", "title": "Internal Number Type" }, { "name": "extra1", "title": "Extra1" }, { "name": "extra2", "title": "Extra2" }, { "name": "extra3", "title": "Extra3" }, { "name": "extra4", "title": "Extra4" }, { "name": "extra5", "title": "Extra5" }, { "name": "extra6", "title": "Extra6" }, { "name": "extra7", "title": "Extra7" }, { "name": "extra8", "title": "Extra8" }, { "name": "extra9", "title": "Extra9" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "8103301", "business_key": { "hierarchy": true, "unique": [ "internal_number" ] }, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5ae89fe6affa931cce38fc13", "href": "/api/data/HierarchyNode/5ae89fe6affa931cce38fc13" } ], "foreign_key": [], "self": [ { "href": "/api/relation/NumberInventoryREL/5ae8b200affa931cce3d81dc/", "pkid": "5ae8b200affa931cce3d81dc" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "5ae89c0faffa931cce386c0f", "5ae89ea2affa931cce38a523", "5ae89f22affa931cce38d2f4", "5ae89fe6affa931cce38fc13", "5ae8b200affa931cce3d81dc" ], "schema_version": "2.2", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/relation/NumberInventoryREL/5ae8b200affa931cce3d81dc/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/relation/NumberInventoryREL/5ae8b200affa931cce3d81dc/", "support_async": true, "title": "Delete" } }, { "move": { "method": "POST", "class": "move", "href": "/api/tool/DataMove/5ae8b200affa931cce3d81dc/?model_type=relation/NumberInventoryREL", "support_async": true, "title": "Move", "view": "/api/tool/DataMove/" } }, { "export": { "method": "GET", "class": "export", "href": "/api/relation/NumberInventoryREL/5ae8b200affa931cce3d81dc/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/relation/NumberInventoryREL/5ae8b200affa931cce3d81dc/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/relation/NumberInventoryREL/5ae8b200affa931cce3d81dc/help", "support_async": false, "title": "Help" } }, { "ReserveNumber": { "method": "POST", "class": "custom", "href": "/api/relation/NumberInventoryREL/5ae8b200affa931cce3d81dc/+ReserveNumber/", "support_async": true, "title": "Reserve Number" } } ], "summary": "false" }, "pkid": "5ae8b200affa931cce3d81dc" }, { "data": { "available": true, "e164number": "\\+33561933302", "internal_number": "8103302", "pkid": "5ae8b200affa931cce3d8208", "status": "Available", "release_date": null, "hierarchy_friendly_name": "CL1-AB-C-Paris (Site)", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group.AB-C.CL1-AB-C-Paris" }, "meta": { "model_type": "relation/NumberInventoryREL", "summary_attrs": [ { "name": "internal_number", "title": "Internal Number" }, { "name": "status", "title": "Status" }, { "name": "usage", "title": "Usage" }, { "name": "e164number", "title": "E164Number" }, { "name": "extension", "title": "Extension" }, { "name": "release_date", "title": "Release Date" }, { "name": "tag", "title": "Tag" }, { "name": "description", "title": "Description" }, { "name": "reservation_notes", "title": "Reservation notes" }, { "name": "vendor", "title": "Vendor" }, { "name": "internal_number_type", "title": "Internal Number Type" }, { "name": "extra1", "title": "Extra1" }, { "name": "extra2", "title": "Extra2" }, { "name": "extra3", "title": "Extra3" }, { "name": "extra4", "title": "Extra4" }, { "name": "extra5", "title": "Extra5" }, { "name": "extra6", "title": "Extra6" }, { "name": "extra7", "title": "Extra7" }, { "name": "extra8", "title": "Extra8" }, { "name": "extra9", "title": "Extra9" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "8103302", "business_key": { "hierarchy": true, "unique": [ "internal_number" ] }, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5ae89fe6affa931cce38fc13", "href": "/api/data/HierarchyNode/5ae89fe6affa931cce38fc13" } ], "foreign_key": [], "self": [ { "href": "/api/relation/NumberInventoryREL/5ae8b200affa931cce3d81fb/", "pkid": "5ae8b200affa931cce3d81fb" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "5ae89c0faffa931cce386c0f", "5ae89ea2affa931cce38a523", "5ae89f22affa931cce38d2f4", "5ae89fe6affa931cce38fc13", "5ae8b200affa931cce3d81fb" ], "schema_version": "2.2", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/relation/NumberInventoryREL/5ae8b200affa931cce3d81fb/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/relation/NumberInventoryREL/5ae8b200affa931cce3d81fb/", "support_async": true, "title": "Delete" } }, { "move": { "method": "POST", "class": "move", "href": "/api/tool/DataMove/5ae8b200affa931cce3d81fb/?model_type=relation/NumberInventoryREL", "support_async": true, "title": "Move", "view": "/api/tool/DataMove/" } }, { "export": { "method": "GET", "class": "export", "href": "/api/relation/NumberInventoryREL/5ae8b200affa931cce3d81fb/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/relation/NumberInventoryREL/5ae8b200affa931cce3d81fb/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/relation/NumberInventoryREL/5ae8b200affa931cce3d81fb/help", "support_async": false, "title": "Help" } }, { "ReserveNumber": { "method": "POST", "class": "custom", "href": "/api/relation/NumberInventoryREL/5ae8b200affa931cce3d81fb/+ReserveNumber/", "support_async": true, "title": "Reserve Number" } } ], "summary": "false" }, "pkid": "5ae8b200affa931cce3d81fb" } ] }
(Show the first instance)
{ "data": { "internal_number": "8103300", "e164number": "\\+33561933300", "status": "Available" }, "meta": { "model_type": "relation/NumberInventoryREL", "summary_attrs": [ { "name": "internal_number", "title": "Internal Number" }, { "name": "status", "title": "Status" }, { "name": "usage", "title": "Usage" }, { "name": "e164number", "title": "E164Number" }, { "name": "extension", "title": "Extension" }, { "name": "release_date", "title": "Release Date" }, { "name": "tag", "title": "Tag" }, { "name": "description", "title": "Description" }, { "name": "reservation_notes", "title": "Reservation notes" }, { "name": "vendor", "title": "Vendor" }, { "name": "internal_number_type", "title": "Internal Number Type" }, { "name": "extra1", "title": "Extra1" }, { "name": "extra2", "title": "Extra2" }, { "name": "extra3", "title": "Extra3" }, { "name": "extra4", "title": "Extra4" }, { "name": "extra5", "title": "Extra5" }, { "name": "extra6", "title": "Extra6" }, { "name": "extra7", "title": "Extra7" }, { "name": "extra8", "title": "Extra8" }, { "name": "extra9", "title": "Extra9" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "8103300", "business_key": {}, "api_version": "21.2", "cached": true, "cache_control_policy": "cache_then_device", "references": { "device": [ { "href": "", "pkid": "" } ], "children": [], "parent": [ { "pkid": "5ae89fe6affa931cce38fc13", "href": "/api/data/HierarchyNode/5ae89fe6affa931cce38fc13" } ], "self": [ { "href": "/api/relation/NumberInventoryREL/5ae8b1ffaffa931cce3d81bf/", "pkid": "5ae8b1ffaffa931cce3d81bf" } ] }, "schema_version": "1.0", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/relation/NumberInventoryREL/5ae8b1ffaffa931cce3d81bf/?hierarchy=[hierarchy]", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/relation/NumberInventoryREL/5ae8b1ffaffa931cce3d81bf/?hierarchy=[hierarchy]", "support_async": true, "title": "Delete" } }, { "move": { "method": "POST", "class": "move", "href": "/api/tool/DataMove/5ae8b1ffaffa931cce3d81bf/?hierarchy=[hierarchy]&model_type=relation/NumberInventoryREL", "support_async": true, "title": "Move", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "method": "GET", "class": "export", "href": "/api/relation/NumberInventoryREL/5ae8b1ffaffa931cce3d81bf/export/?hierarchy=[hierarchy]", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/?auth_token=[authtoken], "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/relation/NumberInventoryREL/5ae8b1ffaffa931cce3d81bf/?hierarchy=[hierarchy]", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/relation/NumberInventoryREL/5ae8b1ffaffa931cce3d81bf/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } }, { "ReserveNumber": { "method": "POST", "class": "custom", "href": "/api/relation/NumberInventoryREL/5ae8b1ffaffa931cce3d81bf/+ReserveNumber/?hierarchy=[hierarchy]", "support_async": true, "title": "Reserve Number" } } ] }, "pkid": "5ae8b1ffaffa931cce3d81bf" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for relation/NumberInventoryREL. | GET | /api/relation/NumberInventoryREL/help | hierarchy=[hierarchy] | On-line help of Model ref.: relation/NumberInventoryREL as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/relation/NumberInventoryREL/[pkid] | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/relation/NumberInventoryREL/[pkid] | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move | POST | /api/tool/DataMove/[pkid]/?model_type=relation/NumberInventoryREL | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a selected [export_format] of the schema and a single instance with [pkid] of relation/NumberInventoryREL; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/relation/NumberInventoryREL/[pkid]/export |
|
The response is an attachment. Refer to the list below. |
For export_format=raw_xlsx, the response is a "raw" MS Excel spreadsheet with columns corresponding to the JSON format export and a response format:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_CCYY-MM-DD_HH-MM-SS.xlsx Content-Language:en Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
For export_format=xlsx, the response is a MS Excel spreadsheet, formatted to show all columns and a response format:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_formatted_CCYY-MM-DD_HH-MM-SS.xlsx Content-Language:en Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
For export_format=json, the response is a time stamped zip file of data in JSON and a response format:
Content-Disposition: attachment; filename=export_2013-05-17_14:20:19.186444.json.zip Content-Language:en Content-Type:application/x-zip
The XLSX format can be used to bulk load instances of relation/NumberInventoryREL and the JSON format can be used to import instances of relation/NumberInventoryREL.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/relation/NumberInventoryREL/[pkid] | hierarchy=[hierarchy] | The relation/NumberInventoryREL instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/relation/NumberInventoryREL/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for relation/NumberInventoryREL. |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Reserve Number | POST | /api/relation/NumberInventoryREL/[pkid]/+ReserveNumber | hierarchy=[hierarchy] | If payload required: |