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 ID
The unique identifier for the agency. -
AppId(optional):
string
Maximum Length:
64
The 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 Date
The date and time when the setup was created. -
Description(optional):
string
Title:
Description
Maximum Length:400
The 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 Date
The date and time when the setup was last modified. -
links(optional):
array Items
Title:
Items
Link Relations -
ResourceId(optional):
string
Maximum Length:
64
The 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 reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The 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 ID
The unique identifier for the agency. -
AppId(optional):
string
Maximum Length:
64
The 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 Date
The date and time when the setup was created. -
Description(optional):
string
Title:
Description
Maximum Length:400
The 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 Date
The date and time when the setup was last modified. -
links(optional):
array Items
Title:
Items
Link Relations -
ResourceId(optional):
string
Maximum Length:
64
The 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 reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The name of the relation to the resource instance. Example: self.