Update Usage Subscription

put

/rest/apis/meter/v-model/usageSubscriptions/{usageSubscriptionId}

Request

Path Parameters
Supported Media Types
Request Body - application/xml ()
Root Schema : schema
Type: object
Show Source
Nested Schema : dynamicOptions
Type: object
Show Source
Nested Schema : factorOverrides
Type: object
Show Source
Nested Schema : fallbackUsageCalculationGroups
Type: object
Show Source
Nested Schema : mainContact
Type: object
Show Source
Nested Schema : measuringComponents
Type: object
Show Source
Nested Schema : rateHistory
Type: object
Show Source
Nested Schema : servicePoints
Type: object
Show Source
Nested Schema : usageCalculationGroups
Type: object
Show Source
Nested Schema : usageSubscriptionType
Type: object
Type of Usage Subscription
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : dynamicOption
Type: object
Show Source
Nested Schema : dynamicOptionOverrides
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : dynamicOptionEvent
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : factor
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : calculationGroup
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
  • measuringComponent
  • Allowed Values: [ "D2CA", "D2SR", "ZZAA", "ZZBR", "ZZM1", "ZZM2", "ZZM3", "ZZM4", "ZZM5", "ZZS1", "ZZS2", "ZZSE", "ZZSI", "ZZSM", "ZZZL" ]
    The type of relationship between the usage subscription and the measuring component. * `D2CA` - Consumption Aggregator, * `D2SR` - Standalone Data Request, * `ZZAA` - Consumption Verification, * `ZZBR` - Component Relationship Type, * `ZZM1` - MC Relationship Type 1, * `ZZM2` - MC Relationship Type 2, * `ZZM3` - MC Relationship Type 3, * `ZZM4` - MC Relationship Type 4, * `ZZM5` - MC Relationship Type 5, * `ZZS1` - Standalone 1, * `ZZS2` - Standalone 2, * `ZZSE` - Self Scheduler External, * `ZZSI` - Self Scheduler Interval, * `ZZSM` - Self Scheduler Market, * `ZZZL` - Market Zonal Load
    Example: D2CA
Nested Schema : measuringComponent
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
  • An override date and time used to specify the start date and time when identifying measurements used to calculate usage for the usage subscription. If not specified, the Start Date/Time is used.
  • An override date and time used to specify the stop date time when identifying measurements used to calculate usage for the usage subscription. If not specified, the Stop Date/Time is used.
  • servicePoint
  • The start and end times that define the time period during which the usage subscription is active.
    Example: 2014-01-01T00:00:00-08:00
  • The stop date and time of the relationship between the usage subscription and the service point. All measurements used calculate usage for the usage subscription should have a stop date/time before than this date and time.
  • Allowed Values: [ "D1AD", "D1CK", "D1ST" ]
    A flag that indicates how the consumption from this service point is used when calculating usage for the usage subscription. * `D1AD` - Add, * `D1CK` - Exclude, * `D1ST` - Subtract
    Example: D1AD
  • Minimum Value: -999.99
    Maximum Value: 999.99
    The percentage of consumption from this service point that should be used when calculating usage for the usage subscription.
    Example: 100
Nested Schema : servicePoint
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : calculationGroup
Type: object
Show Source
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : dynamicOptions
Type: object
Show Source
Nested Schema : factorOverrides
Type: object
Show Source
Nested Schema : fallbackUsageCalculationGroups
Type: object
Show Source
Nested Schema : mainContact
Type: object
Show Source
Nested Schema : measuringComponents
Type: object
Show Source
Nested Schema : rateHistory
Type: object
Show Source
Nested Schema : servicePoints
Type: object
Show Source
Nested Schema : usageCalculationGroups
Type: object
Show Source
Nested Schema : usageSubscriptionType
Type: object
Type of Usage Subscription
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : dynamicOption
Type: object
Show Source
Nested Schema : dynamicOptionOverrides
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : dynamicOptionEvent
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : factor
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : calculationGroup
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
  • measuringComponent
  • Allowed Values: [ "D2CA", "D2SR", "ZZAA", "ZZBR", "ZZM1", "ZZM2", "ZZM3", "ZZM4", "ZZM5", "ZZS1", "ZZS2", "ZZSE", "ZZSI", "ZZSM", "ZZZL" ]
    The type of relationship between the usage subscription and the measuring component. * `D2CA` - Consumption Aggregator, * `D2SR` - Standalone Data Request, * `ZZAA` - Consumption Verification, * `ZZBR` - Component Relationship Type, * `ZZM1` - MC Relationship Type 1, * `ZZM2` - MC Relationship Type 2, * `ZZM3` - MC Relationship Type 3, * `ZZM4` - MC Relationship Type 4, * `ZZM5` - MC Relationship Type 5, * `ZZS1` - Standalone 1, * `ZZS2` - Standalone 2, * `ZZSE` - Self Scheduler External, * `ZZSI` - Self Scheduler Interval, * `ZZSM` - Self Scheduler Market, * `ZZZL` - Market Zonal Load
    Example: D2CA
Nested Schema : measuringComponent
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
  • An override date and time used to specify the start date and time when identifying measurements used to calculate usage for the usage subscription. If not specified, the Start Date/Time is used.
  • An override date and time used to specify the stop date time when identifying measurements used to calculate usage for the usage subscription. If not specified, the Stop Date/Time is used.
  • servicePoint
  • The start and end times that define the time period during which the usage subscription is active.
    Example: 2014-01-01T00:00:00-08:00
  • The stop date and time of the relationship between the usage subscription and the service point. All measurements used calculate usage for the usage subscription should have a stop date/time before than this date and time.
  • Allowed Values: [ "D1AD", "D1CK", "D1ST" ]
    A flag that indicates how the consumption from this service point is used when calculating usage for the usage subscription. * `D1AD` - Add, * `D1CK` - Exclude, * `D1ST` - Subtract
    Example: D1AD
  • Minimum Value: -999.99
    Maximum Value: 999.99
    The percentage of consumption from this service point that should be used when calculating usage for the usage subscription.
    Example: 100
