POST api/CertificateHolder/Insert

Insert/Update certificate holder.

Request Information

URI Parameters

None.

Body Parameters

CertificateHolderRecord
NameDescriptionTypeAdditional information
DatabaseId

globally unique identifier

None.

Name

string

Required

StateAbbrevation

string

None.

City

string

None.

AddressLine1

string

None.

AddressLine2

string

None.

ZipCode

string

None.

Phone

string

None.

CellPhone

string

None.

Fax

string

None.

EMail

string

None.

Request Formats

application/json, text/json

Sample:
{
  "databaseId": "d4e97bd3-0870-4cdf-afa2-4a662ba95231",
  "name": "sample string 1",
  "stateAbbrevation": "sample string 2",
  "city": "sample string 3",
  "addressLine1": "sample string 4",
  "addressLine2": "sample string 5",
  "zipCode": "sample string 6",
  "phone": "sample string 7",
  "cellPhone": "sample string 8",
  "fax": "sample string 9",
  "eMail": "sample string 10"
}

application/xml, text/xml

Sample:
<CertificateHolderRecord xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <AddressLine1>sample string 4</AddressLine1>
  <AddressLine2>sample string 5</AddressLine2>
  <CellPhone>sample string 8</CellPhone>
  <City>sample string 3</City>
  <DatabaseId>d4e97bd3-0870-4cdf-afa2-4a662ba95231</DatabaseId>
  <EMail>sample string 10</EMail>
  <Fax>sample string 9</Fax>
  <Name>sample string 1</Name>
  <Phone>sample string 7</Phone>
  <StateAbbrevation>sample string 2</StateAbbrevation>
  <ZipCode>sample string 6</ZipCode>
</CertificateHolderRecord>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NowCertsApiResultWithDatabaseId
NameDescriptionTypeAdditional information
DatabaseId

globally unique identifier

None.

Status

ApiStatus

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "databaseId": "af878adf-7461-4221-a580-19135f5bd661",
  "status": 0,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<NowCertsApiResultWithDatabaseId xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <Message>sample string 2</Message>
  <Status>Error</Status>
  <DatabaseId>af878adf-7461-4221-a580-19135f5bd661</DatabaseId>
</NowCertsApiResultWithDatabaseId>