PUT api/Specs/Edges/EditEdgeData

Request Information

URI Parameters

None.

Body Parameters

StoneFactoryAPI.Models.SpecsModel+EditSpec
NameDescriptionTypeAdditional information
id

integer

None.

name

string

None.

editedBy

string

None.

editedDate

string

None.

userId

integer

None.

changed

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "editedBy": "sample string 3",
  "editedDate": "sample string 4",
  "userId": 5,
  "changed": "sample string 6"
}

application/xml, text/xml

Sample:
<SpecsModel.EditSpec xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StoneFactoryAPI.Models">
  <changed>sample string 6</changed>
  <editedBy>sample string 3</editedBy>
  <editedDate>sample string 4</editedDate>
  <id>1</id>
  <name>sample string 2</name>
  <userId>5</userId>
</SpecsModel.EditSpec>

multipart/form-data

Sample:
<SpecsModel.EditSpec xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StoneFactoryAPI.Models"><changed>sample string 6</changed><editedBy>sample string 3</editedBy><editedDate>sample string 4</editedDate><id>1</id><name>sample string 2</name><userId>5</userId></SpecsModel.EditSpec>

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

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.