Twilio service: Structured content functions

The ilao-structured-content service contains all the calls to our API to deliver structured content over SMS.

Note

Our API relies heavily on the uuid (unique identiifer of each node and paragraphs block). Because of the way we nested paragraph entities within structured content, there are a lot of nested uuid’s and entities within each node.

Get Solution List for Problem

Requires a legal problem UUID

Returns an array of solutions. Each solution object includes:

  • id (the UUID of the solution)

  • title of the solution

  • description of the solution

[
{"id":"b2349f43-cac0-4653-8f01-1d36b266362c",
"title":"Catch up on rent",
"description":"One way to avoid an eviction is to catch up on your rent."},
{"id":"e2575a13-3da5-4e3f-90c3-bf158dbb1279",
"title":"Negotiate a settlement",
"description":"To avoid being evicted, you can try to negotiate a settlement with your landlord."},
{"id":"c1b23431-953e-43ab-b0e4-dfd84453a456",
"title":"Challenge the eviction notice","description":"You can challenge the service of the notice."},
{"id":"158672a4-02be-4e63-8872-f370ff78cbc7",
"title":"Challenge the eviction notice",
"description":"You can challenge the service of the notice."},
{"id":"62113f64-39e8-4849-ab7a-925a4bbf57fc",
"title":"Challenge the eviction notice ",
"description":"You can challenge the service of the notice."},
{"id":"ea941419-5cea-44a2-83ab-66fc1ec3aca1",
"title":"Ask the judge to dismiss because the summons wasn't served properly",
"description":"If you were never properly served the summons, you can ask the judge to dismiss the case."},
{"id":"658128a7-65cd-444c-8096-8f0dd266f5e4",
"title":"Participate in the eviction case",
"description":"Guides you through the options and steps to participate in the case when you are being evicted"},
{"id":"d6f2f0c9-34f1-4ef7-bbac-4cfa18b057a0",
"title":"Do nothing",
"description":"You can choose to ignore the eviction process. This will not stop the eviciton."}
]