PUT api/v1/candidates/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

ProfileRequestBindingModel
NameDescriptionTypeAdditional information
Suffix

string

None.

FirstName

string

None.

MiddleName

string

None.

LastName

string

None.

EmailAddress

string

None.

NewEmailAddress

string

None.

AddressLine1

string

None.

AddressLine2

string

None.

AddressLine3

string

None.

AddressLine4

string

None.

City

string

None.

StateProvince

string

None.

PostalCode

string

None.

Country

string

None.

PrimaryPhoneNumber

string

None.

PrimaryPhoneExtension

string

None.

SecondaryPhoneNumber

string

None.

SecondaryPhoneExtension

string

None.

FaxNumber

string

None.

BirthDate

date

None.

Values

Collection of ProfileValue

None.

Id

string

None.

PrometricId

string

None.

ClientCode

string

None.

ProgramCode

string

None.

ExamCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Suffix": "sample string 1",
  "FirstName": "sample string 2",
  "MiddleName": "sample string 3",
  "LastName": "sample string 4",
  "EmailAddress": "sample string 5",
  "NewEmailAddress": "sample string 6",
  "AddressLine1": "sample string 7",
  "AddressLine2": "sample string 8",
  "AddressLine3": "sample string 9",
  "AddressLine4": "sample string 10",
  "City": "sample string 11",
  "StateProvince": "sample string 12",
  "PostalCode": "sample string 13",
  "Country": "sample string 14",
  "PrimaryPhoneNumber": "sample string 15",
  "PrimaryPhoneExtension": "sample string 16",
  "SecondaryPhoneNumber": "sample string 17",
  "SecondaryPhoneExtension": "sample string 18",
  "FaxNumber": "sample string 19",
  "BirthDate": "2024-11-21T05:21:38.1097375-05:00",
  "Values": [
    {
      "DatabaseId": 1,
      "ProfileId": 2,
      "DemographicTemplateDetailName": "sample string 3",
      "ParentProfileValueId": 1,
      "DataType": "sample string 4",
      "Name": "sample string 5",
      "DisplayText": "sample string 6",
      "IsRequired": true,
      "MaxLength": 1,
      "ValidRegEx": "sample string 8",
      "ValidationMask": "sample string 9",
      "Ordinal": 10,
      "Value": "sample string 11",
      "Options": [
        {
          "Name": "sample string 1",
          "Value": "sample string 2",
          "Ordinal": 3
        },
        {
          "Name": "sample string 1",
          "Value": "sample string 2",
          "Ordinal": 3
        }
      ],
      "IsVisible": true,
      "IsEditable": true,
      "ValidatorConfigurations": [
        {
          "DemographicId": 1,
          "Name": "sample string 2",
          "FullyQualifiedName": "sample string 3",
          "Ordinal": 4
        },
        {
          "DemographicId": 1,
          "Name": "sample string 2",
          "FullyQualifiedName": "sample string 3",
          "Ordinal": 4
        }
      ],
      "Id": 14,
      "IsDeleted": true,
      "SavedByUser": "sample string 16",
      "SavedDateTime": "2024-11-21T05:21:38.1097375-05:00"
    },
    {
      "DatabaseId": 1,
      "ProfileId": 2,
      "DemographicTemplateDetailName": "sample string 3",
      "ParentProfileValueId": 1,
      "DataType": "sample string 4",
      "Name": "sample string 5",
      "DisplayText": "sample string 6",
      "IsRequired": true,
      "MaxLength": 1,
      "ValidRegEx": "sample string 8",
      "ValidationMask": "sample string 9",
      "Ordinal": 10,
      "Value": "sample string 11",
      "Options": [
        {
          "Name": "sample string 1",
          "Value": "sample string 2",
          "Ordinal": 3
        },
        {
          "Name": "sample string 1",
          "Value": "sample string 2",
          "Ordinal": 3
        }
      ],
      "IsVisible": true,
      "IsEditable": true,
      "ValidatorConfigurations": [
        {
          "DemographicId": 1,
          "Name": "sample string 2",
          "FullyQualifiedName": "sample string 3",
          "Ordinal": 4
        },
        {
          "DemographicId": 1,
          "Name": "sample string 2",
          "FullyQualifiedName": "sample string 3",
          "Ordinal": 4
        }
      ],
      "Id": 14,
      "IsDeleted": true,
      "SavedByUser": "sample string 16",
      "SavedDateTime": "2024-11-21T05:21:38.1097375-05:00"
    }
  ],
  "Id": "sample string 20",
  "PrometricId": "sample string 21",
  "ClientCode": "sample string 22",
  "ProgramCode": "sample string 23",
  "ExamCode": "sample string 24"
}

