POST api/Certificate/{sender_id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sender_id

string

None.

Body Parameters

CertificateData
NameDescriptionTypeAdditional information
CertId

integer

None.

Description

string

None.

CorporateId

integer

None.

CertificateBase64

string

None.

Issuer

string

None.

SerialNumber

string

None.

Thumbprint

string

None.

Subject

string

None.

ValidFromDate

date

None.

ValidToDate

date

None.

IsActive

boolean

None.

CorporateInfo

CorporateInfoData

None.

CreatedBy

string

None.

CreatedOn

date

None.

ModifiedBy

string

None.

ModifiedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CertId": 1,
  "Description": "sample string 2",
  "CorporateId": 3,
  "CertificateBase64": "sample string 4",
  "Issuer": "sample string 5",
  "SerialNumber": "sample string 6",
  "Thumbprint": "sample string 7",
  "Subject": "sample string 8",
  "ValidFromDate": "2021-06-15T04:00:01.5370475-05:00",
  "ValidToDate": "2021-06-15T04:00:01.5370475-05:00",
  "IsActive": true,
  "CorporateInfo": {
    "CorporateID": 1,
    "CorporateName": "sample string 2",
    "CorporateDescription": "sample string 3",
    "NumberOfCorporateUsers": 4,
    "NumberOfFloatingUsers": 5,
    "NumberOfRegionalUsers": 6,
    "IsActive": true,
    "FileUploadLocation": "sample string 8",
    "EmailExpirationHours": 9,
    "HasDivision": true,
    "LicenseType": "sample string 11",
    "SessionTimeOut": 60000,
    "UseMarketingOutreach": true,
    "SMSXRefCorporateInfos": null
  },
  "CreatedBy": "sample string 12",
  "CreatedOn": "2021-06-15T04:00:01.5526817-05:00",
  "ModifiedBy": "sample string 14",
  "ModifiedOn": "2021-06-15T04:00:01.5526817-05:00"
}

application/xml, text/xml

Sample:
<CertificateData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Centerpointe.Modules.Data.Corporate">
  <_x003C_CreatedBy_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/Centerpointe.Domain.Entities.Auditing">sample string 12</_x003C_CreatedBy_x003E_k__BackingField>
  <_x003C_CreatedOn_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/Centerpointe.Domain.Entities.Auditing">2021-06-15T04:00:01.5526817-05:00</_x003C_CreatedOn_x003E_k__BackingField>
  <_x003C_ModifiedBy_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/Centerpointe.Domain.Entities.Auditing">sample string 14</_x003C_ModifiedBy_x003E_k__BackingField>
  <_x003C_ModifiedOn_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/Centerpointe.Domain.Entities.Auditing">2021-06-15T04:00:01.5526817-05:00</_x003C_ModifiedOn_x003E_k__BackingField>
  <CertId>1</CertId>
  <CertificateBase64>sample string 4</CertificateBase64>
  <CorporateId>3</CorporateId>
  <CorporateInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/Centerpointe.Modules.Corporate">
    <d2p1:CorporateDescription>sample string 3</d2p1:CorporateDescription>
    <d2p1:CorporateID>1</d2p1:CorporateID>
    <d2p1:CorporateName>sample string 2</d2p1:CorporateName>
    <d2p1:EmailExpirationHours>9</d2p1:EmailExpirationHours>
    <d2p1:FileUploadLocation>sample string 8</d2p1:FileUploadLocation>
    <d2p1:HasDivision>true</d2p1:HasDivision>
    <d2p1:IsActive>true</d2p1:IsActive>
    <d2p1:LicenseType>sample string 11</d2p1:LicenseType>
    <d2p1:NumberOfCorporateUsers>4</d2p1:NumberOfCorporateUsers>
    <d2p1:NumberOfFloatingUsers>5</d2p1:NumberOfFloatingUsers>
    <d2p1:NumberOfRegionalUsers>6</d2p1:NumberOfRegionalUsers>
    <d2p1:SMSXRefCorporateInfos xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
    <d2p1:SessionTimeOut>60000</d2p1:SessionTimeOut>
    <d2p1:UseMarketingOutreach>true</d2p1:UseMarketingOutreach>
  </CorporateInfo>
  <Description>sample string 2</Description>
  <IsActive>true</IsActive>
  <Issuer>sample string 5</Issuer>
  <SerialNumber>sample string 6</SerialNumber>
  <Subject>sample string 8</Subject>
  <Thumbprint>sample string 7</Thumbprint>
  <ValidFromDate>2021-06-15T04:00:01.5370475-05:00</ValidFromDate>
  <ValidToDate>2021-06-15T04:00:01.5370475-05:00</ValidToDate>
</CertificateData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.