POST materialprice/PostMaterialPriceInformations
Request Information
URI Parameters
None.
Body Parameters
MaterialPriceInformationsInput| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Guid | globally unique identifier |
None. |
|
| MaterialGuid | globally unique identifier |
None. |
|
| PrestationGuid | globally unique identifier |
None. |
|
| Price | decimal number |
None. |
|
| CodeVisu | string |
None. |
|
| TimePeriodMin | integer |
None. |
|
| TimePeriodMax | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Guid": "62f723ec-d016-4a9c-9fb7-e8f6a19b1074",
"MaterialGuid": "fdf4c38f-a366-459d-b5a2-d6f87d3b6105",
"PrestationGuid": "cf3f0a7c-f646-4930-ba6e-caa496801445",
"Price": 1.0,
"CodeVisu": "sample string 3",
"TimePeriodMin": 1,
"TimePeriodMax": 1
}
application/xml, text/xml
Sample:
<MaterialPriceInformationsInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestApi.Models.Inputs"> <CodeVisu>sample string 3</CodeVisu> <Guid>62f723ec-d016-4a9c-9fb7-e8f6a19b1074</Guid> <Id>1</Id> <MaterialGuid>fdf4c38f-a366-459d-b5a2-d6f87d3b6105</MaterialGuid> <PrestationGuid>cf3f0a7c-f646-4930-ba6e-caa496801445</PrestationGuid> <Price>1</Price> <TimePeriodMax>1</TimePeriodMax> <TimePeriodMin>1</TimePeriodMin> </MaterialPriceInformationsInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
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. |