POST api/Specs/ConfigureSpecsNames

Request Information

URI Parameters

None.

Body Parameters

Collection of StoneFactoryAPI.Models.SpecsModel+ConfigureSpecs
NameDescriptionTypeAdditional information
id

integer

None.

finalName

string

None.

status

string

None.

inShowroom

string

None.

inDisplayName

string

None.

editedBy

string

None.

editedDate

string

None.

userId

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "finalName": "sample string 2",
    "status": "sample string 3",
    "inShowroom": "sample string 4",
    "inDisplayName": "sample string 5",
    "editedBy": "sample string 6",
    "editedDate": "sample string 7",
    "userId": 8
  },
  {
    "id": 1,
    "finalName": "sample string 2",
    "status": "sample string 3",
    "inShowroom": "sample string 4",
    "inDisplayName": "sample string 5",
    "editedBy": "sample string 6",
    "editedDate": "sample string 7",
    "userId": 8
  }
]

application/xml, text/xml

Sample:
<ArrayOfSpecsModel.ConfigureSpecs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StoneFactoryAPI.Models">
  <SpecsModel.ConfigureSpecs>
    <editedBy>sample string 6</editedBy>
    <editedDate>sample string 7</editedDate>
    <finalName>sample string 2</finalName>
    <id>1</id>
    <inDisplayName>sample string 5</inDisplayName>
    <inShowroom>sample string 4</inShowroom>
    <status>sample string 3</status>
    <userId>8</userId>
  </SpecsModel.ConfigureSpecs>
  <SpecsModel.ConfigureSpecs>
    <editedBy>sample string 6</editedBy>
    <editedDate>sample string 7</editedDate>
    <finalName>sample string 2</finalName>
    <id>1</id>
    <inDisplayName>sample string 5</inDisplayName>
    <inShowroom>sample string 4</inShowroom>
    <status>sample string 3</status>
    <userId>8</userId>
  </SpecsModel.ConfigureSpecs>
</ArrayOfSpecsModel.ConfigureSpecs>

multipart/form-data

Sample:
<ArrayOfSpecsModel.ConfigureSpecs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StoneFactoryAPI.Models"><SpecsModel.ConfigureSpecs><editedBy>sample string 6</editedBy><editedDate>sample string 7</editedDate><finalName>sample string 2</finalName><id>1</id><inDisplayName>sample string 5</inDisplayName><inShowroom>sample string 4</inShowroom><status>sample string 3</status><userId>8</userId></SpecsModel.ConfigureSpecs><SpecsModel.ConfigureSpecs><editedBy>sample string 6</editedBy><editedDate>sample string 7</editedDate><finalName>sample string 2</finalName><id>1</id><inDisplayName>sample string 5</inDisplayName><inShowroom>sample string 4</inShowroom><status>sample string 3</status><userId>8</userId></SpecsModel.ConfigureSpecs></ArrayOfSpecsModel.ConfigureSpecs>

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

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.