Example JSON Request & Response - POST TestProfile

https://...surpass.com/api/v2/TestProfile/

Header:

Content-length: 3839
Content-type: application/json
Accept: application/json
Authorization: Basic Q1RMRGVtbzpQYXNzd29yZa==

Body:

{

  "profileName": "JL Test Style Profile",

  "published": false,

  "providerLogocolor": {

    "name": "228",

    "image": "QEBA"

  },

  "providerLogoMono": {

    "name": "229",

    "image": "QEBA"

  },

  "clientLogocolor": {

    "name": "230",

    "image": "QEBA"

  },

  "clientLogoMono": {

    "name": "231",

    "image": "QEBA"

  },

  "header/footerColours": {

    "ColourBackground": "#3D505A",

    "ColourText": "#FFFFFF"

  },

  "finishButtonColours": {

    "ColourBackground": "#F7D78C",

    "ColourText": "#FFFFFF"

  },

  "primaryButtonColours": {

    "ColourBackground": "#3D505A",

    "ColourText": "#FFFFFF"

  },

  "secondaryButtonColours": {

    "ColourBackground": "#3D505A",

    "ColourText": "#FFFFFF"

  },

  "candidateDetails": {

    "All": true,

    "candidateFirstNameEnable": true,

    "candidateLastNameEnable": true,

    "candidateDateOfBirthEnable": true,

    "candidateGenderEnable": true,

    "candidateReferenceEnable": true

  },

  "scoreReportTemplate": {

    "name": ScoreReportTemplateAPI.html,

    "scoreReportHtml": “<html><head></head< <body> <b>A Template</b> </body></html>”

  }

}

Response:

{

  "id": 6543,

  "href": "https://...surpass.com/api/v2/TestProfile/6543",

  "errors": null

}

n

Feedback and Knowledge Base