Sinch Node.js SDK - v1.5.0
    Preparing search index...

    Interface ExportCallRecordsRequestData

    interface ExportCallRecordsRequestData {
        callResult?: string;
        createTime?: string | Date;
        createTimeRange?: ElasticSipTrunking.DateRangeFilter;
        direction?: string;
        emergencyOnly?: string;
        fileName?: string;
        from?: string;
        fromCountryCode?: string;
        groupId?: string;
        hasChildren?: string;
        page?: number;
        parentId?: string;
        projectIds?: string;
        region?: string;
        relationshipType?: string;
        size?: number;
        to?: string;
        toCountryCode?: string;
        trunkId?: string;
    }
    Index

    Properties

    callResult?: string

    only include calls by on the callResult(s), example callResult=COMPLETED will return all calls which have completed normally.

    createTime?: string | Date

    Filter calls based on createTime. You make the query more precise, fewer results will be returned. For example, 2021-02-01 will return all calls from the first of February 2021, and 2021-02-01T14:00:00Z will return all calls after 14:00 on the first of February. This field also supports <= and >= to search for calls in a range ?createTime>=2021-10-01&createTime<=2021-10-30 to get a list if calls for october 2021 It is also possible to submit partial dates for example createTime=2021-02 will return all calls for February Defaults to 24 hours

    Filter calls based on createTime. It will filter the calls on a range of dates.

    direction?: string

    only include calls by on the direction(s), example direction=INBOUND,OUTBOUND will return all calls that are inbound or outbound.

    emergencyOnly?: string

    Set this if you want to filter on emergency calls or not.

    fileName?: string
    from?: string

    A phone number that you want to use to filter results. You can pass a partial number to get all calls sent to numbers that start with the number you passed.

    fromCountryCode?: string

    Set this if you want to filter on the country of the caller phone number.

    groupId?: string

    Set this if you want to filter calls based on the group ID.

    hasChildren?: string

    Set this if you want to filter on calls with children or not.

    page?: number

    The page you want to fetch, can set to 1 for first page, or omitted for first page

    parentId?: string

    Set this if you want to filter calls based on the call's parent ID.

    projectIds?: string

    Set this if you want to include calls from other projects.

    region?: string

    Set this is you want to filter calls based on the region.

    relationshipType?: string

    The type of relationship the call has, for example, an initial call or a child call.

    size?: number

    The size of each page to fetch

    to?: string

    Only include calls made to this number or address. You can pass a partial number to get all calls sent to numbers that start with the number you passed.

    toCountryCode?: string

    Set this if you want to filter on the country of the callee phone number.

    trunkId?: string

    Only include calls made from this trunk.