GET api/testscope?well_id={well_id}
Get test scope list
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
well_id |
Well id |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Test scope list
Collection of TestScopeDtoName | Description | Type | Additional information |
---|---|---|---|
Id |
Test scope id (Row key) |
globally unique identifier |
None. |
WellId |
Test scope well parent (Partition key) |
integer |
Required |
StartUnixTime |
Test start time |
integer |
Required |
IsApproved |
Is test approved |
boolean |
None. |
ConductedBy |
Conducted by |
string |
Required |
CertifiedBy |
Certified by |
string |
Required |
TestDataDtoList |
List of test data in this scope: required for POST requests |
Collection of TestData |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": "673b26d9-1290-4691-8572-66a30a270582", "WellId": 2, "StartUnixTime": 3, "IsApproved": true, "ConductedBy": "sample string 4", "CertifiedBy": "sample string 5", "TestDataDtoList": [ { "Comment": "sample string 1", "HourNumber": 64, "TestScopeId": "e6cb09dd-4a3f-4c65-bbe0-d7e53a6b61a6", "Dict": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } }, { "Comment": "sample string 1", "HourNumber": 64, "TestScopeId": "e6cb09dd-4a3f-4c65-bbe0-d7e53a6b61a6", "Dict": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } } ] }, { "Id": "673b26d9-1290-4691-8572-66a30a270582", "WellId": 2, "StartUnixTime": 3, "IsApproved": true, "ConductedBy": "sample string 4", "CertifiedBy": "sample string 5", "TestDataDtoList": [ { "Comment": "sample string 1", "HourNumber": 64, "TestScopeId": "e6cb09dd-4a3f-4c65-bbe0-d7e53a6b61a6", "Dict": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } }, { "Comment": "sample string 1", "HourNumber": 64, "TestScopeId": "e6cb09dd-4a3f-4c65-bbe0-d7e53a6b61a6", "Dict": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } } ] } ]
application/xml, text/xml
Sample:
<ArrayOfTestScopeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Reyvart.WellFileManager.Web.Models"> <TestScopeDto> <CertifiedBy>sample string 5</CertifiedBy> <ConductedBy>sample string 4</ConductedBy> <Id>673b26d9-1290-4691-8572-66a30a270582</Id> <IsApproved>true</IsApproved> <StartUnixTime>3</StartUnixTime> <TestDataDtoList> <TestData> <Comment>sample string 1</Comment> <Dict xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringstring> <d5p1:Key>sample string 1</d5p1:Key> <d5p1:Value>sample string 2</d5p1:Value> </d5p1:KeyValueOfstringstring> <d5p1:KeyValueOfstringstring> <d5p1:Key>sample string 3</d5p1:Key> <d5p1:Value>sample string 4</d5p1:Value> </d5p1:KeyValueOfstringstring> </Dict> <HourNumber>64</HourNumber> <TestScopeId>e6cb09dd-4a3f-4c65-bbe0-d7e53a6b61a6</TestScopeId> </TestData> <TestData> <Comment>sample string 1</Comment> <Dict xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringstring> <d5p1:Key>sample string 1</d5p1:Key> <d5p1:Value>sample string 2</d5p1:Value> </d5p1:KeyValueOfstringstring> <d5p1:KeyValueOfstringstring> <d5p1:Key>sample string 3</d5p1:Key> <d5p1:Value>sample string 4</d5p1:Value> </d5p1:KeyValueOfstringstring> </Dict> <HourNumber>64</HourNumber> <TestScopeId>e6cb09dd-4a3f-4c65-bbe0-d7e53a6b61a6</TestScopeId> </TestData> </TestDataDtoList> <WellId>2</WellId> </TestScopeDto> <TestScopeDto> <CertifiedBy>sample string 5</CertifiedBy> <ConductedBy>sample string 4</ConductedBy> <Id>673b26d9-1290-4691-8572-66a30a270582</Id> <IsApproved>true</IsApproved> <StartUnixTime>3</StartUnixTime> <TestDataDtoList> <TestData> <Comment>sample string 1</Comment> <Dict xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringstring> <d5p1:Key>sample string 1</d5p1:Key> <d5p1:Value>sample string 2</d5p1:Value> </d5p1:KeyValueOfstringstring> <d5p1:KeyValueOfstringstring> <d5p1:Key>sample string 3</d5p1:Key> <d5p1:Value>sample string 4</d5p1:Value> </d5p1:KeyValueOfstringstring> </Dict> <HourNumber>64</HourNumber> <TestScopeId>e6cb09dd-4a3f-4c65-bbe0-d7e53a6b61a6</TestScopeId> </TestData> <TestData> <Comment>sample string 1</Comment> <Dict xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringstring> <d5p1:Key>sample string 1</d5p1:Key> <d5p1:Value>sample string 2</d5p1:Value> </d5p1:KeyValueOfstringstring> <d5p1:KeyValueOfstringstring> <d5p1:Key>sample string 3</d5p1:Key> <d5p1:Value>sample string 4</d5p1:Value> </d5p1:KeyValueOfstringstring> </Dict> <HourNumber>64</HourNumber> <TestScopeId>e6cb09dd-4a3f-4c65-bbe0-d7e53a6b61a6</TestScopeId> </TestData> </TestDataDtoList> <WellId>2</WellId> </TestScopeDto> </ArrayOfTestScopeDto>