Create a Service Provider Preference
post
/locations/{locationGid}/servprovPrefs
Request
Path Parameters
-
locationGid(required): string
Resource ID
Supported Media Types
- application/vnd.oracle.resource+json;type=singular
- application/vnd.oracle.resource+json;type=collection
Nested Schema : schema
Type:
Show Source
object-
details:
details
-
domainName: string
Database domain where this data is stored.
-
links: array
links
Read Only:
true -
locationServprovPrefGid: string
The unique identifier of location service provider preference.
-
locationServprovPrefXid: string
The XID of location service provider preference.
-
maxSlotsPerDay: number
(int32)
The maximum number of slots per day.
-
serviceLocationGid: string
Unique key constraint will be created on (location_gid, servprov_gid, service_location_gid) in CU5.
-
servprovGid: string
The Service Provider GID.
Nested Schema : details
Type:
Show Source
object-
items: array
items
-
links: array
links
Read Only:
true
Nested Schema : locations.servprovPrefs.details
Type:
Show Source
object-
begin: number
(int32)
The begin time.
-
dayOfWeek: number
(int32)
The day of week.
-
domainName: string
Database domain where this data is stored.
-
duration: number
(int32)
The duration of the time window.
-
isStanding: boolean
Indicates if the defined preference is for standing appointment.
-
links: array
links
Read Only:
true -
locationResourceGid: string
Indicates the resource that preference defined on.
-
locationServprovPrefDSeq: number
(int64)
Sequence with in a particular location service provider preference GID.
-
maxSlot: number
(int32)
The maximum number of slots during this time.
-
preferenceLevel: number
(int32)
The preference level.
Root Schema : schema
Type:
Show Source
object-
details:
details
-
domainName: string
Database domain where this data is stored.
-
links: array
links
Read Only:
true -
locationServprovPrefGid: string
The unique identifier of location service provider preference.
-
locationServprovPrefXid: string
The XID of location service provider preference.
-
maxSlotsPerDay: number
(int32)
The maximum number of slots per day.
-
serviceLocationGid: string
Unique key constraint will be created on (location_gid, servprov_gid, service_location_gid) in CU5.
-
servprovGid: string
The Service Provider GID.
Nested Schema : details
Type:
Show Source
object-
items: array
items
-
links: array
links
Read Only:
true
Nested Schema : locations.servprovPrefs.details
Type:
Show Source
object-
begin: number
(int32)
The begin time.
-
dayOfWeek: number
(int32)
The day of week.
-
domainName: string
Database domain where this data is stored.
-
duration: number
(int32)
The duration of the time window.
-
isStanding: boolean
Indicates if the defined preference is for standing appointment.
-
links: array
links
Read Only:
true -
locationResourceGid: string
Indicates the resource that preference defined on.
-
locationServprovPrefDSeq: number
(int64)
Sequence with in a particular location service provider preference GID.
-
maxSlot: number
(int32)
The maximum number of slots during this time.
-
preferenceLevel: number
(int32)
The preference level.
Response
Supported Media Types
- application/vnd.oracle.resource+json;type=singular
- application/vnd.oracle.resource+json;type=collection
Default Response
Default Response.
Root Schema : schema
Type:
Show Source
object-
details:
details
-
domainName: string
Database domain where this data is stored.
-
links: array
links
Read Only:
true -
locationServprovPrefGid: string
The unique identifier of location service provider preference.
-
locationServprovPrefXid: string
The XID of location service provider preference.
-
maxSlotsPerDay: number
(int32)
The maximum number of slots per day.
-
serviceLocationGid: string
Unique key constraint will be created on (location_gid, servprov_gid, service_location_gid) in CU5.
-
servprovGid: string
The Service Provider GID.
Nested Schema : details
Type:
Show Source
object-
items: array
items
-
links: array
links
Read Only:
true
Nested Schema : locations.servprovPrefs.details
Type:
Show Source
object-
begin: number
(int32)
The begin time.
-
dayOfWeek: number
(int32)
The day of week.
-
domainName: string
Database domain where this data is stored.
-
duration: number
(int32)
The duration of the time window.
-
isStanding: boolean
Indicates if the defined preference is for standing appointment.
-
links: array
links
Read Only:
true -
locationResourceGid: string
Indicates the resource that preference defined on.
-
locationServprovPrefDSeq: number
(int64)
Sequence with in a particular location service provider preference GID.
-
maxSlot: number
(int32)
The maximum number of slots during this time.
-
preferenceLevel: number
(int32)
The preference level.