Create an OAuth setup
post
/fscmRestApi/resources/11.13.18.05/publicSectorGISOAuthSetups
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorGISOAuthSetups-item
Type:
Show Source
object-
AgencyId(optional):
integer(int32)
Title:
Agency IDThe unique identifier for the agency. -
AppId(optional):
string
Maximum Length:
64The key value used to retrieve the web map security information. -
AppSecrete(optional):
string
The secret for the application ID. It is stored in the Oracle credential store.
-
AuthEndpoint(optional):
string
The URL to request authorization from the user to access the secure web map.
-
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date and time when the setup was created. -
Description(optional):
string
Title:
DescriptionMaximum Length:400The description of the OAuth setup. -
Expiration(optional):
integer(int32)
The number of minutes for which a generated authentication token is valid.
-
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date and time when the setup was last modified. -
links(optional):
array Items
Title:
ItemsLink Relations -
ResourceId(optional):
string
Maximum Length:
64The unique identifier for the OAuth setup. -
TokenEndpoint(optional):
string
The URL to the web map that generates an access token for accessing the secure web map.
Nested Schema : link
Type:
Show Source
object-
href(optional):
string
Title:
hyperlink referenceThe URI to the related resource. -
rel(optional):
string
Title:
relationThe name of the relation to the resource instance. Example: self.
Response
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Default Response
The following table describes the default response for this task.
Root Schema : publicSectorGISOAuthSetups-item
Type:
Show Source
object-
AgencyId(optional):
integer(int32)
Title:
Agency IDThe unique identifier for the agency. -
AppId(optional):
string
Maximum Length:
64The key value used to retrieve the web map security information. -
AppSecrete(optional):
string
The secret for the application ID. It is stored in the Oracle credential store.
-
AuthEndpoint(optional):
string
The URL to request authorization from the user to access the secure web map.
-
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date and time when the setup was created. -
Description(optional):
string
Title:
DescriptionMaximum Length:400The description of the OAuth setup. -
Expiration(optional):
integer(int32)
The number of minutes for which a generated authentication token is valid.
-
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date and time when the setup was last modified. -
links(optional):
array Items
Title:
ItemsLink Relations -
ResourceId(optional):
string
Maximum Length:
64The unique identifier for the OAuth setup. -
TokenEndpoint(optional):
string
The URL to the web map that generates an access token for accessing the secure web map.
Nested Schema : link
Type:
Show Source
object-
href(optional):
string
Title:
hyperlink referenceThe URI to the related resource. -
rel(optional):
string
Title:
relationThe name of the relation to the resource instance. Example: self.