application/xml, text/xml

Sample:
<ProfileRequestBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Prometric.Registration.Api.Models">
  <AddressLine1>sample string 7</AddressLine1>
  <AddressLine2>sample string 8</AddressLine2>
  <AddressLine3>sample string 9</AddressLine3>
  <AddressLine4>sample string 10</AddressLine4>
  <BirthDate>2024-11-21T05:21:38.1097375-05:00</BirthDate>
  <City>sample string 11</City>
  <ClientCode>sample string 22</ClientCode>
  <Country>sample string 14</Country>
  <EmailAddress>sample string 5</EmailAddress>
  <ExamCode>sample string 24</ExamCode>
  <FaxNumber>sample string 19</FaxNumber>
  <FirstName>sample string 2</FirstName>
  <Id>sample string 20</Id>
  <LastName>sample string 4</LastName>
  <MiddleName>sample string 3</MiddleName>
  <NewEmailAddress>sample string 6</NewEmailAddress>
  <PostalCode>sample string 13</PostalCode>
  <PrimaryPhoneExtension>sample string 16</PrimaryPhoneExtension>
  <PrimaryPhoneNumber>sample string 15</PrimaryPhoneNumber>
  <ProgramCode>sample string 23</ProgramCode>
  <PrometricId>sample string 21</PrometricId>
  <SecondaryPhoneExtension>sample string 18</SecondaryPhoneExtension>
  <SecondaryPhoneNumber>sample string 17</SecondaryPhoneNumber>
  <StateProvince>sample string 12</StateProvince>
  <Suffix>sample string 1</Suffix>
  <Values xmlns:d2p1="http://schemas.datacontract.org/2004/07/Prometric.Registration.Repository.Models">
    <d2p1:ProfileValue>
      <d2p1:Id>14</d2p1:Id>
      <d2p1:IsDeleted>true</d2p1:IsDeleted>
      <d2p1:SavedByUser>sample string 16</d2p1:SavedByUser>
      <d2p1:SavedDateTime xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:DateTime>2024-11-21T10:21:38.1097375Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>-300</d4p1:OffsetMinutes>
      </d2p1:SavedDateTime>
      <d2p1:DataType>sample string 4</d2p1:DataType>
      <d2p1:DatabaseId>1</d2p1:DatabaseId>
      <d2p1:DemographicTemplateDetailName>sample string 3</d2p1:DemographicTemplateDetailName>
      <d2p1:DisplayText>sample string 6</d2p1:DisplayText>
      <d2p1:IsEditable>true</d2p1:IsEditable>
      <d2p1:IsRequired>true</d2p1:IsRequired>
      <d2p1:IsVisible>true</d2p1:IsVisible>
      <d2p1:MaxLength>1</d2p1:MaxLength>
      <d2p1:Name>sample string 5</d2p1:Name>
      <d2p1:Options>
        <d2p1:ProfileValueOption>
          <d2p1:Name>sample string 1</d2p1:Name>
          <d2p1:Ordinal>3</d2p1:Ordinal>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:ProfileValueOption>
        <d2p1:ProfileValueOption>
          <d2p1:Name>sample string 1</d2p1:Name>
          <d2p1:Ordinal>3</d2p1:Ordinal>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:ProfileValueOption>
      </d2p1:Options>
      <d2p1:Ordinal>10</d2p1:Ordinal>
      <d2p1:ParentProfileValueId>1</d2p1:ParentProfileValueId>
      <d2p1:ProfileId>2</d2p1:ProfileId>
      <d2p1:ValidRegEx>sample string 8</d2p1:ValidRegEx>
      <d2p1:ValidationMask>sample string 9</d2p1:ValidationMask>
      <d2p1:ValidatorConfigurations>
        <d2p1:DemographicValidatorConfiguration>
          <d2p1:DemographicId>1</d2p1:DemographicId>
          <d2p1:FullyQualifiedName>sample string 3</d2p1:FullyQualifiedName>
          <d2p1:Name>sample string 2</d2p1:Name>
          <d2p1:Ordinal>4</d2p1:Ordinal>
        </d2p1:DemographicValidatorConfiguration>
        <d2p1:DemographicValidatorConfiguration>
          <d2p1:DemographicId>1</d2p1:DemographicId>
          <d2p1:FullyQualifiedName>sample string 3</d2p1:FullyQualifiedName>
          <d2p1:Name>sample string 2</d2p1:Name>
          <d2p1:Ordinal>4</d2p1:Ordinal>
        </d2p1:DemographicValidatorConfiguration>
      </d2p1:ValidatorConfigurations>
      <d2p1:Value>sample string 11</d2p1:Value>
    </d2p1:ProfileValue>
    <d2p1:ProfileValue>
      <d2p1:Id>14</d2p1:Id>
      <d2p1:IsDeleted>true</d2p1:IsDeleted>
      <d2p1:SavedByUser>sample string 16</d2p1:SavedByUser>
      <d2p1:SavedDateTime xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:DateTime>2024-11-21T10:21:38.1097375Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>-300</d4p1:OffsetMinutes>
      </d2p1:SavedDateTime>
      <d2p1:DataType>sample string 4</d2p1:DataType>
      <d2p1:DatabaseId>1</d2p1:DatabaseId>
      <d2p1:DemographicTemplateDetailName>sample string 3</d2p1:DemographicTemplateDetailName>
      <d2p1:DisplayText>sample string 6</d2p1:DisplayText>
      <d2p1:IsEditable>true</d2p1:IsEditable>
      <d2p1:IsRequired>true</d2p1:IsRequired>
      <d2p1:IsVisible>true</d2p1:IsVisible>
      <d2p1:MaxLength>1</d2p1:MaxLength>
      <d2p1:Name>sample string 5</d2p1:Name>
      <d2p1:Options>
        <d2p1:ProfileValueOption>
          <d2p1:Name>sample string 1</d2p1:Name>
          <d2p1:Ordinal>3</d2p1:Ordinal>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:ProfileValueOption>
        <d2p1:ProfileValueOption>
          <d2p1:Name>sample string 1</d2p1:Name>
          <d2p1:Ordinal>3</d2p1:Ordinal>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:ProfileValueOption>
      </d2p1:Options>
      <d2p1:Ordinal>10</d2p1:Ordinal>
      <d2p1:ParentProfileValueId>1</d2p1:ParentProfileValueId>
      <d2p1:ProfileId>2</d2p1:ProfileId>
      <d2p1:ValidRegEx>sample string 8</d2p1:ValidRegEx>
      <d2p1:ValidationMask>sample string 9</d2p1:ValidationMask>
      <d2p1:ValidatorConfigurations>
        <d2p1:DemographicValidatorConfiguration>
          <d2p1:DemographicId>1</d2p1:DemographicId>
          <d2p1:FullyQualifiedName>sample string 3</d2p1:FullyQualifiedName>
          <d2p1:Name>sample string 2</d2p1:Name>
          <d2p1:Ordinal>4</d2p1:Ordinal>
        </d2p1:DemographicValidatorConfiguration>
        <d2p1:DemographicValidatorConfiguration>
          <d2p1:DemographicId>1</d2p1:DemographicId>
          <d2p1:FullyQualifiedName>sample string 3</d2p1:FullyQualifiedName>
          <d2p1:Name>sample string 2</d2p1:Name>
          <d2p1:Ordinal>4</d2p1:Ordinal>
        </d2p1:DemographicValidatorConfiguration>
      </d2p1:ValidatorConfigurations>
      <d2p1:Value>sample string 11</d2p1:Value>
    </d2p1:ProfileValue>
  </Values>
</ProfileRequestBindingModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ProfileRequestBindingModel'.

Response Information

Resource Description

ProfileBindingModel
NameDescriptionTypeAdditional information
Id

string

None.

Href

string

None.

Suffix

string

None.

FirstName

string

None.

MiddleName

string

None.

LastName

string

None.

EmailAddress

string

None.

AddressLine1

string

None.

AddressLine2

string

None.

AddressLine3

string

None.

AddressLine4

string

None.

City

string

None.

StateProvince

string

None.

PostalCode

string

None.

Country

string

None.

PrimaryPhoneNumber

string

None.

PrimaryPhoneExtension

string

None.

SecondaryPhoneNumber

string

None.

SecondaryPhoneExtension

string

None.

FaxNumber

string

None.

Username

string

None.

SubscribeToEmails

boolean

None.

BirthDate

date

None.

PrometricId

string

None.

Values

Collection of ProfileCustomValue

None.

RequiresValidation

boolean

None.

ClientCode

string

None.

ProgramCode

string

None.

ExamCode

string

None.

CreateLogin

string

None.

NewEmailAddress

string

None.

UniqueId

ProfileUniqueId

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Href": "sample string 2",
  "Suffix": "sample string 3",
  "FirstName": "sample string 4",
  "MiddleName": "sample string 5",
  "LastName": "sample string 6",
  "EmailAddress": "sample string 7",
  "AddressLine1": "sample string 8",
  "AddressLine2": "sample string 9",
  "AddressLine3": "sample string 10",
  "AddressLine4": "sample string 11",
  "City": "sample string 12",
  "StateProvince": "sample string 13",
  "PostalCode": "sample string 14",
  "Country": "sample string 15",
  "PrimaryPhoneNumber": "sample string 16",
  "PrimaryPhoneExtension": "sample string 17",
  "SecondaryPhoneNumber": "sample string 18",
  "SecondaryPhoneExtension": "sample string 19",
  "FaxNumber": "sample string 20",
  "Username": "sample string 21",
  "SubscribeToEmails": true,
  "BirthDate": "2024-11-21T05:21:38.1410188-05:00",
  "PrometricId": "sample string 23",
  "Values": [
    {
      "Name": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "Name": "sample string 1",
      "Value": "sample string 2"
    }
  ],
  "RequiresValidation": true,
  "ClientCode": "sample string 25",
  "ProgramCode": "sample string 26",
  "ExamCode": "sample string 27",
  "CreateLogin": "sample string 28",
  "NewEmailAddress": "sample string 29",
  "UniqueId": {
    "ProfileId": 1,
    "DemographicTemplateDetailName": "sample string 2",
    "UniqueId": "sample string 3",
    "DemographicTemplateDetail": {
      "DemographicId": 1,
      "IsRequired": true,
      "IsEditable": true,
      "IsVisible": true,
      "IsUnique": true,
      "IsCustom": true,
      "MaxLength": 1,
      "ValidRegEx": "sample string 7",
      "ValidationMask": "sample string 8",
      "DemographicDataTypeName": "sample string 9",
      "Ordinal": 10,
      "DisplayGroup": "sample string 11",
      "Name": "sample string 12",
      "DisplayName": {
        "DemographicId": 1,
        "Locale": "sample string 2",
        "DisplayText": "sample string 3"
      },
      "Options": [
        {
          "DemographicId": 1,
          "Value": "sample string 2",
          "Name": "sample string 3",
          "Ordinal": 4
        },
        {
          "DemographicId": 1,
          "Value": "sample string 2",
          "Name": "sample string 3",
          "Ordinal": 4
        }
      ],
      "ValidatorConfigurations": [
        {
          "DemographicId": 1,
          "Name": "sample string 2",
          "FullyQualifiedName": "sample string 3",
          "Ordinal": 4
        },
        {
          "DemographicId": 1,
          "Name": "sample string 2",
          "FullyQualifiedName": "sample string 3",
          "Ordinal": 4
        }
      ]
    },
    "Id": 4,
    "IsDeleted": true,
    "SavedByUser": "sample string 6",
    "SavedDateTime": "2024-11-21T05:21:38.1410188-05:00"
  }
}

