GET v1/Surveys/{surveyId}/SamplingPoints/{samplingPointId}/Addresses/{addressId}
User roles allowed to make this request:
DomainAdministrator
PowerUser
RegularUser
LimitedUser
SampleManager
Permissions required to make this request:
Address.Read
Survey.Read
Has survey type usage restrictions capi
Retrieve the details of a single address.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
surveyId | string |
Required |
|
samplingPointId | string |
Required |
|
addressId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns the address details
Response Message
AddressModelName | Description | Type | Additional information |
---|---|---|---|
AddressId |
Unique id of the address |
string |
Max length: 128 |
Details |
Details of the address |
string |
Max length: 2147483647 |
AppointmentDate |
Appointment Date of the address |
date |
None. |
SampleData |
SampleData variables for Odin |
Collection of AddressSampleDataModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "AddressId": "sample string 1", "Details": "sample string 2", "AppointmentDate": "2024-09-08T02:51:39.2227281+00:00", "SampleData": [ { "Name": "sample string 1", "Value": "sample string 2" }, { "Name": "sample string 1", "Value": "sample string 2" } ] }
application/xml, text/xml
Sample:
<AddressModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models"> <AddressId>sample string 1</AddressId> <AppointmentDate>2024-09-08T02:51:39.2227281+00:00</AppointmentDate> <Details>sample string 2</Details> <SampleData> <AddressSampleDataModel> <Name>sample string 1</Name> <Value>sample string 2</Value> </AddressSampleDataModel> <AddressSampleDataModel> <Name>sample string 1</Name> <Value>sample string 2</Value> </AddressSampleDataModel> </SampleData> </AddressModel>