- URL:
- https://<root>/<serviceName>/UtilityNetworkServer/unitIdentifiers/reset
- Methods:
GET
POST
- Version Introduced:
- 11.5
Description
The reset
operation on the unit
resource is used to reset the unit identifiers associated with a unit container feature in a telecom domain network. This is done to condense the unit identifier space, to address data inconsistency issues, or overcome unit identifier sequence exhaustion.
Request parameters
Parameter | Details |
---|---|
| The output format of the response. The default response format is
|
(Optional) | Specifies the name of the geodatabase version. The default value is Syntax: |
(Optional) | Specifies the token guid used to lock the version. If the calling client is editing a named version, the Syntax: |
(Optional) | The session moment (the default is the version current moment). This should only be specified by the client when they do not want to use the current moment. Syntax: Example: |
(Required) | Array containing the unit identifiable features or objects to be reset. Syntax:
Example:
|
Example usage
Request URL and parameters:
https
f=json
gdbVersion=sde.Default
objects= [{"sourceId": 9,"globalIds": ["{BE504BEE-F6AB-4474-A632-BC94E35DCD2A}"]}]
JSON Response syntax
{
"objects": [
{
"sourceId": 9,
"globalId": "{BE504BEE-F6AB-4474-A632-BC94E35DCD2A}",
"gaps": [
{
"start": 4,
"end": 7
}
],
"unitIdentifiers": [
{
"sourceId": 13,
"globalId": "{B2597E28-1751-4AB0-860A-AA722C8A4349}",
"firstUnit": 1,
"numUnits": 1
},
{
"sourceId": 13,
"globalId": "{475D2C72-F1E9-458E-941A-8D7CAC442C67}",
"firstUnit": 2,
"numUnits": 1
},
{
"sourceId": 13,
"globalId": "{6A43AB2F-A6FD-4B83-AA07-F2F1CF04C52B}",
"firstUnit": 3,
"numUnits": 1
},
{
"sourceId": 13,
"globalId": "{9A8061CA-B96B-466E-8B0A-CE6CBFE6C70B}",
"firstUnit": 8,
"numUnits": 1
}
]
}
],
"success": true
}