POST api/Certificate/UploadCertificate

Request Information

URI Parameters

None.

Body Parameters

CertificateModel
NameDescriptionTypeAdditional information
FileName

string

None.

WorkshopId

string

None.

Base64FileContent

string

None.

WorkshopName

string

None.

ParticipantId

string

None.

ParticipantEmail

string

None.

RegisterationId

string

None.

RegisterationNumber

string

None.

spCertificateLocation

string

None.

isSPCertificate

boolean

None.

IsWorkshopSeries

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "FileName": "sample string 1",
  "WorkshopId": "sample string 2",
  "Base64FileContent": "sample string 3",
  "WorkshopName": "sample string 4",
  "ParticipantId": "sample string 5",
  "ParticipantEmail": "sample string 6",
  "RegisterationId": "sample string 7",
  "RegisterationNumber": "sample string 8",
  "spCertificateLocation": "sample string 9",
  "isSPCertificate": true,
  "IsWorkshopSeries": true
}

application/xml, text/xml

Sample:
<CertificateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDFSharePointAPIs.Models">
  <Base64FileContent>sample string 3</Base64FileContent>
  <FileName>sample string 1</FileName>
  <IsWorkshopSeries>true</IsWorkshopSeries>
  <ParticipantEmail>sample string 6</ParticipantEmail>
  <ParticipantId>sample string 5</ParticipantId>
  <RegisterationId>sample string 7</RegisterationId>
  <RegisterationNumber>sample string 8</RegisterationNumber>
  <WorkshopId>sample string 2</WorkshopId>
  <WorkshopName>sample string 4</WorkshopName>
  <isSPCertificate>true</isSPCertificate>
  <spCertificateLocation>sample string 9</spCertificateLocation>
</CertificateModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CertificationResponseMessage
NameDescriptionTypeAdditional information
Code

string

None.

MessageAr

string

None.

MessageEn

string

None.

ErrorMessage

string

None.

CertificateLink

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "MessageAr": "sample string 2",
  "MessageEn": "sample string 3",
  "ErrorMessage": "sample string 4",
  "CertificateLink": "sample string 5"
}

application/xml, text/xml

Sample:
<CertificationResponseMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDFSharePointAPIs.Models">
  <CertificateLink>sample string 5</CertificateLink>
  <Code>sample string 1</Code>
  <ErrorMessage>sample string 4</ErrorMessage>
  <MessageAr>sample string 2</MessageAr>
  <MessageEn>sample string 3</MessageEn>
</CertificationResponseMessage>