v1.0
post
/ec-ors-svc/rest/v1.0/studies/{studyId}/{mode}/locally-sourced-kits
Creates local source settings for kit types.
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training.
-
studyId(required): string(uuid)
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the study.
Supported Media Types
- application/json
Root Schema : LocalSourceSettingRequest v1.0
Type:
objectTitle:
LocalSourceSettingRequest v1.0Request containing local source settings.
Show Source
-
kitTypeSrcId(required): string
(uuid)
Title:
Kit Type Source IDKit type source identifier. -
locallySourcedCountries: array
Locally Sourced Countries
Title:
Locally Sourced CountriesList of country IDs where kits are locally sourced. -
sourcedBySiteCountries: array
Sourced By Site Countries
Title:
Sourced By Site CountriesList of country IDs where kits are sourced by site.
Nested Schema : Locally Sourced Countries
Type:
arrayTitle:
Locally Sourced CountriesList of country IDs where kits are locally sourced.
Show Source
-
Array of:
string(uuid)
Title:
Locally Sourced CountriesList of country IDs where kits are locally sourced.
Nested Schema : Sourced By Site Countries
Type:
arrayTitle:
Sourced By Site CountriesList of country IDs where kits are sourced by site.
Show Source
-
Array of:
string(uuid)
Title:
Sourced By Site CountriesList of country IDs where kits are sourced by site.
Response
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : LocalSourceSettingsResponse
Type:
objectTitle:
LocalSourceSettingsResponseContains Local Source Settings detail response.
Show Source
Nested Schema : locallySourcedCountries
Type:
Show Source
array-
Array of:
object LocalSourceSettingsTo
Title:
LocalSourceSettingsToContains locally sourced kit settings.
Nested Schema : sourcedBySiteCountries
Type:
Show Source
array-
Array of:
object LocalSourceSettingsTo
Title:
LocalSourceSettingsToContains locally sourced kit settings.
Nested Schema : LocalSourceSettingsTo
Type:
objectTitle:
LocalSourceSettingsToContains locally sourced kit settings.
Show Source
-
comment: string
Title:
CommentComment.Example:Additional details. -
countryId: string
(uuid)
Title:
Country IDCountry identifier.Example:12345678-90ab-cdef-1234-567890abcdef -
enabled: boolean
Title:
EnabledIndicates whether dose hold is enabled.Example:true -
kitTypeSrcId: string
(uuid)
Title:
Kit Type Source IDKit type ID.Example:99999999-8888-7777-6666-555555555555 -
localSourceId: string
(uuid)
Title:
Local Source IDLocal source identifier.Example:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee -
objectVersionNumber: number
Title:
Object Version NumberObject version number.Example:1 -
operationType: string
Title:
Operation TypeOperation type.Example:CREATE -
reason: string
Title:
ReasonReason.Example:Business justification. -
userId: string
(uuid)
Title:
User IDUser ID.Example:11111111-2222-3333-4444-555555555555 -
versionEnd: string
(date-time)
Title:
Version EndVersion end date.Example:2025-12-31T23:59:59Z -
versionStart: string
(date-time)
Title:
Version StartVersion start date.Example:2025-01-01T00:00:00Z
400 Response
LocalSourceSettings Request is not valid
Root Schema : ORSResponse
Type:
objectCommon response object.
Show Source
-
errorData: object
ErrorResponseData
-
result: object
result
Result Object
-
status: string
Status of requestExample:
Success -
version: integer
(int32)
Nested Schema : result
Type:
objectResult Object
Nested Schema : details
Type:
object404 Response
For Invalid study ID or version
Root Schema : ORSResponse
Type:
objectCommon response object.
Show Source
-
errorData: object
ErrorResponseData
-
result: object
result
Result Object
-
status: string
Status of requestExample:
Success -
version: integer
(int32)
Nested Schema : result
Type:
objectResult Object
Nested Schema : details
Type:
object500 Response
Internal server error
Root Schema : ORSResponse
Type:
objectCommon response object.
Show Source
-
errorData: object
ErrorResponseData
-
result: object
result
Result Object
-
status: string
Status of requestExample:
Success -
version: integer
(int32)
Nested Schema : result
Type:
objectResult Object
Nested Schema : details
Type:
object