POST api/JointColor/EditJointColorData

Request Information

URI Parameters

None.

Body Parameters

StoneFactoryAPI.Models.JointModels+JointColor
NameDescriptionTypeAdditional information
id

integer

None.

color_name

string

None.

image_link

string

None.

isdefault

string

None.

status

string

None.

changed

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "color_name": "sample string 2",
  "image_link": "sample string 3",
  "isdefault": "sample string 4",
  "status": "sample string 5",
  "changed": "sample string 6"
}

application/xml, text/xml

Sample:
<JointModels.JointColor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StoneFactoryAPI.Models">
  <changed>sample string 6</changed>
  <color_name>sample string 2</color_name>
  <id>1</id>
  <image_link>sample string 3</image_link>
  <isdefault>sample string 4</isdefault>
  <status>sample string 5</status>
</JointModels.JointColor>

multipart/form-data

Sample:
<JointModels.JointColor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StoneFactoryAPI.Models"><changed>sample string 6</changed><color_name>sample string 2</color_name><id>1</id><image_link>sample string 3</image_link><isdefault>sample string 4</isdefault><status>sample string 5</status></JointModels.JointColor>

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

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.