Retrieve a list of Evaluations associated to the Bundle resource.

GET /v2/RegulatoryCompliance/Bundles/{BundleSid}/Evaluations

Retrieve a list of Evaluations associated to the Bundle resource.

Path parameters

  • BundleSid string Required

    The unique string that identifies the Bundle resource.

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^BU[0-9a-fA-F]{32}$.

Query parameters

  • PageSize integer(int64)

    How many resources to return in each list page. The default is 50, and the maximum is 1000.

    Minimum value is 1, maximum value is 1000.

  • Page integer

    The page index. This value is simply for client state.

    Minimum value is 0.

  • PageToken string

    The page token. This is provided by the API.

Responses

  • 200 application/json

    OK

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

    Hide response attributes Show response attributes object
    • results array[object]
      Hide results attributes Show results attributes object
      • sid string | null

        The unique string that identifies the Evaluation resource.

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^EL[0-9a-fA-F]{32}$.

      • account_sid string | null

        The SID of the Account that created the Bundle resource.

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

      • regulation_sid string | null

        The unique string of a regulation that is associated to the Bundle resource.

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^RN[0-9a-fA-F]{32}$.

      • bundle_sid string | null

        The unique string that we created to identify the Bundle resource.

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^BU[0-9a-fA-F]{32}$.

      • status string

        The compliance status of the Evaluation resource.

        Values are compliant or noncompliant.

      • results array | null

        The results of the Evaluation which includes the valid and invalid attributes.

      • date_created string(date-time) | null
      • url string(uri) | null
    • meta object
      Hide meta attributes Show meta attributes object
      • first_page_url string(uri)
      • key string
      • next_page_url string(uri) | null
      • page integer
      • page_size integer
      • previous_page_url string(uri) | null
      • url string(uri)
GET /v2/RegulatoryCompliance/Bundles/{BundleSid}/Evaluations
curl \
 --request GET 'https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/{BundleSid}/Evaluations' \
 --user "username:password"
