Get tenant first entity addresses by Association ID
get
/ec-site-svc/rest/v1.0/tenantsite/associations/{associationId}/addresses
Get addresses of tenant first entity for the passed association ID. However if passed ID belongs to INVESTIGATOR_INSTITUTION association, then it will return both tenant first entity and tenant second entity addresses.
Request
Path Parameters
-
associationId(required): string
Association identifier between tenant first entity and tenant second entity
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation.
Nested Schema : EntityAddressAssociationDto
Type:
Show Source
object
-
addressCity: string
-
addressPostalcode(required): string
Minimum Length:
0
Maximum Length:20
-
addressProperties: array
addressProperties
Unique Items Required:
true
-
addressStateOrProvOrCounty: string
(uuid)
-
addressStateOrProvOrCountyCodeValue: string
-
addressStreet1: string
-
addressStreet2: string
-
addressType: string
(uuid)
-
addressTypeCodeValue: string
Minimum Length:
0
Maximum Length:150
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
country: string
(uuid)
-
countryCodeValue: string
Minimum Length:
0
Maximum Length:150
-
entityId: string
(uuid)
-
entityType: string
Minimum Length:
0
Maximum Length:50
-
id: string
(uuid)
-
mainPrimary: boolean
-
objectVersionNumber: number
-
reason: string
Minimum Length:
0
Maximum Length:255
-
versionStart: string
(date-time)
Nested Schema : PropertyDto
Type:
Show Source
object
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
entityId: string
(uuid)
-
entityType: string
Minimum Length:
0
Maximum Length:50
-
id: string
(uuid)
-
objectVersionNumber: number
-
propertyName(required): string
Minimum Length:
0
Maximum Length:100
-
propertyValue(required): string
Minimum Length:
0
Maximum Length:500
-
reason: string
Minimum Length:
0
Maximum Length:255
-
versionStart: string
(date-time)
400 Response
Bad request.
Root Schema : SDFResponse
Type:
Show Source
object
-
errorData: object
ErrorResponseData
Title:
ErrorResponseData
Error Response Details Information -
result: object
result
-
status: string
Nested Schema : ErrorResponseData
Type:
object
Title:
ErrorResponseData
Error Response Details Information
Show Source
-
details: object
Object
Title:
Object
Object with error details information. -
errorCode: string
Error code which is stored in ErrorCode enum. Example : C1-003Example:
C1-003
-
errorMessage: string
Error message which is stored in service property file. Example : Cannot modify object after a study version has been approvedExample:
Cannot modify object after a study version has been approved
Nested Schema : result
Type:
object
Nested Schema : Object
Type:
object
Title:
Object
Object with error details information.