Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In an effort to make the PCR-360 API more flexible, PCR has made the decision to no longer create individual endpoints for all the different data types. Instead, PCR is encouraging Users to use the SQL endpoint with a structured SELECT statement to retrieve exactly the data you want. Please see the SQL End Point documentation for more information.

...

Code Block
languagephp
   GET http://DOMAIN/api/API_KEY/cable.OUTPUT?LIST=LISTTYPE&SEARCH=test

Parameter

Replace With

LISTTYPE

The type of List to be retrieved. Types can be found below.

...

*Extra Parameters can be appended to the URL in standard Query String fashion.

Anchor
Results
Results
Path Status Results
Code Block
languagephp
linenumberstrue
    <cable>
        <status>success</status>
        <page>1</page>
        <count>20</count>
        <total_count>20</total_count>
        <path_status>
            <item>
                <RECID>98</RECID>
                <VALUE>Wired</VALUE>
            </item>
        </path_status>
    </cable>

...

Field

Required

Data Type

Options

Default

Notes

recid

yes*

Integer



The RECID of the Cable Path. *Required only if attempting an UPDATE.

service

yes*

Integer



RECID of the Service to assign to the Cable Path. *Either a Service OR Location is required, but not both.

location

yes*

Integer



RECID of the Location to assign to the Cable Path. *Either a Service OR Location is required, but not both.

status

yes

Integer

Lists


Status of the Cable Path.

...