Example JSON Request & Response - POST TestProfile

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

Body:

    {

      "profileName": "Demo",

      "published": true,

      "warningIntervals": "30,15,5",

      "deleted": false,

      "windowPosition": "Central",

      "headerFooterColours": {

        "ColourBackground": "#3D505A",

        "ColourText": "#FFFFFF"

      },

      "finishButtonColours": {

        "ColourBackground": "#F7D78C",

        "ColourText": "#3D505A"

      },

      "primaryButtonColours": {

        "ColourBackground": "#2B9ED8",

        "ColourText": "#FFFFFF"

      },

      "secondaryButtonColours": {

        "ColourBackground": "#3D505A",

        "ColourText": "#FFFFFF"

      },

      "candidateDetails": {

        "All": false,

        "candidateFirstNameEnable": true,

        "candidateLastNameEnable": true,

        "candidateDateOfBirthEnable": false,

        "candidateGenderEnable": false,

        "candidateReferenceEnable": false

      },

      "clientLogo": {

        "color": null,

        "monochrome": null

      },

      "providerLogo": {

        "color": {

          "imageId": 1,

          "imageURL": "https://.surpass.com/files/tempFiles/10282019/testProfiles/images/1.png",

          "imageName": "ProviderLogoColour.png",

          "tempImagePath": null

        },

        "monochrome": {

          "imageId": 2,

          "imageURL": "https://.surpass.com/files/tempFiles/10282019/testProfiles/images/2.png",

          "imageName": "ProviderLogoMonochrome.png",

          "tempImagePath": null

        }

      },

      "scoreReportTemplate": {

        "id": 9,

        "fileUrl": "https://.surpass.com/files/tempFiles/10282019/testProfiles/scoreReports/9.html",

        "fileName": "ScoreReport_9.html",

        "tempFilePath": null

      },

      "contentManifestFile": null,

      "deliveryPresentation": {

        "finishButtonShown": true,

        "sectionReviewButtonShown": true,

        "flagButtonShown": true,

        "preferencesButtonShown": true,

        "questionTitleDisplayMode": "Name",

        "SectionInformationShown": true,

        "ItemSetNumberingEnabled": true,

        "ItemSetHeaderShown": false,

        "TextForItemSetName": "",

        "TextForItemName": ""

      },

      "candidateReview": {

        "correctItemsEnable": true,

        "incorrectItemsEnable": true,

        "unattemptedItemsEnable": true,

        "candidateResponseEnable": true,

        "correctAnswersEnable": true,

        "candidateFeedbackEnable": true

      },

      "id": 79,

      "href": "https://.surpass.com/api/v2/TestProfile/79"

    }

  ],

  "errors": null,

  "serverTimeZone": "GMT Standard Time"

}

Feedback and Knowledge Base