GET api/Certificate/{handle}/Options?user={user}
Get the optional products that were ordered with the certicate
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| handle |
Object handle |
string |
Required |
| user |
Owner of object |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
A list of certificate options
Collection of errors on failure
Return codes
200 - ok
400 - bad request
401 - unauthorized
404 - not found
500 - internal server error
| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
Option name |
string |
None. |
| ProductName |
Product name |
string |
None. |
| ProductId |
Product id |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Name": "sample string 1",
"ProductName": "sample string 2",
"ProductId": 3
},
{
"Name": "sample string 1",
"ProductName": "sample string 2",
"ProductId": 3
}
]
application/xml, text/xml
Sample:
<ArrayOfCertOption xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Namebay.Rest.Api.Models.Certificates">
<CertOption>
<Name>sample string 1</Name>
<ProductId>3</ProductId>
<ProductName>sample string 2</ProductName>
</CertOption>
<CertOption>
<Name>sample string 1</Name>
<ProductId>3</ProductId>
<ProductName>sample string 2</ProductName>
</CertOption>
</ArrayOfCertOption>