Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Get Directive File Details

    Use this API to retrieve the details of the directive file stored in the Junos Space Service Now database.

    URI

    https://[host]/api/juniper/servicenow/global-setting-management/directive-file-management /getDirectiveFileRecord (HTTP method = GET)

    Consumes

    None

    Produces

    • application/vnd.juniper.servicenow.global-setting-management.directivefile+xml;version=1
    • application/vnd.juniper.servicenow.global-setting-management.directivefile+json;version=1

    Response Elements

    Element

    Type

    Description

    directiveFile

    directiveFile

    Directive file

    fileName

    String

    Name of the directive file

    fileVersion

    String

    Version of the directive file

    lastUpdatedTime

    String

    Date and time the directive file was last updated

    updatedBy

    String

    Entity that updated the directive file

    The value is Service Now if the file is updated automatically. If a user uploads the file manually, the username of the user who uploaded the file is displayed.

    remarks

    String

    Remarks about the directive file

    Sample Output

    Sample XML Output

    <directiveFile>
    <fileName>DirectiveFile.rc</fileName>
    <fileVersion>2.2</fileVersion>
    <lastUpdatedTime>2016-07-05 00:18:56.0</lastUpdatedTime>
    <updatedBy>Service Now</updatedBy>
    <remarks/>
    </directiveFile>
    

    Sample JSON Output

    “directiveFile”: 
    {
     ”fileName”:”DirectiveFile.rc”,
     ”fileVersion”:”2.2”,
     ”lastUpdatedTime”:”2016-07-05 00:18:56.0”,
     ”updatedBy:”Service Now”,
     “remarks”:" ”
    }
    

    Modified: 2017-01-20