POST api/Certificate/InsertCertificate

Request Information

URI Parameters

None.

Body Parameters

Collection of CertificateModel
NameDescriptionTypeAdditional information
CertificateID

integer

None.

UsersID

integer

None.

OrderID

integer

None.

Path

string

None.

Type

integer

None.

CreatedDate

string

None.

UpdatedDate

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "CertificateID": 1,
    "UsersID": 2,
    "OrderID": 1,
    "Path": "sample string 3",
    "Type": 4,
    "CreatedDate": "sample string 5",
    "UpdatedDate": "sample string 6"
  },
  {
    "CertificateID": 1,
    "UsersID": 2,
    "OrderID": 1,
    "Path": "sample string 3",
    "Type": 4,
    "CreatedDate": "sample string 5",
    "UpdatedDate": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCertificateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RecycleGreenAPILibrary.BusinessModel">
  <CertificateModel>
    <CreatedDate>sample string 5</CreatedDate>
    <UpdatedDate>sample string 6</UpdatedDate>
    <CertificateID>1</CertificateID>
    <OrderID>1</OrderID>
    <Path>sample string 3</Path>
    <Type>4</Type>
    <UsersID>2</UsersID>
  </CertificateModel>
  <CertificateModel>
    <CreatedDate>sample string 5</CreatedDate>
    <UpdatedDate>sample string 6</UpdatedDate>
    <CertificateID>1</CertificateID>
    <OrderID>1</OrderID>
    <Path>sample string 3</Path>
    <Type>4</Type>
    <UsersID>2</UsersID>
  </CertificateModel>
</ArrayOfCertificateModel>

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 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.