application/xml, text/xml

Sample:
<ProfileBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Prometric.Registration.Api.Models">
  <AddressLine1>sample string 8</AddressLine1>
  <AddressLine2>sample string 9</AddressLine2>
  <AddressLine3>sample string 10</AddressLine3>
  <AddressLine4>sample string 11</AddressLine4>
  <BirthDate>2024-11-21T05:21:38.1410188-05:00</BirthDate>
  <City>sample string 12</City>
  <ClientCode>sample string 25</ClientCode>
  <Country>sample string 15</Country>
  <CreateLogin>sample string 28</CreateLogin>
  <EmailAddress>sample string 7</EmailAddress>
  <ExamCode>sample string 27</ExamCode>
  <FaxNumber>sample string 20</FaxNumber>
  <FirstName>sample string 4</FirstName>
  <Href>sample string 2</Href>
  <Id>sample string 1</Id>
  <LastName>sample string 6</LastName>
  <MiddleName>sample string 5</MiddleName>
  <NewEmailAddress>sample string 29</NewEmailAddress>
  <PostalCode>sample string 14</PostalCode>
  <PrimaryPhoneExtension>sample string 17</PrimaryPhoneExtension>
  <PrimaryPhoneNumber>sample string 16</PrimaryPhoneNumber>
  <ProgramCode>sample string 26</ProgramCode>
  <PrometricId>sample string 23</PrometricId>
  <RequiresValidation>true</RequiresValidation>
  <SecondaryPhoneExtension>sample string 19</SecondaryPhoneExtension>
  <SecondaryPhoneNumber>sample string 18</SecondaryPhoneNumber>
  <StateProvince>sample string 13</StateProvince>
  <SubscribeToEmails>true</SubscribeToEmails>
  <Suffix>sample string 3</Suffix>
  <UniqueId xmlns:d2p1="http://schemas.datacontract.org/2004/07/Prometric.Registration.Repository.Models">
    <d2p1:Id>4</d2p1:Id>
    <d2p1:IsDeleted>true</d2p1:IsDeleted>
    <d2p1:SavedByUser>sample string 6</d2p1:SavedByUser>
    <d2p1:SavedDateTime xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2024-11-21T10:21:38.1410188Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>-300</d3p1:OffsetMinutes>
    </d2p1:SavedDateTime>
    <d2p1:DemographicTemplateDetail>
      <d2p1:DemographicDataTypeName>sample string 9</d2p1:DemographicDataTypeName>
      <d2p1:DemographicId>1</d2p1:DemographicId>
      <d2p1:DisplayGroup>sample string 11</d2p1:DisplayGroup>
      <d2p1:DisplayName>
        <d2p1:DemographicId>1</d2p1:DemographicId>
        <d2p1:DisplayText>sample string 3</d2p1:DisplayText>
        <d2p1:Locale>sample string 2</d2p1:Locale>
      </d2p1:DisplayName>
      <d2p1:IsCustom>true</d2p1:IsCustom>
      <d2p1:IsEditable>true</d2p1:IsEditable>
      <d2p1:IsRequired>true</d2p1:IsRequired>
      <d2p1:IsUnique>true</d2p1:IsUnique>
      <d2p1:IsVisible>true</d2p1:IsVisible>
      <d2p1:MaxLength>1</d2p1:MaxLength>
      <d2p1:Name>sample string 12</d2p1:Name>
      <d2p1:Options>
        <d2p1:DemographicOption>
          <d2p1:DemographicId>1</d2p1:DemographicId>
          <d2p1:Name>sample string 3</d2p1:Name>
          <d2p1:Ordinal>4</d2p1:Ordinal>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:DemographicOption>
        <d2p1:DemographicOption>
          <d2p1:DemographicId>1</d2p1:DemographicId>
          <d2p1:Name>sample string 3</d2p1:Name>
          <d2p1:Ordinal>4</d2p1:Ordinal>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:DemographicOption>
      </d2p1:Options>
      <d2p1:Ordinal>10</d2p1:Ordinal>
      <d2p1:ValidRegEx>sample string 7</d2p1:ValidRegEx>
      <d2p1:ValidationMask>sample string 8</d2p1:ValidationMask>
      <d2p1:ValidatorConfigurations>
        <d2p1:DemographicValidatorConfiguration>
          <d2p1:DemographicId>1</d2p1:DemographicId>
          <d2p1:FullyQualifiedName>sample string 3</d2p1:FullyQualifiedName>
          <d2p1:Name>sample string 2</d2p1:Name>
          <d2p1:Ordinal>4</d2p1:Ordinal>
        </d2p1:DemographicValidatorConfiguration>
        <d2p1:DemographicValidatorConfiguration>
          <d2p1:DemographicId>1</d2p1:DemographicId>
          <d2p1:FullyQualifiedName>sample string 3</d2p1:FullyQualifiedName>
          <d2p1:Name>sample string 2</d2p1:Name>
          <d2p1:Ordinal>4</d2p1:Ordinal>
        </d2p1:DemographicValidatorConfiguration>
      </d2p1:ValidatorConfigurations>
    </d2p1:DemographicTemplateDetail>
    <d2p1:DemographicTemplateDetailName>sample string 2</d2p1:DemographicTemplateDetailName>
    <d2p1:ProfileId>1</d2p1:ProfileId>
    <d2p1:UniqueId>sample string 3</d2p1:UniqueId>
  </UniqueId>
  <Username>sample string 21</Username>
  <Values xmlns:d2p1="http://schemas.datacontract.org/2004/07/Prometric.Registration.Repository.Models">
    <d2p1:ProfileCustomValue>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:ProfileCustomValue>
    <d2p1:ProfileCustomValue>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:ProfileCustomValue>
  </Values>
</ProfileBindingModel>