swagger-api / swagger-api/swagger-codegen

Java client codegen Enumeration initialisation are backwards

Open
#8,513 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Description

Java client codegen generates classes where the enum variables are initialised as:
constant.Enum

For example;
private ActiveEnum active = NUMBER_1.ActiveEnum;

Where the correct output should be:
private ActiveEnum active = ActiveEnum.NUMBER_1;

Swagger-codegen version

https://oss.sonatype.org/content/repositories/snapshots/io/swagger/swagger-codegen-cli/3.0.0-SNAPSHOT/swagger-codegen-cli-3.0.0-20180717.153005-90.jar

Swagger declaration file content or url

{"openapi":"3.0.0","info":{"title":"Billing","description":"The Billing service is used to manage usage event rating, bill cycles and runs, account periods, and payment processing. This service corresponds to the Invision Billing module.","version":"18.3"},"servers":[{"url":"https://tig1.services.ascendon.tv/billing"}],"paths":{"/RetrieveBillingOperationsStatus":{"post":{"tags":["configuration"],"summary":"Retrieves the system status for billing operations.","operationId":"billing-retrieveBillingOperationsStatus","parameters":[{"$ref":"#/components/parameters/CD-AlternateCountry"},{"$ref":"#/components/parameters/CD-AlternateIp"},{"$ref":"#/components/parameters/CD-ContextId"},{"$ref":"#/components/parameters/CD-DeviceType"},{"$ref":"#/components/parameters/CD-DistributionChannel"},{"$ref":"#/components/parameters/CD-Language"},{"$ref":"#/components/parameters/CD-SessionId"},{"$ref":"#/components/parameters/CD-SystemId_Required"},{"$ref":"#/components/parameters/CD-Jwt"},{"$ref":"#/components/parameters/CD-JsonLongAsString"},{"$ref":"#/components/parameters/CD-User"},{"$ref":"#/components/parameters/CD-Password"},{"$ref":"#/components/parameters/CD-OAuthHeader"}],"requestBody":{"description":"Request to retrieve the status of the billing operations services.","required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Response from retrieving the status of the billing operations services.","content":{"application/json":{"schema":{"type":"object","properties":{"ContextId":{"type":"string","description":"The context id for this transaction, this id is carried through the system and included with any logs/errors that are recorded
This value may be used when contacting support to receive additional information about a specific error","minLength":0,"nullable":true},"Fault":{"$ref":"#/components/schemas/Fault"},"isAvailable":{"type":"boolean","description":"Is the target billing system available.","default":false,"nullable":true},"isConfigured":{"type":"boolean","description":"Indicates whether the system has been configured with the details required to connect to a target billing
system.","default":false,"nullable":true},"isQAEnabled":{"type":"boolean","description":"Is QA enabled for this billing system.","default":false,"nullable":true},"isTenantOperator":{"type":"boolean","description":"Is the user a user that acts as a tenant operator when accessing billing functionality.","default":false,"nullable":true},"userExternalReference":{"type":"integer","format":"int64","description":"The ID of the billing operator you are connecting as.","nullable":true}}}}}}},"x-session-level":"AuthenticatedUser"}},"/RetrieveOperationsConfig":{"post":{"tags":["configuration"],"summary":"Retrieves the Operations configuration details.","operationId":"billing-retrieveOperationsConfig","parameters":[{"$ref":"#/components/parameters/CD-AlternateCountry"},{"$ref":"#/components/parameters/CD-AlternateIp"},{"$ref":"#/components/parameters/CD-ContextId"},{"$ref":"#/components/parameters/CD-DeviceType"},{"$ref":"#/components/parameters/CD-DistributionChannel"},{"$ref":"#/components/parameters/CD-Language"},{"$ref":"#/components/parameters/CD-SessionId"},{"$ref":"#/components/parameters/CD-SystemId_Required"},{"$ref":"#/components/parameters/CD-Jwt"},{"$ref":"#/components/parameters/CD-JsonLongAsString"},{"$ref":"#/components/parameters/CD-User"},{"$ref":"#/components/parameters/CD-Password"},{"$ref":"#/components/parameters/CD-OAuthHeader"}],"requestBody":{"description":"Object describing the Operations configuration to be retrieved.","required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Object describing the retrieved Operations configuration.","content":{"application/json":{"schema":{"type":"object","properties":{"ContextId":{"type":"string","description":"The context id for this transaction, this id is carried through the system and included with any logs/errors that are recorded
This value may be used when contacting support to receive additional information about a specific error","minLength":0,"nullable":true},"defaults":{"type":"array","description":"The default settings for the configuration in the form of rows of key / value pairs.","items":{"$ref":"#/components/schemas/Configuration-BillingConfigurationRow"}},"Fault":{"$ref":"#/components/schemas/Fault"},"values":{"type":"array","description":"The current settings for the configuration in the form of rows of key / value pairs.","items":{"$ref":"#/components/schemas/Configuration-BillingConfigurationRow"}}}}}}}},"x-possible-faults":{"ErrorCodes":[{"Code":40000,"Name":"BillingGenericError","Description":"Generic error invoking billing","ErrorSubcode":null},{"Code":40012,"Name":"BillingOperationsNotConfigured","Description":"The system has not been configured to support billing operations for the selected business unit.","ErrorSubcode":null}]},"x-sec-attr":9605,"x-sec-attr-level":1,"x-session-level":"AuthenticatedUser"}},"/RetrieveImplementationConfig":{"post":{"tags":["configuration"],"summary":"Retrieves the Implementation configuration details.","operationId":"billing-retrieveImplementationConfig","parameters":[{"$ref":"#/components/parameters/CD-AlternateCountry"},{"$ref":"#/components/parameters/CD-AlternateIp"},{"$ref":"#/components/parameters/CD-ContextId"},{"$ref":"#/components/parameters/CD-DeviceType"},{"$ref":"#/components/parameters/CD-DistributionChannel"},{"$ref":"#/components/parameters/CD-Language"},{"$ref":"#/components/parameters/CD-SessionId"},{"$ref":"#/components/parameters/CD-SystemId_Required"},{"$ref":"#/components/parameters/CD-Jwt"},{"$ref":"#/components/parameters/CD-JsonLongAsString"},{"$ref":"#/components/parameters/CD-User"},{"$ref":"#/components/parameters/CD-Password"},{"$ref":"#/components/parameters/CD-OAuthHeader"}],"requestBody":{"description":"Object describing the Implementation configuration to be retrieved.","required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Object describing the retrieved Implementation configuration.","content":{"application/json":{"schema":{"type":"object","properties":{"ContextId":{"type":"string","description":"The context id for this transaction, this id is carried through the system and included with any logs/errors that are recorded
This value may be used when contacting support to receive additional information about a specific error","minLength":0,"nullable":true},"defaults":{"type":"array","description":"The default settings for the configuration in the form of rows of key / value pairs.","items":{"$ref":"#/components/schemas/Configuration-BillingConfigurationRow"}},"Fault":{"$ref":"#/components/schemas/Fault"},"values":{"type":"array","description":"The current settings for the configuration in the form of rows of key / value pairs.","items":{"$ref":"#/components/schemas/Configuration-BillingConfigurationRow"}}}}}}}},"x-possible-faults":{"ErrorCodes":[{"Code":40000,"Name":"BillingGenericError","Description":"Generic error invoking billing","ErrorSubcode":null},{"Code":40012,"Name":"BillingOperationsNotConfigured","Description":"The system has not been configured to support billing operations for the selected business unit.","ErrorSubcode":null}]},"x-sec-attr":9606,"x-sec-attr-level":1,"x-session-level":"AuthenticatedUser"}},"/RetrieveSystemConfig":{"post":{"tags":["configuration"],"summary":"Retrieves the System configuration details.","operationId":"billing-retrieveSystemConfig","parameters":[{"$ref":"#/components/parameters/CD-AlternateCountry"},{"$ref":"#/components/parameters/CD-AlternateIp"},{"$ref":"#/components/parameters/CD-ContextId"},{"$ref":"#/components/parameters/CD-DeviceType"},{"$ref":"#/components/parameters/CD-DistributionChannel"},{"$ref":"#/components/parameters/CD-Language"},{"$ref":"#/components/parameters/CD-SessionId"},{"$ref":"#/components/parameters/CD-SystemId_Required"},{"$ref":"#/components/parameters/CD-Jwt"},{"$ref":"#/components/parameters/CD-JsonLongAsString"},{"$ref":"#/components/parameters/CD-User"},{"$ref":"#/components/parameters/CD-Password"},{"$ref":"#/components/parameters/CD-OAuthHeader"}],"requestBody":{"description":"Object describing the Operations configuration to be retrieved.","required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Object describing the retrieved Operations configuration.","content":{"application/json":{"schema":{"type":"object","properties":{"ContextId":{"type":"string","description":"The context id for this transaction, this id is carried through the system and included with any logs/errors that are recorded
This value may be used when contacting support to receive additional information about a specific error","minLength":0,"nullable":true},"defaults":{"type":"array","description":"The default settings for the configuration in the form of rows of key / value pairs.","items":{"$ref":"#/components/schemas/Configuration-BillingConfigurationRow"}},"Fault":{"$ref":"#/components/schemas/Fault"},"values":{"type":"array","description":"The current settings for the configuration in the form of rows of key / value pairs.","items":{"$ref":"#/components/schemas/Configuration-BillingConfigurationRow"}}}}}}}},"x-possible-faults":{"ErrorCodes":[{"Code":40000,"Name":"BillingGenericError","Description":"Generic error invoking billing","ErrorSubcode":null},{"Code":40012,"Name":"BillingOperationsNotConfigured","Description":"The system has not been configured to support billing operations for the selected business unit.","ErrorSubcode":null}]},"x-sec-attr":9609,"x-sec-attr-level":1,"x-session-level":"AuthenticatedUser"}},"/UpdateOperationsConfig":{"post":{"tags":["configuration"],"summary":"Inserts, updates or deletes the Operations configuration details.","operationId":"billing-updateOperationsConfig","parameters":[{"$ref":"#/components/parameters/CD-AlternateCountry"},{"$ref":"#/components/parameters/CD-AlternateIp"},{"$ref":"#/components/parameters/CD-ContextId"},{"$ref":"#/components/parameters/CD-DeviceType"},{"$ref":"#/components/parameters/CD-DistributionChannel"},{"$ref":"#/components/parameters/CD-Language"},{"$ref":"#/components/parameters/CD-SessionId"},{"$ref":"#/components/parameters/CD-SystemId_Required"},{"$ref":"#/components/parameters/CD-Jwt"},{"$ref":"#/components/parameters/CD-JsonLongAsString"},{"$ref":"#/components/parameters/CD-User"},{"$ref":"#/components/parameters/CD-Password"},{"$ref":"#/components/parameters/CD-OAuthHeader"}],"requestBody":{"description":"Object describing the Operations configuration to be updated.","required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"values":{"type":"array","description":"Object representing configuration values","items":{"$ref":"#/components/schemas/Configuration-BillingConfigurationRow"}}}}}}},"responses":{"200":{"description":"Object describing the updated Operations configuration.","content":{"application/json":{"schema":{"type":"object","properties":{"ContextId":{"type":"string","description":"The context id for this transaction, this id is carried through the system and included with any logs/errors that are recorded
This value may be used when contacting support to receive additional information about a specific error","minLength":0,"nullable":true},"deletes":{"type":"integer","format":"int64","description":"The number of deleted configuration rows.","default":0,"nullable":true},"Fault":{"$ref":"#/components/schemas/Fault"},"inserts":{"type":"integer","format":"int64","description":"The number of inserted configuration rows.","default":0,"nullable":true},"updates":{"type":"integer","format":"int64","description":"The number of updated configuration rows.","default":0,"nullable":true}}}}}}},"x-possible-faults":{"ErrorCodes":[{"Code":40000,"Name":"BillingGenericError","Description":"Generic error invoking billing","ErrorSubcode":null},{"Code":40012,"Name":"BillingOperationsNotConfigured","Description":"The system has not been configured to support billing operations for the selected business unit.","ErrorSubcode":null},{"Code":40004,"Name":"ConfigDetailsNotFound","Description":"Unable to find any configuration details for the current business unit","ErrorSubcode":null},{"Code":40003,"Name":"ConfigEntityNotSupported","Description":"The configuration entity type provided is not suppported by the API","ErrorSubcode":null}]},"x-sec-attr":9605,"x-sec-attr-level":1,"x-session-level":"AuthenticatedUser"}},"/UpdateImplementationConfig":{"post":{"tags":["configuration"],"summary":"Inserts, updates or deletes the Implementation configuration details.","operationId":"billing-updateImplementationConfig","parameters":[{"$ref":"#/components/parameters/CD-AlternateCountry"},{"$ref":"#/components/parameters/CD-AlternateIp"},{"$ref":"#/components/parameters/CD-ContextId"},{"$ref":"#/components/parameters/CD-DeviceType"},{"$ref":"#/components/parameters/CD-DistributionChannel"},{"$ref":"#/components/parameters/CD-Language"},{"$ref":"#/components/parameters/CD-SessionId"},{"$ref":"#/components/parameters/CD-SystemId_Required"},{"$ref":"#/components/parameters/CD-Jwt"},{"$ref":"#/components/parameters/CD-JsonLongAsString"},{"$ref":"#/components/parameters/CD-User"},{"$ref":"#/components/parameters/CD-Password"},{"$ref":"#/components/parameters/CD-OAuthHeader"}],"requestBody":{"description":"Object describing the Implementation configuration to be updated.","required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"values":{"type":"array","description":"Object representing configuration values","items":{"$ref":"#/components/schemas/Configuration-BillingConfigurationRow"}}}}}}},"responses":{"200":{"description":"Object describing the updated Implementation configuration.","content":{"application/json":{"schema":{"type":"object","properties":{"ContextId":{"type":"string","description":"The context id for this transaction, this id is carried through the system and included with any logs/errors that are recorded
This value may be used when contacting support to receive additional information about a specific error","minLength":0,"nullable":true},"deletes":{"type":"integer","format":"int64","description":"The number of deleted configuration rows.","default":0,"nullable":true},"Fault":{"$ref":"#/components/schemas/Fault"},"inserts":{"type":"integer","format":"int64","description":"The number of inserted configuration rows.","default":0,"nullable":true},"updates":{"type":"integer","format":"int64","description":"The number of updated configuration rows.","default":0,"nullable":true}}}}}}},"x-possible-faults":{"ErrorCodes":[{"Code":40000,"Name":"BillingGenericError","Description":"Generic error invoking billing","ErrorSubcode":null},{"Code":40012,"Name":"BillingOperationsNotConfigured","Description":"The system has not been configured to support billing operations for the selected business unit.","ErrorSubcode":null},{"Code":40004,"Name":"ConfigDetailsNotFound","Description":"Unable to find any configuration details for the current business unit","ErrorSubcode":null},{"Code":40003,"Name":"ConfigEntityNotSupported","Description":"The configuration entity type provided is not suppported by the API","ErrorSubcode":null}]},"x-sec-attr":9606,"x-sec-attr-level":1,"x-session-level":"AuthenticatedUser"}},"/UpdateSystemConfig":{"post":{"tags":["configuration"],"summary":"Inserts, updates or deletes the System configuration details.","operationId":"billing-updateSystemConfig","parameters":[{"$ref":"#/components/parameters/CD-AlternateCountry"},{"$ref":"#/components/parameters/CD-AlternateIp"},{"$ref":"#/components/parameters/CD-ContextId"},{"$ref":"#/components/parameters/CD-DeviceType"},{"$ref":"#/components/parameters/CD-DistributionChannel"},{"$ref":"#/components/parameters/CD-Language"},{"$ref":"#/components/parameters/CD-SessionId"},{"$ref":"#/components/parameters/CD-SystemId_Required"},{"$ref":"#/components/parameters/CD-Jwt"},{"$ref":"#/components/parameters/CD-JsonLongAsString"},{"$ref":"#/components/parameters/CD-User"},{"$ref":"#/components/parameters/CD-Password"},{"$ref":"#/components/parameters/CD-OAuthHeader"}],"requestBody":{"description":"Object describing the System configuration to be updated.","required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"values":{"type":"array","description":"Object representing configuration values","items":{"$ref":"#/components/schemas/Configuration-BillingConfigurationRow"}}}}}}},"responses":{"200":{"description":"Object describing the updated System configuration.","content":{"application/json":{"schema":{"type":"object","properties":{"ContextId":{"type":"string","description":"The context id for this transaction, this id is carried through the system and included with any logs/errors that are recorded
This value may be used when contacting support to receive additional information about a specific error","minLength":0,"nullable":true},"deletes":{"type":"integer","format":"int64","description":"The number of deleted configuration rows.","default":0,"nullable":true},"Fault":{"$ref":"#/components/schemas/Fault"},"inserts":{"type":"integer","format":"int64","description":"The number of inserted configuration rows.","default":0,"nullable":true},"updates":{"type":"integer","format":"int64","description":"The number of updated configuration rows.","default":0,"nullable":true}}}}}}},"x-possible-faults":{"ErrorCodes":[{"Code":40000,"Name":"BillingGenericError","Description":"Generic error invoking billing","ErrorSubcode":null},{"Code":40012,"Name":"BillingOperationsNotConfigured","Description":"The system has not been configured to support billing operations for the selected business unit.","ErrorSubcode":null},{"Code":40004,"Name":"ConfigDetailsNotFound","Description":"Unable to find any configuration details for the current business unit","ErrorSubcode":null},{"Code":40003,"Name":"ConfigEntityNotSupported","Description":"The configuration entity type provided is not suppported by the API","ErrorSubcode":null}]},"x-sec-attr":9609,"x-sec-attr-level":1,"x-session-level":"AuthenticatedUser"}},"/SearchEvents":{"post":{"tags":["billingEvent"],"summary":"Searches for billing events matching the given search parameters.","operationId":"billing-searchEvents","parameters":[{"$ref":"#/components/parameters/CD-AlternateCountry"},{"$ref":"#/components/parameters/CD-AlternateIp"},{"$ref":"#/components/parameters/CD-ContextId"},{"$ref":"#/components/parameters/CD-DeviceType"},{"$ref":"#/components/parameters/CD-DistributionChannel"},{"$ref":"#/components/parameters/CD-Language"},{"$ref":"#/components/parameters/CD-SessionId"},{"$ref":"#/components/parameters/CD-SystemId_Required"},{"$ref":"#/components/parameters/CD-Jwt"},{"$ref":"#/components/parameters/CD-JsonLongAsString"},{"$ref":"#/components/parameters/CD-User"},{"$ref":"#/components/parameters/CD-Password"},{"$ref":"#/components/parameters/CD-OAuthHeader"}],"requestBody":{"description":"Object representing the Search to perform for billing events.","required":true,"content":{"application/json":{"schema":{"type":"object","required":["chargeStartDateMax","chargeStartDateMin","processEndDate","processStartDate"],"properties":{"chargeStartDateMax":{"type":"string","format":"date-time","description":"The upper bound of the date range to search for chargeStartDate. Must be greater than or equal to chargeStartDateMin."},"chargeStartDateMin":{"type":"string","format":"date-time","description":"The lower bound of the date range to search for chargeStartDate. Must be less than or equal to chargeStartDateMax."},"cPartyId":{"type":"string","description":"Identifies the chargeable party service to be queried.","maxLength":64,"minLength":0,"nullable":true},"errorEvents":{"type":"integer","format":"int64","description":"Indicates errors should be queried. Otherwise events will be queried.","maximum":1,"minimum":0,"nullable":true},"errorMessageId":{"type":"integer","format":"int64","description":"The error message id associated with the event error.","maximum":99999999,"nullable":true},"eventSource":{"type":"string","description":"The event source specified in the normalised event file.","maxLength":40,"minLength":0,"nullable":true},"eventSubTypeCode":{"type":"string","description":"The Event subtype code from the EVENT_SUBTYPE reference type.","minLength":0,"nullable":true,"x-code-table-value":380},"eventTypeCode":{"type":"string","description":"The Event type code from the EVENT_TYPE reference type.","minLength":0,"nullable":true,"x-code-table-value":379},"filename":{"type":"string","description":"The name of the normalised event file to fetch events from.","maxLength":255,"minLength":0,"nullable":true},"includeAll":{"type":"integer","format":"int64","description":"Indicates that both reprocessible and non-reprocessible billing events should be queried.","default":0,"nullable":true},"processEndDate":{"type":"string","format":"date-time","description":"The ProcessEndDate from the normalised event file, must specify the processStartDate if used."},"processStartDate":{"type":"string","format":"date-time","description":"The ProcessStartDate from the normalised event file, must specify the processEndDate if used."}}}}}},"responses":{"200":{"description":"Object representing the result of the billing events search.","content":{"application/json":{"schema":{"type":"object","properties":{"ContextId":{"type":"string","description":"The context id for this transaction, this id is carried through the system and included with any logs/errors that are recorded
This value may be used when contacting support to receive additional information about a specific error","minLength":0,"nullable":true},"data":{"type":"array","description":"A collection of up to 100 of the most recent billing events matching the search.","items":{"$ref":"#/components/schemas/Billing-Event"}},"Fault":{"$ref":"#/components/schemas/Fault"},"totalRows":{"type":"integer","format":"int64","description":"The total number of billing events that matched the request.","default":0,"nullable":true}}}}}}},"x-possible-faults":{"ErrorCodes":[{"Code":40001,"Name":"BillingEventNotFound","Description":"Did not find any events for the specified criteria","ErrorSubcode":null},{"Code":40000,"Name":"BillingGenericError","Description":"Generic error invoking billing","ErrorSubcode":null},{"Code":40012,"Name":"BillingOperationsNotConfigured","Description":"The system has not been configured to support billing operations for the selected business unit.","ErrorSubcode":null},{"Code":40013,"Name":"TaskLimitExcludesDates","Description":"Schedule search allows either a historic task limit, or minimum and maximum dates, but not both.","ErrorSubcode":null}]},"x-sec-attr":9601,"x-sec-attr-type":"Boolean","x-sec-attr-name":"Billing Operations Reprocessing Access","x-sec-attr-level":1,"x-session-level":"AuthenticatedUser"}},"/RetrieveEvent":{"post":{"tags":["billingEvent"],"summary":"Object representing an individual billing event.","operationId":"billing-retrieveEvent","parameters":[{"$ref":"#/components/parameters/CD-AlternateCountry"},{"$ref":"#/components/parameters/CD-AlternateIp"},{"$ref":"#/components/parameters/CD-ContextId"},{"$ref":"#/components/parameters/CD-DeviceType"},{"$ref":"#/components/parameters/CD-DistributionChannel"},{"$ref":"#/components/parameters/CD-Language"},{"$ref":"#/components/parameters/CD-SessionId"},{"$ref":"#/components/parameters/CD-SystemId_Required"},{"$ref":"#/components/parameters/CD-Jwt"},{"$ref":"#/components/parameters/CD-JsonLongAsString"},{"$ref":"#/components/parameters/CD-User"},{"$ref":"#/components/parameters/CD-Password"},{"$ref":"#/components/parameters/CD-OAuthHeader"}],"requestBody":{"description":"Fetch a specific billing event. Currently only supports fetching event error objects.","required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer","format":"int64","description":"The ID of the Event Error to retrieve."}}}}}},"responses":{"200":{"description":"Object representing the Billing response.","content":{"application/json":{"schema":{"type":"object","properties":{"ContextId":{"type":"string","description":"The context id for this transaction, this id is carried through the system and included with any logs/errors that are recorded
This value may be used when contacting support to receive additional information about a specific error","minLength":0,"nullable":true},"data":{"$ref":"#/components/schemas/Billing-Event"},"Fault":{"$ref":"#/components/schemas/Fault"}}}}}}},"x-possible-faults":{"ErrorCodes":[{"Code":40001,"Name":"BillingEventNotFound","Description":"Did not find any events for the specified criteria","ErrorSubcode":null},{"Code":40000,"Name":"BillingGenericError","Description":"Generic error invoking billing","ErrorSubcode":null},{"Code":40012,"Name":"BillingOperationsNotConfigured","Description":"The system has not been configured to support billing operations for the selected business unit.","ErrorSubcode":null}]},"x-sec-attr":9601,"x-sec-attr-type":"Boolean","x-sec-attr-name":"Billing Operations Reprocessing Access","x-sec-attr-level":1,"x-session-level":"AuthenticatedUser"}},"/RunReprocessEvents":{"post":{"tags":["billingEvent"],"summary":"Reprocess events based on search parameters.","operationId":"billing-runReprocessEvents","parameters":[{"$ref":"#/components/parameters/CD-AlternateCountry"},{"$ref":"#/components/parameters/CD-AlternateIp"},{"$ref":"#/components/parameters/CD-ContextId"},{"$ref":"#/components/parameters/CD-DeviceType"},{"$ref":"#/components/parameters/CD-DistributionChannel"},{"$ref":"#/components/parameters/CD-Language"},{"$ref":"#/components/parameters/CD-SessionId"},{"$ref":"#/components/parameters/CD-SystemId_Required"},{"$ref":"#/components/parameters/CD-Jwt"},{"$ref":"#/components/parameters/CD-JsonLongAsString"},{"$ref":"#/components/parameters/CD-User"},{"$ref":"#/components/parameters/CD-Password"},{"$ref":"#/components/parameters/CD-OAuthHeader"}],"requestBody":{"description":"Reprocess Events using search parameters","required":true,"content":{"application/json":{"schema":{"type":"object","required":["chargeStartDateMax","chargeStartDateMin","executionEmail","processEndDate","processStartDate","totalEvents"],"properties":{"chargeStartDateMax":{"type":"string","format":"date-time","description":"The upper bound of the date range to search for chargeStartDate. Must be greater than or equal to chargeStartDateMin."},"chargeStartDateMin":{"type":"string","format":"date-time","description":"The lower bound of the date range to search for chargeStartDate. Must be less than or equal to chargeStartDateMax."},"cPartyId":{"type":"string","description":"Identifies the chargeable party service to be queried.","maxLength":64,"minLength":0,"nullable":true},"creationEmail":{"type":"string","description":"Email address for notifications regarding the creation of the schedule.","maxLength":255,"minLength":1,"pattern":"^([\w+-.%]+@[\w-.]+\.[A-Za-z]{2,4}\s*[,,;]?\s*)$","nullable":true},"errorEvents":{"type":"integer","format":"int64","description":"Indicates errors should be queried. Otherwise events will be queried.","maximum":1,"minimum":0,"nullable":true},"errorMessageId":{"type":"integer","format":"int64","description":"The error message id associated with the event error.","maximum":99999999,"nullable":true},"eventSource":{"type":"string","description":"The event source specified in the normalised event file.","maxLength":40,"minLength":0,"nullable":true},"eventSubTypeCode":{"type":"string","description":"The Event subtype code from the EVENT_SUBTYPE reference type.","minLength":0,"nullable":true,"x-code-table-value":380},"eventTypeCode":{"type":"string","description":"The Event type code from the EVENT_TYPE reference type.","minLength":0,"nullable":true,"x-code-table-value":379},"executionEmail":{"type":"string","description":"Email address for notifications regarding the execution of the schedule.","maxLength":255,"minLength":1,"pattern":"^([\w+-.%]+@[\w-.]+\.[A-Za-z]{2,4}\s[,,;]?\s*)$"},"filename":{"type":"string","description":"The name of the normalised event file to fetch events from.","maxLength":255,"minLength":0,"nullable":true},"includeAll":{"type":"integer","format":"int64","description":"Indicates that both reprocessible and non-reprocessible billing events should be queried.","default":0,"nullable":true},"processEndDate":{"type":"string","format":"date-time","description":"The ProcessEndDate from the normalised event file, must specify the processStartDate if used."},"processStartDate":{"type":"string","format":"date-time","description":"The ProcessStartDate from the normalised event file, must specify the processEndDate if used."},"startDate":{"type":"string","format":"date-time","description":"Execution date/time for the first run schedule.","nullable":true},"totalEvents":{"type":"integer","format":"int64","description":"Total number of events for reprocessing"}}}}}},"responses":{"200":{"description":"Object representing the result of submitting events for reprocessing.","content":{"application/json":{"schema":{"type":"object","properties":{"ContextId":{"type":"string","description":"The context id for this transaction, this id is carried through the system and included with any logs/errors that are recorded
This value may be used when contacting support to receive additional information about a specific error","minLength":0,"nullable":true},"Fault":{"$ref":"#/components/schemas/Fault"},"scheduleId":{"type":"integer","format":"int64","description":"The unique identifier for the created schedule, which will run asynchronously.","default":0,"nullable":true}}}}}}},"x-possible-faults":{"ErrorCodes":[{"Code":40000,"Name":"BillingGenericError","Description":"Generic error invoking billing","ErrorSubcode":null},{"Code":40012,"Name":"BillingOperationsNotConfigured","Description":"The system has not been configured to support billing operations for the selected business unit.","ErrorSubcode":null},{"Code":40002,"Name":"FailedToScheduleTask","Description":"A failure occurred scheduling a task","ErrorSubcode":null}]},"x-sec-attr":9601,"x-sec-attr-type":"Boolean","x-sec-attr-name":"Billing Operations Reprocessing Access","x-sec-attr-level":1,"x-session-level":"AuthenticatedUser"}},"/CreateRatingSchedule":{"post":{"tags":["schedules"],"summary":"Schedules rating to run periodically.","operationId":"billing-createRatingSchedule","parameters":[{"$ref":"#/components/parameters/CD-AlternateCountry"},{"$ref":"#/components/parameters/CD-AlternateIp"},{"$ref":"#/components/parameters/CD-ContextId"},{"$ref":"#/components/parameters/CD-DeviceType"},{"$ref":"#/components/parameters/CD-DistributionChannel"},{"$ref":"#/components/parameters/CD-Language"},{"$ref":"#/components/parameters/CD-SessionId"},{"$ref":"#/components/parameters/CD-SystemId_Required"},{"$ref":"#/components/parameters/CD-Jwt"},{"$ref":"#/components/parameters/CD-JsonLongAsString"},{"$ref":"#/components/parameters/CD-User"},{"$ref":"#/components/parameters/CD-Password"},{"$ref":"#/components/parameters/CD-OAuthHeader"}],"requestBody":{"description":"Create a schedule for rating events.","required":true,"content":{"application/json":{"schema":{"type":"object","required":["description","executionEmail","filePattern","repeatInterval","scheduleName"],"properties":{"creationEmail":{"type":"string","description":"Email address for notifications regarding the creation of the schedule.","maxLength":255,"minLength":1,"pattern":"^([\w+-.%]+@[\w-.]+\.[A-Za-z]{2,4}\s
[,,;]?\s*)$","nullable":true},"description":{"type":"string","description":"Description for the new schedule.","maxLength":4000,"minLength":1},"executionEmail":{"type":"string","description":"Email address for notifications regarding the execution of the schedule.","maxLength":255,"minLength":1,"pattern":"^([\w+-.%]+@[\w-.]+\.[A-Za-z]{2,4}\s[,,;]?\s*)$"},"filePattern":{"type":"string","description":"The file pattern to identify files for rating.","maxLength":255,"minLength":1},"fileSource":{"type":"string","description":"A free text description which can be supplied to identify files and events for rating.","maxLength":255,"minLength":0,"nullable":true},"repeatInterval":{"type":"integer","format":"int64","description":"Interval units between the scheduled tasks.","maximum":99999999,"minimum":1},"repeatType":{"type":"integer","format":"int32","description":"Interval unit type for the scheduled tasks.","default":9,"enum":[3,9],"nullable":true,"x-enum-descriptions":{"3":"Month: Month","9":"Second: Second"}},"scheduleName":{"type":"string","description":"Name of the schedule to create.","maxLength":60,"minLength":1},"startDate":{"type":"string","format":"date-time","description":"Execution date/time for the first run schedule.","nullable":true}}}}}},"responses":{"200":{"description":"Result from creating a schedule.","content":{"application/json":{"schema":{"type":"object","properties":{"ContextId":{"type":"string","description":"The context id for this transaction, this id is carried through the system and included with any logs/errors that are recorded
This value may be used when contacting support to receive additional information about a specific error","minLength":0,"nullable":true},"Fault":{"$ref":"#/components/schemas/Fault"},"scheduleId":{"type":"integer","format":"int64","description":"The unique identifier for the created schedule, which will run asynchronously.","default":0,"nullable":true}}}}}}},"x-possible-faults":{"ErrorCodes":[{"Code":40000,"Name":"BillingGenericError","Description":"Generic error invoking billing","ErrorSubcode":null},{"Code":40012,"Name":"BillingOperationsNotConfigured","Description":"The system has not been configured to support billing operations for the selected business unit.","ErrorSubcode":null},{"Code":40006,"Name":"DuplicateScheduleName","Description":"Schedule create failed because the specified name is a duplicate","ErrorSubcode":null},{"Code":40005,"Name":"FailedToCreateSchedule","Description":"A failure occurred creating a recurring schedule","ErrorSubcode":null},{"Code":40016,"Name":"UnsupportedIntervalType","Description":"The API does not support the use of this interval type.","ErrorSubcode":null}]},"x-sec-attr":9602,"x-sec-attr-type":"Boolean","x-sec-attr-name":"Billing Operations Schedule Rating Access","x-sec-attr-level":1,"x-session-level":"AuthenticatedUser"}},"/UpdateRatingSchedule":{"post":{"tags":["schedules"],"summary":"Updates a rating schedule.","operationId":"billing-updateRatingSchedule","parameters":[{"$ref":"#/components/parameters/CD-AlternateCountry"},{"$ref":"#/components/parameters/CD-AlternateIp"},{"$ref":"#/components/parameters/CD-ContextId"},{"$ref":"#/components/parameters/CD-DeviceType"},{"$ref":"#/components/parameters/CD-DistributionChannel"},{"$ref":"#/components/parameters/CD-Language"},{"$ref":"#/components/parameters/CD-SessionId"},{"$ref":"#/components/parameters/CD-SystemId_Required"},{"$ref":"#/components/parameters/CD-Jwt"},{"$ref":"#/components/parameters/CD-JsonLongAsString"},{"$ref":"#/components/parameters/CD-User"},{"$ref":"#/components/parameters/CD-Password"},{"$ref":"#/components/parameters/CD-OAuthHeader"}],"requestBody":{"description":"Update a schedule for rating events.","required":true,"content":{"application/json":{"schema":{"type":"object","required":["active","description","executionEmail","repeatInterval"],"properties":{"active":{"type":"integer","format":"int32","description":"Flag whether schedule should be active or not.","default":1,"enum":[1,2],"x-enum-descriptions":{"1":"Active: Schedule is active.","2":"Complete: Schedule is complete."}},"description":{"type":"string","description":"Description for the schedule.","maxLength":4000,"minLength":0},"executionEmail":{"type":"string","description":"Email address for notifications regarding the execution of the schedule.","maxLength":255,"minLength":0,"pattern":"^([\w+-.%]+@[\w-.]+\.[A-Za-z]{2,4}\s
[,,;]?\s*)$"},"filePattern":{"type":"string","description":"The file pattern to identify files for rating.","maxLength":255,"minLength":0,"nullable":true},"fileSource":{"type":"string","description":"A free text description which can be supplied to identify files and events for rating.","maxLength":255,"minLength":0,"nullable":true},"repeatInterval":{"type":"integer","format":"int64","description":"Interval between the scheduled tasks.","maximum":99999999},"repeatType":{"type":"integer","format":"int32","description":"Interval unit type for the scheduled tasks.","enum":[3,9],"nullable":true,"x-enum-descriptions":{"3":"Month: Month","9":"Second: Second"}},"scheduleId":{"type":"integer","format":"int64","description":"The unique identifier for the schedule.","default":0,"nullable":true},"updateEmail":{"type":"string","description":"Email address for notifications regarding the update of the schedule.","maxLength":255,"minLength":1,"pattern":"^([\w+-.%]+@[\w-.]+\.[A-Za-z]{2,4}\s[,,;]?\s*)$","nullable":true}}}}}},"responses":{"200":{"description":"Result from updating a schedule.","content":{"application/json":{"schema":{"type":"object","properties":{"ContextId":{"type":"string","description":"The context id for this transaction, this id is carried through the system and included with any logs/errors that are recorded
This value may be used when contacting support to receive additional information about a specific error","minLength":0,"nullable":true},"data":{"type":"array","description":"data Property","items":{"$ref":"#/components/schemas/Schedule-ScheduleSummary"}},"Fault":{"$ref":"#/components/schemas/Fault"}}}}}}},"x-possible-faults":{"ErrorCodes":[{"Code":40000,"Name":"BillingGenericError","Description":"Generic error invoking billing","ErrorSubcode":null},{"Code":40012,"Name":"BillingOperationsNotConfigured","Description":"The system has not been configured to support billing operations for the selected business unit.","ErrorSubcode":null},{"Code":40015,"Name":"FailedToUpdateSchedule","Description":"A failure occurred updating a recurring schedule","ErrorSubcode":null},{"Code":40016,"Name":"UnsupportedIntervalType","Description":"The API does not support the use of this interval type.","ErrorSubcode":null}]},"x-sec-attr":9602,"x-sec-attr-type":"Boolean","x-sec-attr-name":"Billing Operations Schedule Rating Access","x-sec-attr-level":1,"x-session-level":"AuthenticatedUser"}},"/RunRating":{"post":{"tags":["tasks"],"summary":"Schedules rating to run once.","operationId":"billing-runRating","parameters":[{"$ref":"#/components/parameters/CD-AlternateCountry"},{"$ref":"#/components/parameters/CD-AlternateIp"},{"$ref":"#/components/parameters/CD-ContextId"},{"$ref":"#/components/parameters/CD-DeviceType"},{"$ref":"#/components/parameters/CD-DistributionChannel"},{"$ref":"#/components/parameters/CD-Language"},{"$ref":"#/components/parameters/CD-SessionId"},{"$ref":"#/components/parameters/CD-SystemId_Required"},{"$ref":"#/components/parameters/CD-Jwt"},{"$ref":"#/components/parameters/CD-JsonLongAsString"},{"$ref":"#/components/parameters/CD-User"},{"$ref":"#/components/parameters/CD-Password"},{"$ref":"#/components/parameters/CD-OAuthHeader"}],"requestBody":{"description":"Create a one off schedule for rating events.","required":true,"content":{"application/json":{"schema":{"type":"object","required":["executionEmail","filePattern"],"properties":{"creationEmail":{"type":"string","description":"Email address for notifications regarding the creation of the schedule.","maxLength":255,"minLength":1,"pattern":"^([\w+-.%]+@[\w-.]+\.[A-Za-z]{2,4}\s
[,,;]?\s*)$","nullable":true},"executionEmail":{"type":"string","description":"Email address for notifications regarding the execution of the schedule.","maxLength":255,"minLength":1,"pattern":"^([\w+-.%]+@[\w-.]+\.[A-Za-z]{2,4}\s[,,;]?\s*)$"},"filePattern":{"type":"string","description":"The file pattern to identify files for rating.","maxLength":255,"minLength":1},"fileSource":{"type":"string","description":"A free text description which can be supplied to identify files and events for rating.","maxLength":255,"minLength":0,"nullable":true},"startDate":{"type":"string","format":"date-time","description":"Execution date/time for the first run schedule.","nullable":true}}}}}},"responses":{"200":{"description":"Result from creating a schedule.","content":{"application/json":{"schema":{"type":"object","properties":{"ContextId":{"type":"string","description":"The context id for this transaction, this id is carried through the system and included with any logs/errors that are recorded
This value may be used when contacting support to receive additional information about a specific error","minLength":0,"nullable":true},"Fault":{"$ref":"#/components/schemas/Fault"},"scheduleId":{"type":"integer","format":"int64","description":"The unique identifier for the created schedule, which will run asynchronously.","default":0,"nullable":true}}}}}}},"x-possible-faults":{"ErrorCodes":[{"Code":40000,"Name":"BillingGenericError","Description":"Generic error invoking billing","ErrorSubcode":null},{"Code":40012,"Name":"BillingOperationsNotConfigured","Description":"The system has not been configured to support billing operations for the selected business unit.","ErrorSubcode":null},{"Code":40002,"Name":"FailedToScheduleTask","Description":"A failure occurred scheduling a task","ErrorSubcode":null}]},"x-sec-attr":9603,"x-sec-attr-type":"Boolean","x-sec-attr-name":"Billing Operations Run Rating Access","x-sec-attr-level":1,"x-session-level":"AuthenticatedUser"}},"/RunRevokeRating":{"post":{"tags":["tasks"],"summary":"Schedules revoking of rating to run once.","operationId":"billing-runRevokeRating","parameters":[{"$ref":"#/components/parameters/CD-AlternateCountry"},{"$ref":"#/components/parameters/CD-AlternateIp"},{"$ref":"#/components/parameters/CD-ContextId"},{"$ref":"#/components/parameters/CD-DeviceType"},{"$ref":"#/components/parameters/CD-DistributionChannel"},{"$ref":"#/components/parameters/CD-Language"},{"$ref":"#/components/parameters/CD-SessionId"},{"$ref":"#/components/parameters/CD-SystemId_Required"},{"$ref":"#/components/parameters/CD-Jwt"},{"$ref":"#/components/parameters/CD-JsonLongAsString"},{"$ref":"#/components/parameters/CD-User"},{"$ref":"#/components/parameters/CD-Password"},{"$ref":"#/components/parameters/CD-OAuthHeader"}],"requestBody":{"description":"Create a one off schedule for revoking rating events.","required":true,"content":{"application/json":{"schema":{"type":"object","required":["executionEmail","filePattern","filesRerateable"],"properties":{"creationEmail":{"type":"string","description":"Email address for notifications regarding the creation of the schedule.","maxLength":255,"minLength":1,"pattern":"^([\w+-.%]+@[\w-.]+\.[A-Za-z]{2,4}\s
[,,;]?\s*)$","nullable":true},"executionEmail":{"type":"string","description":"Email address for notifications regarding the execution of the schedule.","maxLength":255,"minLength":1,"pattern":"^([\w+-.%]+@[\w-.]+\.[A-Za-z]{2,4}\s[,,;]?\s*)*$"},"filePattern":{"type":"string","description":"The file pattern to identify files to be revoked.","maxLength":255,"minLength":1},"filesRerateable":{"type":"integer","format":"int64","description":"If true, files will be moved back to the input directory after being revoked."},"startDate":{"type":"string","format":"date-time","description":"Execution date/time for the first run schedule.","nullable":true}}}}}},"responses":{"200":{"description":"Result from creating a schedule.","content":{"application/json":{"schema":{"type":"object","properties":{"ContextId":{"type":"string","description":"The context id for this transaction, this id is carried through the system and included with any logs/errors that are recorded
This value may be used when contacting support to receive additional information about a specific error","minLength":0,"nullable":true},"Fault":{"$ref":"#/components/schemas/Fault"},"scheduleId":{"type":"integer","format":"int64","description":"The unique identifier for the created schedule, which will run asynchronously.","default":0,"nullable":true}}}}}}},"x-possible-faults":{"ErrorCodes":[{"Code":40000,"Name":"BillingGenericError","Description":"Generic error invoking billing","ErrorSubcode":null},{"Code":40012,"Name":"BillingOperationsNotConfigured","Description":"The system has not been configured to support billing operations for the selected business unit.","ErrorSubcode":null},{"Code":40002,"Name":"FailedToScheduleTask","Description":"A failure occurred scheduling a task","ErrorSubcode":null},{"Code":40007,"Name":"InvalidFilePattern","Description":"Invalid file pattern specified for schedule","ErrorSubcode":null}]},"x-sec-attr":9604,"x-sec-attr-type":"Boolean","x-sec-attr-name":"Billing Operations Revoke Rating Access","x-sec-attr-level":1,"x-session-level":"AuthenticatedUser"}},"/SearchSchedules":{"post":{"tags":["schedules"],"summary":"Searches schedules with associated tasks matching the given search parameters.
Only active schedules are returned.","operationId":"billing-searchSchedules","parameters":[{"$ref":"#/components/parameters/CD-AlternateCountry"},{"$ref":"#/components/parameters/CD-AlternateIp"},{"$ref":"#/components/parameters/CD-ContextId"},{"$ref":"#/components/parameters/CD-DeviceType"},{"$ref":"#/components/parameters/CD-DistributionChannel"},{"$ref":"#/components/parameters/CD-Language"},{"$ref":"#/components/parameters/CD-SessionId"},{"$ref":"#/components/parameters/CD-SystemId_Required"},{"$ref":"#/components/parameters/CD-Jwt"},{"$ref":"#/components/parameters/CD-JsonLongAsString"},{"$ref":"#/components/parameters/CD-User"},{"$ref":"#/components/parameters/CD-Password"},{"$ref":"#/components/parameters/CD-OAuthHeader"}],"requestBody":{"description":"Request object containing basic parameters for searching schedules","required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"healthCode":{"type":"integer","format":"int64","description":"Health Code.","nullable":true,"x-code-table-value":455},"historicTaskLimit":{"type":"integer","format":"int64","description":"Historic Task Limit, rather than minimum date and maximum date, fetch up to the limit of the most recent
completed tasks. Also return the first incomplete (or pending if a task is not running) task.","minimum":0,"nullable":true},"maximumDate":{"type":"string","format":"date-time","description":"Maximum date of the searching date range.","nullable":true},"maximumInterval":{"type":"integer","format":"int64","description":"Maximum interval of the schedule frequency.","nullable":true},"minimumDate":{"type":"string","format":"date-time","description":"Minimum date of the searching date range.","nullable":true},"minimumInterval":{"type":"integer","format":"int64","description":"Minimum interval of the schedule frequency.","nullable":true},"scheduleName":{"type":"string","description":"Schedule name.","maxLength":60,"minLength":0,"nullable":true},"scheduleTypeId":{"type":"array","description":"List of schedule type ids.","items":{"type":"integer","format":"int64"}},"startRepeatTypeCode":{"type":"integer","format":"int64","description":"Repeat interval type of the schedule","maximum":9,"minimum":3,"nullable":true}}}}}},"responses":{"200":{"description":"Result from searching schedules.","content":{"application/json":{"schema":{"type":"object","properties":{"ContextId":{"type":"string","description":"The context id for this transaction, this id is carried through the system and included with any logs/errors that are recorded
This value may be used when contacting support to receive additional information about a specific error","minLength":0,"nullable":true},"data":{"type":"array","description":"A collection of schedules with associated tasks matching the search.","items":{"$ref":"#/components/schemas/Schedule-ScheduleSummary"}},"Fault":{"$ref":"#/components/schemas/Fault"},"totalRows":{"type":"integer","format":"int64","description":"The total number of schedules that matched the request.","default":0,"nullable":true}}}}}}},"x-possible-faults":{"ErrorCodes":[{"Code":40000,"Name":"BillingGenericError","Description":"Generic error invoking billing","ErrorSubcode":null},{"Code":40012,"Name":"BillingOperationsNotConfigured","Description":"The system has not been configured to support billing operations for the selected business unit.","ErrorSubcode":null}]},"x-sec-attr":9600,"x-sec-attr-type":"Boolean","x-sec-attr-name":"Billing Operations Access","x-sec-attr-level":1,"x-session-level":"AuthenticatedUser"}},"/SearchTasks":{"post":{"tags":["tasks"],"summary":"Searches for tasks matching the given search parameters.","operationId":"billing-searchTasks","parameters":[{"$ref":"#/components/parameters/CD-AlternateCountry"},{"$ref":"#/components/parameters/CD-AlternateIp"},{"$ref":"#/components/parameters/CD-ContextId"},{"$ref":"#/components/parameters/CD-DeviceType"},{"$ref":"#/components/parameters/CD-DistributionChannel"},{"$ref":"#/components/parameters/CD-Language"},{"$ref":"#/components/parameters/CD-SessionId"},{"$ref":"#/components/parameters/CD-SystemId_Required"},{"$ref":"#/components/parameters/CD-Jwt"},{"$ref":"#/components/parameters/CD-JsonLongAsString"},{"$ref":"#/components/parameters/CD-User"},{"$ref":"#/components/parameters/CD-Password"},{"$ref":"#/components/parameters/CD-OAuthHeader"}],"requestBody":{"description":"Search Task Request","required":true,"content":{"application/json":{"schema":{"type":"object","required":["pageSize"],"properties":{"pageNumber":{"type":"integer","format":"int64","description":"pageNumber Property","default":1,"minimum":1,"nullable":true},"pageSize":{"type":"integer","format":"int64","description":"Number of tasks returned in the response.","default":100,"maximum":100,"minimum":1},"runDateMax":{"type":"string","format":"date-time","description":"The upper bound of the date range to search for task execution.
Must be greater than or equal to runDateMin.","nullable":true},"runDateMin":{"type":"string","format":"date-time","description":"The lower bound of the date range to search for task execution.
Must be less than or equal to runDateMax.","nullable":true},"scheduleName":{"type":"string","description":"Schedule name to search on.","minLength":0,"nullable":true},"scheduleTypeId":{"type":"array","description":"List of schedule type ids to search on.","items":{"type":"integer","format":"int64"}},"taskId":{"type":"integer","format":"int64","description":"Task identifier to search on.","nullable":true},"taskStatusCode":{"type":"array","description":"List of status codes of the task to search on.","items":{"type":"integer","format":"int64"}},"taskType":{"type":"integer","format":"int32","description":"Task type to search on.","default":0,"enum":[0,1,2],"nullable":true,"x-enum-descriptions":{"0":"Any: Search for any type of tasks.","1":"OneTime: Search for one-time tasks.","2":"Recurring: Search for recurring tasks."}}}}}}},"responses":{"200":{"description":"Search Task Response","content":{"application/json":{"schema":{"type":"object","properties":{"ContextId":{"type":"string","description":"The context id for this transaction, this id is carried through the system and included with any logs/errors that are recorded
This value may be used when contacting support to receive additional information about a specific error","minLength":0,"nullable":true},"data":{"type":"array","description":"Tasks matching the search criteria.","items":{"$ref":"#/components/schemas/Schedule-TaskSummary"}},"Fault":{"$ref":"#/components/schemas/Fault"},"pageCount":{"type":"integer","format":"int64","description":"The total number of pages of results considering the current page size.","nullable":true},"totalRows":{"type":"integer","format":"int64","description":"The total number of records which matched the search conditions.","default":0,"nullable":true}}}}}}},"x-possible-faults":{"ErrorCodes":[{"Code":40000,"Name":"BillingGenericError","Description":"Generic error invoking billing","ErrorSubcode":null},{"Code":40012,"Name":"BillingOperationsNotConfigured","Description":"The system has not been configured to support billing operations for the selected business unit.","ErrorSubcode":null},{"Code":40022,"Name":"SearchBillRunOperationUnsupported","Description":"Searching of 'Standard Bill Run' operation is not supported.","ErrorSubcode":null}]},"x-sec-attr":9600,"x-sec-attr-type":"Boolean","x-sec-attr-name":"Billing Operations Access","x-sec-attr-level":1,"x-session-level":"AuthenticatedUser"}},"/RetrieveRatingTask":{"post":{"tags":["tasks"],"summary":"Retrieves a specific rating task.","operationId":"billing-retrieveRatingTask","parameters":[{"$ref":"#/components/parameters/CD-AlternateCountry"},{"$ref":"#/components/parameters/CD-AlternateIp"},{"$ref":"#/components/parameters/CD-ContextId"},{"$ref":"#/components/parameters/CD-DeviceType"},{"$ref":"#/components/parameters/CD-DistributionChannel"},{"$ref":"#/components/parameters/CD-Language"},{"$ref":"#/components/parameters/CD-SessionId"},{"$ref":"#/components/parameters/CD-SystemId_Required"},{"$ref":"#/components/parameters/CD-Jwt"},{"$ref":"#/components/parameters/CD-JsonLongAsString"},{"$ref":"#/components/parameters/CD-User"},{"$ref":"#/components/parameters/CD-Password"},{"$ref":"#/components/parameters/CD-OAuthHeader"}],"requestBody":{"description":"Fetch a specific task.","required":true,"content":{"application/json":{"schema":{"type":"object","required":["taskId"],"properties":{"taskId":{"type":"integer","format":"int64","description":"The ID of the Task to retrieve."}}}}}},"responses":{"200":{"description":"Object representing the response.","content":{"application/json":{"schema":{"type":"object","properties":{"ContextId":{"type":"string","description":"The context id for this transaction, this id is carried through the system and included with any logs/errors that are recorded
This value may be used when contacting support to receive additional information about a specific error","minLength":0,"nullable":true},"data":{"$ref":"#/components/schemas/Schedule-RatingTaskSummary"},"Fault":{"$ref":"#/components/schemas/Fault"}}}}}}},"x-possible-faults":{"ErrorCodes":[{"Code":40000,"Name":"BillingGenericError","Description":"Generic error invoking billing","ErrorSubcode":null},{"Code":40012,"Name":"BillingOperationsNotConfigured","Description":"The system has not been configured to support billing operations for the selected business unit.","ErrorSubcode":null},{"Code":40010,"Name":"BillingTaskNotFound","Description":"The task was not found","ErrorSubcode":null}]},"x-sec-attr":9603,"x-sec-attr-type":"Boolean","x-sec-attr-name":"Billing Operations Run Rating Access","x-sec-attr-level":1,"x-session-level":"AuthenticatedUser"}},"/RetrieveRevokeTask":{"post":{"tags":["tasks"],"summary":"Retrieves a specific revoke task.","operationId":"billing-retrieveRevokeTask","parameters":[{"$ref":"#/components/parameters/CD-AlternateCountry"},{"$ref":"#/components/parameters/CD-AlternateIp"},{"$ref":"#/components/parameters/CD-ContextId"},{"$ref":"#/components/parameters/CD-DeviceType"},{"$ref":"#/components/parameters/CD-DistributionChannel"},{"$ref":"#/components/parameters/CD-Language"},{"$ref":"#/components/parameters/CD-SessionId"},{"$ref":"#/components/parameters/CD-SystemId_Required"},{"$ref":"#/components/parameters/CD-Jwt"},{"$ref":"#/components/parameters/CD-JsonLongAsString"},{"$ref":"#/components/parameters/CD-User"},{"$ref":"#/components/parameters/CD-Password"},{"$ref":"#/components/parameters/CD-OAuthHeader"}],"requestBody":{"description":"Fetch a specific task.","required":true,"content":{"application/json":{"schema":{"type":"object","required":["taskId"],"properties":{"taskId":{"type":"integer","format":"int64","description":"The ID of the Task to retrieve."}}}}}},"responses":{"200":{"description":"Object representing the response.","content":{"application/json":{"schema":{"type":"object","properties":{"ContextId":{"type":"string","description":"The context id for this transaction, this id is carried through the system and included with any logs/errors that are recorded
This value may be used when contacting support to receive additional information about a specific error","minLength":0,"nullable":true},"data":{"$ref":"#/components/schemas/Schedule-RevokeTaskSummary"},"Fault":{"$ref":"#/components/schemas/Fault"}}}}}}},"x-possible-faults":{"ErrorCodes":[{"Code":40000,"Name":"BillingGenericError","Description":"Generic error invoking billing","ErrorSubcode":null},{"Code":40012,"Name":"BillingOperationsNotConfigured","Description":"The system has not been configured to support billing operations for the selected business unit.","ErrorSubcode":null},{"Code":40010,"Name":"BillingTaskNotFound","Description":"The task was not found","ErrorSubcode":null}]},"x-sec-attr":9604,"x-sec-attr-type":"Boolean","x-sec-attr-name":"Billing Operations Revoke Rating Access","x-sec-attr-level":1,"x-session-level":"AuthenticatedUser"}},"/RetrieveReprocessingTask":{"post":{"tags":["tasks"],"summary":"Retrieves a specific reprocessing task.","operationId":"billing-retrieveReprocessingTask","parameters":[{"$ref":"#/components/parameters/CD-AlternateCountry"},{"$ref":"#/components/parameters/CD-AlternateIp"},{"$ref":"#/components/parameters/CD-ContextId"},{"$ref":"#/components/parameters/CD-DeviceType"},{"$ref":"#/components/parameters/CD-DistributionChannel"},{"$ref":"#/components/parameters/CD-Language"},{"$ref":"#/components/parameters/CD-SessionId"},{"$ref":"#/components/parameters/CD-SystemId_Required"},{"$ref":"#/components/parameters/CD-Jwt"},{"$ref":"#/components/parameters/CD-JsonLongAsString"},{"$ref":"#/components/parameters/CD-User"},{"$ref":"#/components/parameters/CD-Password"},{"$ref":"#/components/parameters/CD-OAuthHeader"}],"requestBody":{"description":"Fetch a specific task.","required":true,"content":{"application/json":{"schema":{"type":"object","required":["taskId"],"properties":{"taskId":{"type":"integer","format":"int64","description":"The ID of the Task to retrieve."}}}}}},"responses":{"200":{"description":"Object representing the response.","content":{"application/json":{"schema":{"type":"object","properties":{"ContextId":{"type":"string","description":"The context id for this transaction, this id is carried through the system and included with any logs/errors that are recorded
This value may be used when contacting support to receive additional information about a specific error","minLength":0,"nullable":true},"data":{"$ref":"#/components/schemas/Schedule-ReprocessingTaskSummary"},"Fault":{"$ref":"#/components/schemas/Fault"}}}}}}},"x-possible-faults":{"ErrorCodes":[{"Code":40000,"Name":"BillingGenericError","Description":"Generic error invoking billing","ErrorSubcode":null},{"Code":40012,"Name":"BillingOperationsNotConfigured","Description":"The system has not been configured to support billing operations for the selected business unit.","ErrorSubcode":null},{"Code":40010,"Name":"BillingTaskNotFound","Description":"The task was not found","ErrorSubcode":null}]},"x-sec-attr":9601,"x-sec-attr-type":"Boolean","x-sec-attr-name":"Billing Operations Reprocessing Access","x-sec-attr-level":1,"x-session-level":"AuthenticatedUser"}},"/RetrieveRatingSchedule":{"post":{"tags":["schedules"],"summary":"RetrieveRatingSchedule Method","operationId":"billing-retrieveRatingSchedule","parameters":[{"$ref":"#/components/parameters/CD-AlternateCountry"},{"$ref":"#/components/parameters/CD-AlternateIp"},{"$ref":"#/components/parameters/CD-ContextId"},{"$ref":"#/components/parameters/CD-DeviceType"},{"$ref":"#/components/parameters/CD-DistributionChannel"},{"$ref":"#/components/parameters/CD-Language"},{"$ref":"#/components/parameters/CD-SessionId"},{"$ref":"#/components/parameters/CD-SystemId_Required"},{"$ref":"#/components/parameters/CD-Jwt"},{"$ref":"#/components/parameters/CD-JsonLongAsString"},{"$ref":"#/components/parameters/CD-User"},{"$ref":"#/components/parameters/CD-Password"},{"$ref":"#/components/parameters/CD-OAuthHeader"}],"requestBody":{"description":"Fetch a specific rating schedule.","required":true,"content":{"application/json":{"schema":{"type":"object","required":["scheduleId"],"properties":{"scheduleId":{"type":"integer","format":"int64","description":"The ID of the Schedule to retrieve"}}}}}},"responses":{"200":{"description":"Object representing the rating schedule response.","content":{"application/json":{"schema":{"type":"object","properties":{"ContextId":{"type":"string","description":"The context id for this transaction, this id is carried through the system and included with any logs/errors that are recorded
This value may be used when contacting support to receive additional information about a specific error","minLength":0,"nullable":true},"data":{"$ref":"#/components/schemas/Schedule-RatingScheduleDetails"},"Fault":{"$ref":"#/components/schemas/Fault"}}}}}}},"x-possible-faults":{"ErrorCodes":[{"Code":40000,"Name":"BillingGenericError","Description":"Generic error invoking billing","ErrorSubcode":null},{"Code":40012,"Name":"BillingOperationsNotConfigured","Description":"The system has not been configured to support billing operations for the selected business unit.","ErrorSubcode":null},{"Code":40011,"Name":"BillingScheduleNotFound","Description":"The schedule was not found","ErrorSubcode":null}]},"x-sec-attr":9602,"x-sec-attr-type":"Boolean","x-sec-attr-name":"Billing Operations Schedule Rating Access","x-sec-attr-level":1,"x-session-level":"AuthenticatedUser"}},"/RetrieveReprocessSchedule":{"post":{"tags":["schedules"],"summary":"Retrieve reprocess schedule by ID.","operationId":"billing-retrieveReprocessSchedule","parameters":[{"$ref":"#/components/parameters/CD-AlternateCountry"},{"$ref":"#/components/parameters/CD-AlternateIp"},{"$ref":"#/components/parameters/CD-ContextId"},{"$ref":"#/components/parameters/CD-DeviceType"},{"$ref":"#/components/parameters/CD-DistributionChannel"},{"$ref":"#/components/parameters/CD-Language"},{"$ref":"#/components/parameters/CD-SessionId"},{"$ref":"#/components/parameters/CD-SystemId_Required"},{"$ref":"#/components/parameters/CD-Jwt"},{"$ref":"#/components/parameters/CD-JsonLongAsString"},{"$ref":"#/components/parameters/CD-User"},{"$ref":"#/components/parameters/CD-Password"},{"$ref":"#/components/parameters/CD-OAuthHeader"}],"requestBody":{"description":"Fetch a specific reprocess schedule.","required":true,"content":{"application/json":{"schema":{"type":"object","required":["scheduleId"],"properties":{"scheduleId":{"type":"integer","format":"int64","description":"The ID of the Schedule to retrieve"}}}}}},"responses":{"200":{"description":"Object representing the reprocess schedule response.","content":{"application/json":{"schema":{"type":"object","properties":{"ContextId":{"type":"string","description":"The context id for this transaction, this id is carried through the system and included with any logs/errors that are recorded
This value may be used when contacting support to receive additional information about a specific error","minLength":0,"nullable":true},"data":{"$ref":"#/components/schemas/Schedule-ReprocessScheduleDetails"},"Fault":{"$ref":"#/components/schemas/Fault"}}}}}}},"x-possible-faults":{"ErrorCodes":[{"Code":40000,"Name":"BillingGenericError","Description":"Generic error invoking billing","ErrorSubcode":null},{"Code":40012,"Name":"BillingOperationsNotConfigured","Description":"The system has not been configured to support billing operations for the selected business unit.","ErrorSubcode":null},{"Code":40011,"Name":"BillingScheduleNotFound","Description":"The schedule was not found","ErrorSubcode":null}]},"x-sec-attr":9601,"x-sec-attr-type":"Boolean","x-sec-attr-name":"Billing Operations Reprocessing Access","x-sec-attr-level":1,"x-session-level":"AuthenticatedUser"}},"/RetrieveRevokeSchedule":{"post":{"tags":["schedules"],"summary":"Retrieve revoke rating schedule by ID.","operationId":"billing-retrieveRevokeSchedule","parameters":[{"$ref":"#/components/parameters/CD-AlternateCountry"},{"$ref":"#/components/parameters/CD-AlternateIp"},{"$ref":"#/components/parameters/CD-ContextId"},{"$ref":"#/components/parameters/CD-DeviceType"},{"$ref":"#/components/parameters/CD-DistributionChannel"},{"$ref":"#/components/parameters/CD-Language

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Java client codegen templates or entry points that produce enum field initializers, using the supplied OpenAPI declaration to reproduce the generated output. Confirm the generated Java assigns the enum constant in the type-qualified form, such as ActiveEnum.NUMBER_1, rather than NUMBER_1.ActiveEnum.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.