REST APIs
...
Portal Configurations
View a profile portal configuration
code examples curl location globoff 'https //api detected app/api/v2/public/profiles/{uuid}/portal configuration' \\ \ header 'accept application/json' \\ \ header 'content type application/json'var myheaders = new headers(); myheaders append("accept", "application/json"); myheaders append("content type", "application/json"); var requestoptions = { method 'get', headers myheaders, redirect 'follow' }; fetch("https //api detected app/api/v2/public/profiles/{uuid}/portal configuration", requestoptions) then(response => response text()) then(result => console log(result)) catch(error => console log('error', error));require "uri" require "json" require "net/http" url = uri("https //api detected app/api/v2/public/profiles/{uuid}/portal configuration") https = net http new(url host, url port) https use ssl = true request = net http get new(url) request\["accept"] = "application/json" request\["content type"] = "application/json" response = https request(request) puts response read body import requests import json url = "https //api detected app/api/v2/public/profiles/{uuid}/portal configuration" payload = {} headers = { 'accept' 'application/json', 'content type' 'application/json' } response = requests request("get", url, headers=headers, data=payload) print(response text) responses // ok { "data" { "declaratory" { "enabled" false, "text" "declaratory text" }, "document" { "enabled" false, "documents" \[ { "uuid" "f20544c0 2387 4bbd 9f3f 2b55a3c09834", "name" "", "description" "", "required" false, "example document" \[ { "options" \[ "b2b" ], "document" "https //example com/documents/j6hqt3gzfiqbul8pebjwkjkj7y7i8ncdjfqbhus0 png" } ] } ] }, "advanced documents" { "enabled" false, "config ids" \[ 12 ] }, "identity" { "enabled" false }, "director" { "enabled" false, "enable director country of birth" false, "people model" { "id" 1 }, "max number" 1, "auto screening" false, "director company" { "max number" 1, "people model" { "id" 1 } } }, "submitter" { "enabled" false, "people model" { "id" 1 }, "auto screening" false }, "ownership" { "enabled" false, "enable ownership percentage" false, "enable owner country of birth" false, "ownership percentage" "25", "max number" 1, "people model" { "id" 1 }, "auto screening" false }, "company principals" { "enabled" false, "people model" { "id" 1 }, "auto screening" false, "max number" 1 }, "authorised representative" { "enabled" false, "people model" { "id" 1 }, "auto screening" false, "max number" 1 }, "authorised signatory" { "enabled" false, "people model" { "id" 1 }, "auto screening" false, "max number" 1 }, "treasurer" { "enabled" false, "people model" { "id" 1 }, "auto screening" false, "max number" 1 }, "secretary" { "enabled" false, "people model" { "id" 1 }, "auto screening" false, "max number" 1 }, "syndicator" { "enabled" false, "people model" { "id" 1 }, "auto screening" false, "max number" 1 }, "member" { "enabled" false, "people model" { "id" 1 }, "auto screening" false, "max number" 1 }, "agent" { "enabled" false, "people model" { "id" 1 }, "auto screening" false, "max number" 1 }, "designated member" { "enabled" false, "people model" { "id" 1 }, "auto screening" false, "max number" 1 }, "club manager" { "enabled" false, "people model" { "id" 1 }, "auto screening" false, "max number" 1 }, "trustee" { "enabled" false, "people model" { "id" 1 }, "max number" 1, "auto screening" false, "trustee company" { "max number" 1, "people model" { "id" 1 } } }, "partner" { "enabled" false, "people model" { "id" 1 }, "max number" 1, "auto screening" false, "partner company" { "max number" 1, "people model" { "id" 1 } } }, "syndicate manager" { "enabled" false, "people model" { "id" 1 }, "auto screening" false, "max number" 1 }, "individual" { "enabled" false, "people model" { "id" 1 }, "auto screening" false, "max number" 1 }, "lead partner" { "enabled" false, "people model" { "id" 1 }, "auto screening" false, "max number" 1 }, "additional locations" { "enabled" false }, "entities" { "enabled" false }, "forms" { "enabled" false, "form ids" \[ 1 ] } } }// unauthorized { "message" "unauthorized " }// not found { "message" "not found" }// too many requests { "message" "too many attempts " }