PUT api/Materials/Returns/{id}
Return a material
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The EntryID returned by post store entry |
integer |
Required |
Body Parameters
StoreReturnName | Description | Type | Additional information |
---|---|---|---|
Type |
|
StoreReturnsType |
Required |
Date |
|
date |
Required |
Quantity |
|
decimal number |
Required Above: 0 |
Request Formats
Sample:
{ "Type": "Supplier", "Date": "2024-11-14T16:46:48.8741337+00:00", "Quantity": 1.1 }
Sample:
<StoreReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models.Materiais"> <Date>2024-11-14T16:46:48.8741337+00:00</Date> <Quantity>1.1</Quantity> <Type>Supplier</Type> </StoreReturn>
Sample:
Sample not available.
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Id" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Type" Supplier --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Date" 2024-11-14T16:46:48.8741337+00:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Quantity" 1.1 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
HttpResponseMessageName | 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. |