Fetch specific Evaluation Instance.

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

Fetch specific Evaluation Instance.

Path parameters

  • BundleSid string Required

    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}$.

  • Sid string Required

    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}$.

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
    • 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
GET /v2/RegulatoryCompliance/Bundles/{BundleSid}/Evaluations/{Sid}
curl \
 --request GET 'https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/{BundleSid}/Evaluations/{Sid}' \
 --user "username:password"
Response examples (200)
{
  "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"
}