Nested Schema : servicePoint
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : calculationGroup
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Success response
Body ()
Root Schema : D1-UsageSubs
Type: object
Show Source
Nested Schema : dynamicOptions
Type: object
Show Source
Nested Schema : factorOverrides
Type: object
Show Source
Nested Schema : fallbackUsageCalculationGroups
Type: object
Show Source
Nested Schema : mainContact
Type: object
Show Source
Nested Schema : measuringComponents
Type: object
Show Source
Nested Schema : rateHistory
Type: object
Show Source
Nested Schema : servicePoints
Type: object
Show Source
Nested Schema : usageCalculationGroups
Type: object
Show Source
Nested Schema : usageSubscriptionType
Type: object
Type of Usage Subscription
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : dynamicOption
Type: object
Show Source
Nested Schema : dynamicOptionOverrides
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : dynamicOptionEvent
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : factor
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : calculationGroup
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
  • measuringComponent
  • Allowed Values: [ "D2CA", "D2SR", "ZZAA", "ZZBR", "ZZM1", "ZZM2", "ZZM3", "ZZM4", "ZZM5", "ZZS1", "ZZS2", "ZZSE", "ZZSI", "ZZSM", "ZZZL" ]
    The type of relationship between the usage subscription and the measuring component. * `D2CA` - Consumption Aggregator, * `D2SR` - Standalone Data Request, * `ZZAA` - Consumption Verification, * `ZZBR` - Component Relationship Type, * `ZZM1` - MC Relationship Type 1, * `ZZM2` - MC Relationship Type 2, * `ZZM3` - MC Relationship Type 3, * `ZZM4` - MC Relationship Type 4, * `ZZM5` - MC Relationship Type 5, * `ZZS1` - Standalone 1, * `ZZS2` - Standalone 2, * `ZZSE` - Self Scheduler External, * `ZZSI` - Self Scheduler Interval, * `ZZSM` - Self Scheduler Market, * `ZZZL` - Market Zonal Load
    Example: D2CA
Nested Schema : measuringComponent
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
  • An override date and time used to specify the start date and time when identifying measurements used to calculate usage for the usage subscription. If not specified, the Start Date/Time is used.
  • An override date and time used to specify the stop date time when identifying measurements used to calculate usage for the usage subscription. If not specified, the Stop Date/Time is used.
  • servicePoint
  • The start and end times that define the time period during which the usage subscription is active.
    Example: 2014-01-01T00:00:00-08:00
  • The stop date and time of the relationship between the usage subscription and the service point. All measurements used calculate usage for the usage subscription should have a stop date/time before than this date and time.
  • Allowed Values: [ "D1AD", "D1CK", "D1ST" ]
    A flag that indicates how the consumption from this service point is used when calculating usage for the usage subscription. * `D1AD` - Add, * `D1CK` - Exclude, * `D1ST` - Subtract
    Example: D1AD
  • Minimum Value: -999.99
    Maximum Value: 999.99
    The percentage of consumption from this service point that should be used when calculating usage for the usage subscription.
    Example: 100
Nested Schema : servicePoint
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : calculationGroup
Type: object
Show Source

400 Response

Bad Request
Body ()
Root Schema : problemDetailDocument
Type: object
Show Source
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 9999
    The HTTP Status code for the error.
  • Maximum Length: 60
    Fully qualified URL consisting of the Base URI Timestamp of error in ISO format, the User used for the transaction, the Message Category within Oracle Utilities Application Framework, the Message Number within Oracle Utilities Application Framework, the Request URL and the HTTP method used for the transaction.
  • Maximum Length: 60
    URL of the format "A/message/X/Y" where A is the base URI, X is the Message Category and Y is the Message Number within Oracle Utilities Application Framework.
  • serverMessage
  • Maximum Length: 60
    The stack trace shows where the error occurs during the execution of a program.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type: object
Show Source
  • Maximum Length: 60
    Delimited sequence of programs called.
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 0
    Message Category within Oracle Utilities Application Framework.
  • Minimum Value: -99999
    Maximum Value: 99999
    Message Number within Oracle Utilities Application Framework.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
  • Maximum Length: 60
    Name of the program that encountered the error.

500 Response

Internal Server Error
Body ()
Root Schema : problemDetailDocument
Type: object
Show Source
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 9999
    The HTTP Status code for the error.
  • Maximum Length: 60
    Fully qualified URL consisting of the Base URI Timestamp of error in ISO format, the User used for the transaction, the Message Category within Oracle Utilities Application Framework, the Message Number within Oracle Utilities Application Framework, the Request URL and the HTTP method used for the transaction.
  • Maximum Length: 60
    URL of the format "A/message/X/Y" where A is the base URI, X is the Message Category and Y is the Message Number within Oracle Utilities Application Framework.
  • serverMessage
  • Maximum Length: 60
    The stack trace shows where the error occurs during the execution of a program.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type: object
Show Source
  • Maximum Length: 60
    Delimited sequence of programs called.
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 0
    Message Category within Oracle Utilities Application Framework.
  • Minimum Value: -99999
    Maximum Value: 99999
    Message Number within Oracle Utilities Application Framework.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
  • Maximum Length: 60
    Name of the program that encountered the error.
Back to Top