POST api/ProductDetails/GetLooseDiamonddata

Request Information

URI Parameters

None.

Body Parameters

Loosediamond
NameDescriptionTypeAdditional information
pageIndex

string

None.

shape

string

None.

cut

string

None.

color

string

None.

clarity

string

None.

polish

string

None.

symmetry

string

None.

fluorescence

string

None.

sort_col

string

None.

sort_type

string

None.

carat_weight

Collection of string

None.

price

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "pageIndex": "sample string 1",
  "shape": "sample string 2",
  "cut": "sample string 3",
  "color": "sample string 4",
  "clarity": "sample string 5",
  "polish": "sample string 6",
  "symmetry": "sample string 7",
  "fluorescence": "sample string 8",
  "sort_col": "sample string 9",
  "sort_type": "sample string 10",
  "carat_weight": [
    "sample string 1",
    "sample string 2"
  ],
  "price": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<ProductDetailsModel.Loosediamond xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnjoleeAPI.Models">
  <carat_weight xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </carat_weight>
  <clarity>sample string 5</clarity>
  <color>sample string 4</color>
  <cut>sample string 3</cut>
  <fluorescence>sample string 8</fluorescence>
  <pageIndex>sample string 1</pageIndex>
  <polish>sample string 6</polish>
  <price xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </price>
  <shape>sample string 2</shape>
  <sort_col>sample string 9</sort_col>
  <sort_type>sample string 10</sort_type>
  <symmetry>sample string 7</symmetry>
</ProductDetailsModel.Loosediamond>

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 'Loosediamond'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.