Create a token
post
/fscmRestApi/resources/11.13.18.05/publicSectorTokens
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 : publicSectorTokens-item
Type:
Show Source
object
-
Attempts(optional):
integer(int32)
The number of attempts made to validate a token. This attribute is valid only for multi-use tokens.
-
CreatedBy(optional):
string
Maximum Length:
64
The user who created the row. -
CreationDate(optional):
string(date-time)
The date and time the row was created.
-
ExpiredFlag(optional):
string
Maximum Length:
1
The flag indicating whether the token has expired. -
ExpiryTime(optional):
integer(int32)
The time in hours for which the token will be valid. The default is four hours.
-
LastAttempt(optional):
string(date-time)
The time stamp of last attempt to validate token.
-
LastUpdateDate(optional):
string(date-time)
The session login associated with the user who last updated the row.
-
LastUpdatedBy(optional):
string
Maximum Length:
64
The date and time of the last update of the row. -
LastUpdateLogin(optional):
string
Maximum Length:
32
The user who last updated the row. -
links(optional):
array Items
Title:
Items
Link Relations -
ObjectVersionNumber(optional):
integer(int32)
Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried.
-
ReqId(optional):
integer(int64)
The unique request ID.
-
SingleUseFlag(optional):
string
Maximum Length:
1
The flag indicating whether the token is single-use or not. The default value is T for true. -
Token(optional):
string
Maximum Length:
64
The token generated for verification. -
TokenIdentifier(optional):
string
Maximum Length:
256
The value passed by the clients to identify the token. -
TokenOwner(optional):
string
Maximum Length:
64
The value passed by the clients identifying the application or module that owns the token.
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 : publicSectorTokens-item
Type:
Show Source
object
-
Attempts(optional):
integer(int32)
The number of attempts made to validate a token. This attribute is valid only for multi-use tokens.
-
CreatedBy(optional):
string
Maximum Length:
64
The user who created the row. -
CreationDate(optional):
string(date-time)
The date and time the row was created.
-
ExpiredFlag(optional):
string
Maximum Length:
1
The flag indicating whether the token has expired. -
ExpiryTime(optional):
integer(int32)
The time in hours for which the token will be valid. The default is four hours.
-
LastAttempt(optional):
string(date-time)
The time stamp of last attempt to validate token.
-
LastUpdateDate(optional):
string(date-time)
The session login associated with the user who last updated the row.
-
LastUpdatedBy(optional):
string
Maximum Length:
64
The date and time of the last update of the row. -
LastUpdateLogin(optional):
string
Maximum Length:
32
The user who last updated the row. -
links(optional):
array Items
Title:
Items
Link Relations -
ObjectVersionNumber(optional):
integer(int32)
Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried.
-
ReqId(optional):
integer(int64)
The unique request ID.
-
SingleUseFlag(optional):
string
Maximum Length:
1
The flag indicating whether the token is single-use or not. The default value is T for true. -
Token(optional):
string
Maximum Length:
64
The token generated for verification. -
TokenIdentifier(optional):
string
Maximum Length:
256
The value passed by the clients to identify the token. -
TokenOwner(optional):
string
Maximum Length:
64
The value passed by the clients identifying the application or module that owns the token.
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.