Response examples (200)
{
  "meta": {
    "key": "results",
    "url": "https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Evaluations?PageSize=50&Page=0",
    "page": 0,
    "page_size": 50,
    "next_page_url": null,
    "first_page_url": "https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Evaluations?PageSize=50&Page=0",
    "previous_page_url": null
  },
  "results": []
}
{
  "meta": {
    "key": "results",
    "url": "https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Evaluations?PageSize=50&Page=0",
    "page": 0,
    "page_size": 50,
    "next_page_url": null,
    "first_page_url": "https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Evaluations?PageSize=50&Page=0",
    "previous_page_url": null
  },
  "results": [
    {
      "sid": "ELaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "url": "https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Evaluations/ELaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "status": "noncompliant",
      "results": [
        {
          "valid": [],
          "passed": false,
          "invalid": [
            {
              "error_code": 22215,
              "object_field": "business_name",
              "friendly_name": "Business Name",
              "failure_reason": "The Business Name is missing. Please enter in a Business Name on the Business information."
            },
            {
              "error_code": 22215,
              "object_field": "business_registration_number",
              "friendly_name": "Business Registration Number",
              "failure_reason": "The Business Registration Number is missing. Please enter in a Business Registration Number on the Business information."
            },
            {
              "error_code": 22215,
              "object_field": "first_name",
              "friendly_name": "First Name",
              "failure_reason": "The First Name is missing. Please enter in a First Name on the Business information."
            },
            {
              "error_code": 22215,
              "object_field": "last_name",
              "friendly_name": "Last Name",
              "failure_reason": "The Last Name is missing. Please enter in a Last Name on the Business information."
            }
          ],
          "error_code": 22214,
          "object_type": "business",
          "friendly_name": "Business",
          "failure_reason": "A Business End-User is missing. Please add one to the regulatory bundle.",
          "requirement_name": "business_info",
          "requirement_friendly_name": "Business"
        },
        {
          "valid": [],
          "passed": false,
          "invalid": [
            {
              "error_code": 22217,
              "object_field": "business_name",
              "friendly_name": "Business Name",
              "failure_reason": "The Business Name is missing. Or, it does not match the Business Name you entered within Business information. Please enter in the Business Name shown on the Excerpt from the commercial register (Extrait K-bis) showing name of Authorized Representative or make sure both Business Name fields use the same exact inputs."
            }
          ],
          "error_code": 22216,
          "object_type": "commercial_registrar_excerpt",
          "friendly_name": "Excerpt from the commercial register (Extrait K-bis) showing name of Authorized Representative",
          "failure_reason": "An Excerpt from the commercial register (Extrait K-bis) showing name of Authorized Representative is missing. Please add one to the regulatory bundle.",
          "requirement_name": "business_name_info",
          "requirement_friendly_name": "Business Name"
        },
        {
          "valid": [],
          "passed": false,
          "invalid": [
            {
              "error_code": 22219,
              "object_field": "address_sids",
              "friendly_name": "Address sid(s)",
              "failure_reason": "The Address is missing. Please enter in the address shown on the Excerpt from the commercial register showing French address."
            }
          ],
          "error_code": 22216,
          "object_type": "commercial_registrar_excerpt",
          "friendly_name": "Excerpt from the commercial register showing French address",
          "failure_reason": "An Excerpt from the commercial register showing French address is missing. Please add one to the regulatory bundle.",
          "requirement_name": "business_address_proof_info",
          "requirement_friendly_name": "Business Address (Proof of Address)"
        },
        {
          "valid": [],
          "passed": false,
          "invalid": [
            {
              "error_code": 22217,
              "object_field": "document_number",
              "friendly_name": "Document Number",
              "failure_reason": "The Document Number is missing. Please enter in the Document Number shown on the Excerpt from the commercial register (Extrait K-bis)."
            }
          ],
          "error_code": 22216,
          "object_type": "commercial_registrar_excerpt",
          "friendly_name": "Excerpt from the commercial register (Extrait K-bis)",
          "failure_reason": "An Excerpt from the commercial register (Extrait K-bis) is missing. Please add one to the regulatory bundle.",
          "requirement_name": "business_reg_no_info",
          "requirement_friendly_name": "Business Registration Number"
        },
        {
          "valid": [],
          "passed": false,
          "invalid": [
            {
              "error_code": 22217,
              "object_field": "first_name",
              "friendly_name": "First Name",
              "failure_reason": "The First Name is missing. Or, it does not match the First Name you entered within Business information. Please enter in the First Name shown on the Government-issued ID or make sure both First Name fields use the same exact inputs."
            },
            {
              "error_code": 22217,
              "object_field": "last_name",
              "friendly_name": "Last Name",
              "failure_reason": "The Last Name is missing. Or, it does not match the Last Name you entered within Business information. Please enter in the Last Name shown on the Government-issued ID or make sure both Last Name fields use the same exact inputs."
            }
          ],
          "error_code": 22216,
          "object_type": "government_issued_document",
          "friendly_name": "Government-issued ID",
          "failure_reason": "A Government-issued ID is missing. Please add one to the regulatory bundle.",
          "requirement_name": "name_of_auth_rep_info",
          "requirement_friendly_name": "Name of Authorized Representative"
        },
        {
          "valid": [],
          "passed": false,
          "invalid": [],
          "error_code": 22216,
          "object_type": "power_of_attorney",
          "friendly_name": "Executed Copy of Power of Attorney",
          "failure_reason": "An Executed Copy of Power of Attorney is missing. Please add one to the regulatory bundle.",
          "requirement_name": "power_of_attorney_info",
          "requirement_friendly_name": "Power of Attorney"
        },
        {
          "valid": [],
          "passed": false,
          "invalid": [
            {
              "error_code": 22217,
              "object_field": "first_name",
              "friendly_name": "First Name",
              "failure_reason": "The First Name is missing on the Governnment-Issued ID."
            },
            {
              "error_code": 22217,
              "object_field": "last_name",
              "friendly_name": "Last Name",
              "failure_reason": "The Last Name is missing on the Government-issued ID"
            }
          ],
          "error_code": 22216,
          "object_type": "government_issued_document",
          "friendly_name": "Government-issued ID",
          "failure_reason": "A Government-issued ID is missing. Please add one to the regulatory bundle.",
          "requirement_name": "name_in_power_of_attorney_info",
          "requirement_friendly_name": "Name of Person granted the Power of Attorney"
        }
      ],
      "bundle_sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "date_created": "2020-04-28T18:14:01Z",
      "regulation_sid": "RNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
    }
  ]
}