Create an autonumber rule
post
/fscmRestApi/resources/11.13.18.05/publicSectorAutoNumbers
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 : publicSectorAutoNumbers-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int32)
The unique identifier for an agency that is associated with a autonumber rule.
-
AutoNumberRule(optional):
string
Maximum Length:
1000
The autonumber rule stored in JSON format. -
CreatedBy(optional):
string
Maximum Length:
64
The user who created the autonumber rule. -
CreationDate(optional):
string(date-time)
The date and time that the autonumber rule was created.
-
Description(optional):
string
Title:
Description
Maximum Length:50
The description of the autonumber rule. -
LastUpdateDate(optional):
string(date-time)
The date and time when the autonumber rule was last updated.
-
LastUpdatedBy(optional):
string
Maximum Length:
64
The user who last updated the autonumber rule. -
links(optional):
array Items
Title:
Items
Link Relations -
MaxLength(optional):
integer(int32)
Title:
Maximum Size
The maximum length of the number that is generated by an autonumber rule. -
NextNumberPreview(optional):
string
Title:
Next Number
Maximum Length:255
The next number to be generated by an autonumber rule. -
NumberType(optional):
string
Title:
Number Type
Maximum Length:10
The product or transaction that uses the autonumber rule. Examples include Invoice, Permit, Inspection, and System. -
RuleDetails(optional):
string
Transient field that returns autonumber details in JSON format.
-
RuleId(optional):
string
Title:
Rule Name
Maximum Length:20
The unique identifier for an autonumber rule.
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 : publicSectorAutoNumbers-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int32)
The unique identifier for an agency that is associated with a autonumber rule.
-
AutoNumberRule(optional):
string
Maximum Length:
1000
The autonumber rule stored in JSON format. -
CreatedBy(optional):
string
Maximum Length:
64
The user who created the autonumber rule. -
CreationDate(optional):
string(date-time)
The date and time that the autonumber rule was created.
-
Description(optional):
string
Title:
Description
Maximum Length:50
The description of the autonumber rule. -
LastUpdateDate(optional):
string(date-time)
The date and time when the autonumber rule was last updated.
-
LastUpdatedBy(optional):
string
Maximum Length:
64
The user who last updated the autonumber rule. -
links(optional):
array Items
Title:
Items
Link Relations -
MaxLength(optional):
integer(int32)
Title:
Maximum Size
The maximum length of the number that is generated by an autonumber rule. -
NextNumberPreview(optional):
string
Title:
Next Number
Maximum Length:255
The next number to be generated by an autonumber rule. -
NumberType(optional):
string
Title:
Number Type
Maximum Length:10
The product or transaction that uses the autonumber rule. Examples include Invoice, Permit, Inspection, and System. -
RuleDetails(optional):
string
Transient field that returns autonumber details in JSON format.
-
RuleId(optional):
string
Title:
Rule Name
Maximum Length:20
The unique identifier for an autonumber rule.
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.