PUT api/purchasedfrom/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

PurchasedFromEntity
NameDescriptionTypeAdditional information
PurchasedFrom

string

None.

PurchasedFromId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PurchasedFrom": "sample string 1",
  "PurchasedFromId": 2
}

application/xml, text/xml

Sample:
<PurchasedFromEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.DMS.Business.Entities">
  <PurchasedFrom>sample string 1</PurchasedFrom>
  <PurchasedFromId>2</PurchasedFromId>
</PurchasedFromEntity>

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 'PurchasedFromEntity'

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.