PUT api/TestData?testscope_id={testscope_id}&hournumber={hournumber}
Put test data
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| testscope_id |
Test scope id |
globally unique identifier |
Required |
| hournumber |
Hour number |
byte |
Required |
Body Parameters
Test data
TestData| Name | Description | Type | Additional information |
|---|---|---|---|
| Comment |
A comment |
string |
None. |
| HourNumber |
A number of hour |
byte |
None. |
| TestScopeId |
Id of the parent (test scope) |
globally unique identifier |
None. |
| Dict |
Dictionary |
Dictionary of string [key] and string [value] |
None. |
Request Formats
application/json, text/json
Sample:
{
"Comment": "sample string 1",
"HourNumber": 64,
"TestScopeId": "ae007b55-637c-478b-9a47-bebb2162a8bc",
"Dict": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
}
}
application/xml, text/xml
Sample:
<TestData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Reyvart.WellFileManager.Web.Models">
<Comment>sample string 1</Comment>
<Dict xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>sample string 2</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:KeyValueOfstringstring>
</Dict>
<HourNumber>64</HourNumber>
<TestScopeId>ae007b55-637c-478b-9a47-bebb2162a8bc</TestScopeId>
</TestData>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Changed test data
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. |