PUT api/purchasedfrom/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
PurchasedFromEntity| Name | Description | Type | Additional 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:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |