{
    "openapi":"3.0.1",
    "info":{
        "description":"The Oracle Insurance Policy Administration REST API enables you to perform CRUD (Create, Read, Update, Delete) and search operations on the OIPA entities from OIPA Application.",
        "version":"2026.11.05",
        "title":"REST API for Oracle Insurance Policy Administration - OIPA",
        "termsOfService":"https://www.oracle.com/legal/terms.html",
        "contact":{
            "url":"https://support.oracle.com"
        },
        "x-summary":"The Oracle Insurance Policy Administration REST API enables you to perform CRUD (Create, Read, Update, Delete) and search operations on the OIPA entities from OIPA Application."
    },
    "servers":[
        {
            "url":"/PASJava"
        }
    ],
    "tags":[
        {
            "name":"Caches",
            "description":"Cache management"
        },
        {
            "name":"DebugService",
            "description":"The operations from the DebugService category."
        },
        {
            "name":"ExposedComputation",
            "description":"ExposedComputation"
        },
        {
            "name":"FileReceived",
            "description":"FileReceived"
        },
        {
            "name":"PASProperties",
            "description":"Read-only PAS configuration retrieval backed by PASProperties/getPASProperties."
        },
        {
            "name":"PolicyValuation",
            "description":"PolicyValuation"
        },
        {
            "name":"ProcessPolicy",
            "description":"ProcessPolicy"
        },
        {
            "name":"UpdateCachedSystemDate",
            "description":"Refresh and return the configured OIPA system date through UpdateCachedSystemDate/updateCachedSystemDate."
        },
        {
            "name":"UserService",
            "description":"SOAP-compatible REST operations backed by UserService/createUser, editUser, searchUser, addRole, deleteRole, and deleteUser."
        }
    ],
    "components":{
        "parameters":{
            "UsernameHeader":{
                "name":"Username",
                "in":"header",
                "required":true,
                "description":"Application username.",
                "schema":{
                    "type":"string"
                }
            },
            "PasswordHeader":{
                "name":"Password",
                "in":"header",
                "required":true,
                "description":"Application password.",
                "schema":{
                    "type":"string",
                    "format":"password"
                }
            },
            "PasswordTypeHeader":{
                "name":"PasswordType",
                "in":"header",
                "required":true,
                "description":"Password type (case-sensitive). Use PasswordText. PasswordDigest requires webservice.allowHashedPassword=Yes.",
                "schema":{
                    "type":"string",
                    "enum":[
                        "PasswordText",
                        "PasswordDigest"
                    ]
                }
            },
            "ClientNumberHeader":{
                "name":"ClientNumber",
                "in":"header",
                "required":true,
                "description":"For basic authentication, the ClientNumber (Username) is sent in the HTTPS header request along with PersonalId as a string in Base64 encoding.",
                "schema":{
                    "type":"string"
                }
            },
            "PersonalIdHeader":{
                "name":"PersonalId",
                "in":"header",
                "required":true,
                "description":"For basic authentication, the PersonalId (Password) is sent in the HTTPS header request along with ClientNumber as a string in Base64 encoding.",
                "schema":{
                    "type":"string"
                }
            }
        },
        "schemas":{
            "RoleAssignment":{
                "type":"object",
                "required":[
                    "roleName",
                    "effectiveFrom"
                ],
                "properties":{
                    "roleName":{
                        "type":"string",
                        "example":"Prototype Super"
                    },
                    "effectiveFrom":{
                        "type":"string",
                        "description":"ISO-8601 XML date/time.",
                        "example":"2002-11-18T00:00:00Z"
                    },
                    "effectiveTo":{
                        "type":"string",
                        "description":"ISO-8601 XML date/time. Required for CreateUser; optional for AddRole; at least one effective date is required when editing a role.",
                        "example":"2035-12-31T23:59:59Z"
                    }
                }
            },
            "CreateUserResource":{
                "type":"object",
                "required":[
                    "userId",
                    "firstName",
                    "lastName",
                    "gender",
                    "email",
                    "primaryCompany",
                    "locale",
                    "password",
                    "roles"
                ],
                "properties":{
                    "userId":{
                        "type":"string"
                    },
                    "firstName":{
                        "type":"string"
                    },
                    "lastName":{
                        "type":"string"
                    },
                    "gender":{
                        "type":"string"
                    },
                    "email":{
                        "type":"string",
                        "format":"email"
                    },
                    "primaryCompany":{
                        "type":"string"
                    },
                    "locale":{
                        "type":"string"
                    },
                    "password":{
                        "type":"string",
                        "format":"password",
                        "writeOnly":true
                    },
                    "roles":{
                        "type":"array",
                        "minItems":1,
                        "items":{
                            "$ref":"#/components/schemas/RoleAssignment"
                        }
                    }
                }
            },
            "CreateUsersRequest":{
                "type":"object",
                "required":[
                    "users"
                ],
                "properties":{
                    "users":{
                        "type":"array",
                        "minItems":1,
                        "items":{
                            "$ref":"#/components/schemas/CreateUserResource"
                        }
                    }
                },
                "xml":{
                    "name":"users"
                }
            },
            "CreateUserResponseResource":{
                "type":"object",
                "properties":{
                    "userId":{
                        "type":"string"
                    },
                    "self":{
                        "type":"string",
                        "format":"uri-reference"
                    }
                }
            },
            "CreateUsersResponse":{
                "type":"object",
                "required":[
                    "users"
                ],
                "properties":{
                    "users":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/CreateUserResponseResource"
                        }
                    }
                },
                "xml":{
                    "name":"users"
                }
            },
            "EditUserResource":{
                "type":"object",
                "required":[
                    "userId"
                ],
                "description":"Only supplied non-empty fields are updated.",
                "properties":{
                    "userId":{
                        "type":"string"
                    },
                    "firstName":{
                        "type":"string"
                    },
                    "lastName":{
                        "type":"string"
                    },
                    "gender":{
                        "type":"string"
                    },
                    "email":{
                        "type":"string",
                        "format":"email"
                    },
                    "primaryCompany":{
                        "type":"string"
                    },
                    "locale":{
                        "type":"string"
                    },
                    "password":{
                        "type":"string",
                        "format":"password",
                        "writeOnly":true
                    },
                    "status":{
                        "type":"string"
                    },
                    "roles":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/RoleAssignment"
                        }
                    }
                }
            },
            "EditUsersRequest":{
                "type":"object",
                "required":[
                    "users"
                ],
                "properties":{
                    "users":{
                        "type":"array",
                        "minItems":1,
                        "items":{
                            "$ref":"#/components/schemas/EditUserResource"
                        }
                    }
                },
                "xml":{
                    "name":"users"
                }
            },
            "AddRoleUserResource":{
                "type":"object",
                "required":[
                    "userId",
                    "roles"
                ],
                "properties":{
                    "userId":{
                        "type":"string"
                    },
                    "roles":{
                        "type":"array",
                        "minItems":1,
                        "items":{
                            "$ref":"#/components/schemas/RoleAssignment"
                        }
                    }
                }
            },
            "AddRolesRequest":{
                "type":"object",
                "required":[
                    "users"
                ],
                "properties":{
                    "users":{
                        "type":"array",
                        "minItems":1,
                        "items":{
                            "$ref":"#/components/schemas/AddRoleUserResource"
                        }
                    }
                },
                "xml":{
                    "name":"users"
                }
            },
            "CreateRoleAssignment":{
                "allOf":[
                    {
                        "$ref":"#/components/schemas/RoleAssignment"
                    },
                    {
                        "type":"object",
                        "properties":{
                            "self":{
                                "type":"string",
                                "format":"uri-reference"
                            }
                        }
                    }
                ]
            },
            "CreateRoleUser":{
                "type":"object",
                "properties":{
                    "userId":{
                        "type":"string"
                    },
                    "roles":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/CreateRoleAssignment"
                        }
                    }
                }
            },
            "CreateRoleAssignmentsResponse":{
                "type":"object",
                "properties":{
                    "users":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/CreateRoleUser"
                        }
                    }
                },
                "xml":{
                    "name":"users"
                }
            },
            "DeleteRoleResource":{
                "type":"object",
                "required":[
                    "roleName",
                    "effectiveTo"
                ],
                "properties":{
                    "roleName":{
                        "type":"string"
                    },
                    "effectiveTo":{
                        "type":"string",
                        "description":"ISO-8601 XML date/time."
                    }
                }
            },
            "DeleteRoleUserResource":{
                "type":"object",
                "required":[
                    "userId",
                    "roles"
                ],
                "properties":{
                    "userId":{
                        "type":"string"
                    },
                    "roles":{
                        "type":"array",
                        "minItems":1,
                        "items":{
                            "$ref":"#/components/schemas/DeleteRoleResource"
                        }
                    }
                }
            },
            "DeleteRolesRequest":{
                "type":"object",
                "required":[
                    "users"
                ],
                "properties":{
                    "users":{
                        "type":"array",
                        "minItems":1,
                        "items":{
                            "$ref":"#/components/schemas/DeleteRoleUserResource"
                        }
                    }
                },
                "xml":{
                    "name":"users"
                }
            },
            "DeleteUserResource":{
                "type":"object",
                "required":[
                    "userId"
                ],
                "properties":{
                    "userId":{
                        "type":"string"
                    }
                }
            },
            "DeleteUsersRequest":{
                "type":"object",
                "required":[
                    "users"
                ],
                "properties":{
                    "companyGuid":{
                        "type":"string",
                        "format":"uuid",
                        "description":"Optional business system-date context."
                    },
                    "users":{
                        "type":"array",
                        "minItems":1,
                        "items":{
                            "$ref":"#/components/schemas/DeleteUserResource"
                        }
                    }
                },
                "xml":{
                    "name":"users"
                }
            },
            "SearchUserResource":{
                "type":"object",
                "properties":{
                    "userId":{
                        "type":"string"
                    },
                    "firstName":{
                        "type":"string"
                    },
                    "lastName":{
                        "type":"string"
                    },
                    "gender":{
                        "type":"string"
                    },
                    "email":{
                        "type":"string"
                    },
                    "primaryCompany":{
                        "type":"string"
                    },
                    "locale":{
                        "type":"string"
                    },
                    "status":{
                        "type":"string"
                    },
                    "roles":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/RoleAssignment"
                        }
                    }
                }
            },
            "SearchUsersResponse":{
                "type":"object",
                "properties":{
                    "users":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/SearchUserResource"
                        }
                    }
                },
                "xml":{
                    "name":"users"
                }
            },
            "OperationResponse":{
                "type":"object",
                "required":[
                    "status"
                ],
                "properties":{
                    "status":{
                        "type":"string",
                        "enum":[
                            "success"
                        ]
                    }
                }
            },
            "PasProperty":{
                "type":"object",
                "properties":{
                    "name":{
                        "type":"string"
                    },
                    "value":{
                        "type":"string"
                    }
                }
            },
            "PasPropertiesResponse":{
                "type":"object",
                "required":[
                    "properties"
                ],
                "properties":{
                    "properties":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/PasProperty"
                        }
                    }
                },
                "xml":{
                    "name":"pasProperties"
                }
            },
            "UpdateCachedSystemDateRequest":{
                "type":"object",
                "properties":{
                    "companyGuid":{
                        "type":"string",
                        "description":"Optional company GUID; blank is normalized to the default context.",
                        "example":"7204C2FE-13B1-4A48-8CDA-DE8386C60EF9"
                    }
                },
                "additionalProperties":false,
                "xml":{
                    "name":"updateCachedSystemDate"
                }
            },
            "UpdateCachedSystemDateResponse":{
                "type":"object",
                "required":[
                    "systemDate"
                ],
                "properties":{
                    "systemDate":{
                        "type":"string",
                        "description":"Configured system date formatted with Java DateFormat.MEDIUM using the runtime locale.",
                        "example":"Aug 1, 2015"
                    }
                },
                "xml":{
                    "name":"updateCachedSystemDateResponse"
                }
            },
            "CatalogErrorDetails":{
                "type":"object",
                "properties":{
                    "errorMessage":{
                        "type":"string"
                    },
                    "errorCause":{
                        "type":"string"
                    },
                    "errorFixTip":{
                        "type":"string"
                    }
                }
            },
            "CatalogErrorResponse":{
                "type":"object",
                "required":[
                    "status",
                    "localMessage"
                ],
                "properties":{
                    "status":{
                        "type":"integer",
                        "format":"int32"
                    },
                    "localMessage":{
                        "type":"string"
                    },
                    "details":{
                        "$ref":"#/components/schemas/CatalogErrorDetails"
                    }
                },
                "example":{
                    "status":403,
                    "localMessage":"Authorization failed",
                    "details":{
                        "errorMessage":"Authorization failed",
                        "errorCause":"The authenticated user is not permitted to invoke the requested operation.",
                        "errorFixTip":"Contact the system administrator to obtain access to the requested operation."
                    }
                }
            }
        }
    },
    "paths":{
        "/rest/filereceived":{
            "post":{
                "tags":[
                    "FileReceived"
                ],
                "summary":"Process File Received",
                "description":"Accepts JSON/XML, validates fileId and companyGuid from payload, authorizes by fileId, and processes through FileReceivedExecutor.",
                "operationId":"processFileReceived",
                "parameters":[
                    {
                        "$ref":"#/components/parameters/UsernameHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordTypeHeader"
                    }
                ],
                "requestBody":{
                    "required":true,
                    "content":{
                        "application/json":{
                            "schema":{
                                "type":"object"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "type":"string"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"Processed successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"object"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"string"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid payload / missing required fields."
                    },
                    "401":{
                        "description":"Authentication failed."
                    },
                    "403":{
                        "description":"Authorization failed."
                    },
                    "500":{
                        "description":"Internal processing error."
                    }
                },
                "x-internal-id":"rest-filereceived-post",
                "x-filename-id":"rest-filereceived-post"
            }
        },
        "/rest/policyvaluation":{
            "post":{
                "tags":[
                    "PolicyValuation"
                ],
                "summary":"Process Policy Valuation",
                "description":"Accepts JSON/XML, validates policyNumber (required), optional companyGuid/policyValuesFlag/effectiveDate/nearest, and executes valuation.",
                "operationId":"processPolicyValuation",
                "parameters":[
                    {
                        "$ref":"#/components/parameters/UsernameHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordTypeHeader"
                    }
                ],
                "requestBody":{
                    "required":true,
                    "content":{
                        "application/json":{
                            "schema":{
                                "type":"object",
                                "required":[
                                    "policyValuation"
                                ],
                                "properties":{
                                    "policyValuation":{
                                        "type":"object",
                                        "required":[
                                            "policyNumber"
                                        ],
                                        "properties":{
                                            "policyNumber":{
                                                "type":"string"
                                            },
                                            "companyGuid":{
                                                "type":"string",
                                                "format":"uuid"
                                            },
                                            "policyValuesFlag":{
                                                "type":"string"
                                            },
                                            "effectiveDate":{
                                                "type":"string"
                                            },
                                            "nearest":{
                                                "type":"string"
                                            }
                                        },
                                        "additionalProperties":false
                                    }
                                }
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "type":"string"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"Processed successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"object"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"string"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Validation/functional error."
                    },
                    "401":{
                        "description":"Authentication failed."
                    },
                    "403":{
                        "description":"Authorization failed."
                    },
                    "500":{
                        "description":"Internal processing error."
                    }
                },
                "x-internal-id":"rest-policyvaluation-post",
                "x-filename-id":"rest-policyvaluation-post"
            }
        },
        "/rest/exposedcomputation":{
            "post":{
                "tags":[
                    "ExposedComputation"
                ],
                "summary":"Process Exposed Computation",
                "description":"Accepts JSON/XML, validates computationId and companyGuid, converts parameters to <Parameters> XML and executes computation.",
                "operationId":"processExposedComputation",
                "parameters":[
                    {
                        "$ref":"#/components/parameters/UsernameHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordTypeHeader"
                    }
                ],
                "requestBody":{
                    "required":true,
                    "content":{
                        "application/json":{
                            "schema":{
                                "type":"object",
                                "required":[
                                    "exposedComputation"
                                ],
                                "properties":{
                                    "exposedComputation":{
                                        "type":"object",
                                        "required":[
                                            "computationId",
                                            "companyGuid"
                                        ],
                                        "properties":{
                                            "computationId":{
                                                "type":"string"
                                            },
                                            "companyGuid":{
                                                "type":"string",
                                                "format":"uuid"
                                            },
                                            "parameters":{
                                                "type":"array",
                                                "items":{
                                                    "type":"object",
                                                    "properties":{
                                                        "NAME":{
                                                            "type":"string"
                                                        },
                                                        "value":{
                                                            "type":"string"
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "type":"string"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"Processed successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"object"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"string"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid payload / missing required fields."
                    },
                    "401":{
                        "description":"Authentication failed."
                    },
                    "403":{
                        "description":"Authorization failed."
                    },
                    "500":{
                        "description":"Internal processing error."
                    }
                },
                "x-internal-id":"rest-exposedcomputation-post",
                "x-filename-id":"rest-exposedcomputation-post"
            }
        },
        "/rest/processpolicy":{
            "post":{
                "tags":[
                    "ProcessPolicy"
                ],
                "summary":"Process Policy",
                "description":"Accepts JSON/XML, requires companyGuid and non-empty parameters containing PolicyNumber, then executes policy processing.",
                "operationId":"processPolicy",
                "parameters":[
                    {
                        "$ref":"#/components/parameters/UsernameHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordTypeHeader"
                    }
                ],
                "requestBody":{
                    "required":true,
                    "content":{
                        "application/json":{
                            "schema":{
                                "type":"object",
                                "required":[
                                    "processPolicy"
                                ],
                                "properties":{
                                    "processPolicy":{
                                        "type":"object",
                                        "required":[
                                            "companyGuid",
                                            "parameters"
                                        ],
                                        "properties":{
                                            "companyGuid":{
                                                "type":"string",
                                                "format":"uuid"
                                            },
                                            "parameters":{
                                                "type":"array",
                                                "minItems":1,
                                                "items":{
                                                    "type":"object",
                                                    "required":[
                                                        "NAME",
                                                        "value"
                                                    ],
                                                    "properties":{
                                                        "NAME":{
                                                            "type":"string"
                                                        },
                                                        "value":{
                                                            "type":"string"
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "type":"string"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"Processed successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"object"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"string"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid payload / missing required fields."
                    },
                    "401":{
                        "description":"Authentication failed."
                    },
                    "403":{
                        "description":"Authorization failed."
                    },
                    "500":{
                        "description":"Internal processing error."
                    }
                },
                "x-internal-id":"rest-processpolicy-post",
                "x-filename-id":"rest-processpolicy-post"
            }
        },
        "/service/caches":{
            "delete":{
                "tags":[
                    "Caches"
                ],
                "summary":"Clear Cache",
                "description":"Clear cache to reflect updated configuration in the OIPA application.",
                "operationId":"clearCaches",
                "parameters":[
                    {
                        "$ref":"#/components/parameters/ClientNumberHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PersonalIdHeader"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"This operation deletes cache successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"object"
                                }
                            }
                        }
                    },
                    "401":{
                        "description":"The server denied access to the resource. Please contact the System Administrator. This message appears when authentication is not provided in the Rules Palette."
                    },
                    "403":{
                        "description":"Authentication refused for invalid credentials or the token is invalid."
                    }
                },
                "x-internal-id":"service-caches-delete",
                "x-filename-id":"service-caches-delete"
            }
        },
        "/rest/users":{
            "post":{
                "tags":[
                    "UserService"
                ],
                "summary":"Create one or more users",
                "operationId":"createUsers",
                "description":"Creates one or more users in one request and supports multiple effective-dated role assignments per user. The complete batch is passed to the existing SOAP-compatible UserService business logic. A single-user response includes a Location header; batch responses omit it.",
                "parameters":[
                    {
                        "$ref":"#/components/parameters/UsernameHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordTypeHeader"
                    }
                ],
                "requestBody":{
                    "required":true,
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/CreateUsersRequest"
                            },
                            "example":{
                                "users":[
                                    {
                                        "userId":"REST_SIT_AMARTIN_001",
                                        "firstName":"Asha",
                                        "lastName":"Martin",
                                        "gender":"F",
                                        "email":"asha.martin@prototype.example",
                                        "primaryCompany":"Prototype",
                                        "locale":"01",
                                        "password":"StrongPassword#2026",
                                        "roles":[
                                            {
                                                "roleName":"Prototype Super",
                                                "effectiveFrom":"2002-11-18T00:00:00Z",
                                                "effectiveTo":"2035-12-31T23:59:59Z"
                                            },
                                            {
                                                "roleName":"Prototype Tester",
                                                "effectiveFrom":"2002-11-18T00:00:00Z",
                                                "effectiveTo":"2035-12-31T23:59:59Z"
                                            }
                                        ]
                                    }
                                ]
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/CreateUsersRequest"
                            },
                            "x-example":{
                                "users":[
                                    {
                                        "userId":"REST_SIT_AMARTIN_001",
                                        "firstName":"Asha",
                                        "lastName":"Martin",
                                        "gender":"F",
                                        "email":"asha.martin@prototype.example",
                                        "primaryCompany":"Prototype",
                                        "locale":"01",
                                        "password":"StrongPassword#2026",
                                        "roles":[
                                            {
                                                "roleName":"Prototype Super",
                                                "effectiveFrom":"2002-11-18T00:00:00Z",
                                                "effectiveTo":"2035-12-31T23:59:59Z"
                                            },
                                            {
                                                "roleName":"Prototype Tester",
                                                "effectiveFrom":"2002-11-18T00:00:00Z",
                                                "effectiveTo":"2035-12-31T23:59:59Z"
                                            }
                                        ]
                                    }
                                ]
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"User or users created.",
                        "headers":{
                            "Location":{
                                "description":"Self URI for a single created user; omitted for batch creation.",
                                "schema":{
                                    "type":"string",
                                    "format":"uri"
                                }
                            }
                        },
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CreateUsersResponse"
                                },
                                "example":{
                                    "users":[
                                        {
                                            "userId":"REST_SIT_AMARTIN_001",
                                            "self":"/PASJava/rest/users?userId=REST_SIT_AMARTIN_001"
                                        }
                                    ]
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CreateUsersResponse"
                                },
                                "x-example":{
                                    "users":[
                                        {
                                            "userId":"REST_SIT_AMARTIN_001",
                                            "self":"/PASJava/rest/users?userId=REST_SIT_AMARTIN_001"
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid collection, missing field, duplicate value, invalid date, locale, company, or role data.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "401":{
                        "description":"Authentication failed.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "403":{
                        "description":"Authorization failed for UserService/createUser.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "409":{
                        "description":"User already exists or role assignment conflicts.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"Uncatalogued business or internal processing error.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    }
                },
                "x-filename-id":"rest-users-post",
                "x-internal-id":"rest-users-post",
                "x-soap-service":"UserService",
                "x-soap-operation":"createUser"
            },
            "patch":{
                "tags":[
                    "UserService"
                ],
                "summary":"Partially edit one or more users",
                "operationId":"editUsers",
                "description":"Partially updates one or more existing users. userId is required for every entry; other supplied fields are updated. A supplied role requires roleName and at least one of effectiveFrom or effectiveTo. The batch is processed by the existing editUser business operation.",
                "parameters":[
                    {
                        "$ref":"#/components/parameters/UsernameHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordTypeHeader"
                    }
                ],
                "requestBody":{
                    "required":true,
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/EditUsersRequest"
                            },
                            "example":{
                                "users":[
                                    {
                                        "userId":"REST_SIT_AMARTIN_001",
                                        "lastName":"Martins",
                                        "email":"asha.martins@prototype.example",
                                        "locale":"01",
                                        "status":"01",
                                        "roles":[
                                            {
                                                "roleName":"Prototype Super",
                                                "effectiveTo":"2036-12-31T23:59:59Z"
                                            }
                                        ]
                                    }
                                ]
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/EditUsersRequest"
                            },
                            "x-example":{
                                "users":[
                                    {
                                        "userId":"REST_SIT_AMARTIN_001",
                                        "lastName":"Martins",
                                        "email":"asha.martins@prototype.example",
                                        "locale":"01",
                                        "status":"01",
                                        "roles":[
                                            {
                                                "roleName":"Prototype Super",
                                                "effectiveTo":"2036-12-31T23:59:59Z"
                                            }
                                        ]
                                    }
                                ]
                            }
                        }
                    }
                },
                "responses":{
                    "204":{
                        "description":"Users updated successfully; no response body."
                    },
                    "400":{
                        "description":"Invalid collection, missing field, duplicate value, invalid date, or invalid locale.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "401":{
                        "description":"Authentication failed.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "403":{
                        "description":"Authorization failed for UserService/editUser.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "404":{
                        "description":"User, role, or primary company was not found.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "409":{
                        "description":"Conflicting user or role state.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"Uncatalogued business or internal processing error.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    }
                },
                "x-filename-id":"rest-users-patch",
                "x-internal-id":"rest-users-patch",
                "x-soap-service":"UserService",
                "x-soap-operation":"editUser"
            },
            "get":{
                "tags":[
                    "UserService"
                ],
                "summary":"Search users",
                "operationId":"searchUsers",
                "description":"Searches users using query parameters. At least one anchor criterion is required: userId, firstName, lastName, primaryCompany, or role. gender, email, locale, and status are secondary filters. The role parameter may be repeated.",
                "parameters":[
                    {
                        "$ref":"#/components/parameters/UsernameHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordTypeHeader"
                    },
                    {
                        "name":"userId",
                        "in":"query",
                        "schema":{
                            "type":"string"
                        },
                        "description":"Exact or business-layer-supported user identifier criterion."
                    },
                    {
                        "name":"firstName",
                        "in":"query",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"lastName",
                        "in":"query",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"gender",
                        "in":"query",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"email",
                        "in":"query",
                        "schema":{
                            "type":"string",
                            "format":"email"
                        }
                    },
                    {
                        "name":"primaryCompany",
                        "in":"query",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"locale",
                        "in":"query",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"status",
                        "in":"query",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"role",
                        "in":"query",
                        "style":"form",
                        "explode":true,
                        "schema":{
                            "type":"array",
                            "items":{
                                "type":"string"
                            }
                        },
                        "description":"Repeat the parameter to filter by multiple roles, for example role=Prototype%20Super&role=Prototype%20Tester."
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Matching users.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/SearchUsersResponse"
                                },
                                "example":{
                                    "users":[
                                        {
                                            "userId":"REST_SIT_AMARTIN_001",
                                            "firstName":"Asha",
                                            "lastName":"Martin",
                                            "gender":"F",
                                            "email":"asha.martin@prototype.example",
                                            "primaryCompany":"Prototype",
                                            "locale":"01",
                                            "status":"01",
                                            "roles":[
                                                {
                                                    "roleName":"Prototype Super",
                                                    "effectiveFrom":"2002-11-18T00:00:00Z",
                                                    "effectiveTo":"2035-12-31T23:59:59Z"
                                                }
                                            ]
                                        }
                                    ]
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/SearchUsersResponse"
                                },
                                "x-example":{
                                    "users":[
                                        {
                                            "userId":"REST_SIT_AMARTIN_001",
                                            "firstName":"Asha",
                                            "lastName":"Martin",
                                            "gender":"F",
                                            "email":"asha.martin@prototype.example",
                                            "primaryCompany":"Prototype",
                                            "locale":"01",
                                            "status":"01",
                                            "roles":[
                                                {
                                                    "roleName":"Prototype Super",
                                                    "effectiveFrom":"2002-11-18T00:00:00Z",
                                                    "effectiveTo":"2035-12-31T23:59:59Z"
                                                }
                                            ]
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"No anchor search criterion or invalid search data.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "401":{
                        "description":"Authentication failed.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "403":{
                        "description":"Authorization failed for UserService/searchUser.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "404":{
                        "description":"No matching users were found.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"Uncatalogued business or internal processing error.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    }
                },
                "x-filename-id":"rest-users-get",
                "x-internal-id":"rest-users-get",
                "x-soap-service":"UserService",
                "x-soap-operation":"searchUser"
            }
        },
        "/rest/users/roles":{
            "post":{
                "tags":[
                    "UserService"
                ],
                "summary":"Add roles to one or more users",
                "operationId":"addRoles",
                "description":"Adds one or more effective-dated roles to each supplied user and supports multiple users in the same request.",
                "parameters":[
                    {
                        "$ref":"#/components/parameters/UsernameHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordTypeHeader"
                    }
                ],
                "requestBody":{
                    "required":true,
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/AddRolesRequest"
                            },
                            "example":{
                                "users":[
                                    {
                                        "userId":"REST_SIT_AMARTIN_001",
                                        "roles":[
                                            {
                                                "roleName":"International Super",
                                                "effectiveFrom":"2002-11-18T00:00:00Z",
                                                "effectiveTo":"2035-12-31T23:59:59Z"
                                            }
                                        ]
                                    }
                                ]
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/AddRolesRequest"
                            },
                            "x-example":{
                                "users":[
                                    {
                                        "userId":"REST_SIT_AMARTIN_001",
                                        "roles":[
                                            {
                                                "roleName":"International Super",
                                                "effectiveFrom":"2002-11-18T00:00:00Z",
                                                "effectiveTo":"2035-12-31T23:59:59Z"
                                            }
                                        ]
                                    }
                                ]
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"Role assignments created.",
                        "headers":{
                            "Location":{
                                "description":"Self URI for a single created role assignment; omitted for batch assignments.",
                                "schema":{
                                    "type":"string",
                                    "format":"uri"
                                }
                            }
                        },
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CreateRoleAssignmentsResponse"
                                },
                                "example":{
                                    "users":[
                                        {
                                            "userId":"REST_SIT_AMARTIN_001",
                                            "roles":[
                                                {
                                                    "roleName":"International Super",
                                                    "effectiveFrom":"2002-11-18T00:00:00Z",
                                                    "effectiveTo":"2035-12-31T23:59:59Z",
                                                    "self":"/PASJava/rest/users?userId=REST_SIT_AMARTIN_001"
                                                }
                                            ]
                                        }
                                    ]
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CreateRoleAssignmentsResponse"
                                },
                                "x-example":{
                                    "users":[
                                        {
                                            "userId":"REST_SIT_AMARTIN_001",
                                            "roles":[
                                                {
                                                    "roleName":"International Super",
                                                    "effectiveFrom":"2002-11-18T00:00:00Z",
                                                    "effectiveTo":"2035-12-31T23:59:59Z",
                                                    "self":"/PASJava/rest/users?userId=REST_SIT_AMARTIN_001"
                                                }
                                            ]
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid collection, missing field, duplicate role, or invalid effective dates.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "401":{
                        "description":"Authentication failed.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "403":{
                        "description":"Authorization failed for UserService/addRole.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "404":{
                        "description":"User or security group was not found.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "409":{
                        "description":"The user already has the requested role.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"Uncatalogued business or internal processing error.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    }
                },
                "x-filename-id":"rest-users-roles-post",
                "x-internal-id":"rest-users-roles-post",
                "x-soap-service":"UserService",
                "x-soap-operation":"addRole"
            }
        },
        "/rest/users/roles/delete":{
            "post":{
                "tags":[
                    "UserService"
                ],
                "summary":"Delete effective-dated role assignments",
                "operationId":"deleteRoles",
                "description":"Executes the SOAP-compatible DeleteRole business operation. This is POST because it is a body-based batch business action. Each role is ended using effectiveTo; the security-group definition itself is not deleted.",
                "parameters":[
                    {
                        "$ref":"#/components/parameters/UsernameHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordTypeHeader"
                    }
                ],
                "requestBody":{
                    "required":true,
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/DeleteRolesRequest"
                            },
                            "example":{
                                "users":[
                                    {
                                        "userId":"REST_SIT_AMARTIN_001",
                                        "roles":[
                                            {
                                                "roleName":"International Super",
                                                "effectiveTo":"2026-08-11T00:00:00Z"
                                            }
                                        ]
                                    }
                                ]
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/DeleteRolesRequest"
                            },
                            "x-example":{
                                "users":[
                                    {
                                        "userId":"REST_SIT_AMARTIN_001",
                                        "roles":[
                                            {
                                                "roleName":"International Super",
                                                "effectiveTo":"2026-08-11T00:00:00Z"
                                            }
                                        ]
                                    }
                                ]
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"Role assignments ended successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/OperationResponse"
                                },
                                "example":{
                                    "status":"success"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/OperationResponse"
                                },
                                "x-example":{
                                    "status":"success"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid collection, missing field, invalid date, or invalid effective-date range.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "401":{
                        "description":"Authentication failed.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "403":{
                        "description":"Authorization failed for UserService/deleteRole.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "404":{
                        "description":"User, role, or role assignment was not found.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"Uncatalogued business or transaction error.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    }
                },
                "x-filename-id":"rest-users-roles-delete-post",
                "x-internal-id":"rest-users-roles-delete-post",
                "x-soap-service":"UserService",
                "x-soap-operation":"deleteRole"
            }
        },
        "/rest/users/delete":{
            "post":{
                "tags":[
                    "UserService"
                ],
                "summary":"Logically delete one or more users",
                "operationId":"deleteUsers",
                "description":"Executes the SOAP-compatible DeleteUser business operation. Users are inactivated and their effective-dated role assignments are expired; physical user rows are not deleted. companyGuid is optional and is passed to the existing business layer for system-date context.",
                "parameters":[
                    {
                        "$ref":"#/components/parameters/UsernameHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordTypeHeader"
                    }
                ],
                "requestBody":{
                    "required":true,
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/DeleteUsersRequest"
                            },
                            "example":{
                                "companyGuid":"7204C2FE-13B1-4A48-8CDA-DE8386C60EF9",
                                "users":[
                                    {
                                        "userId":"REST_SIT_AMARTIN_001"
                                    }
                                ]
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/DeleteUsersRequest"
                            },
                            "x-example":{
                                "companyGuid":"7204C2FE-13B1-4A48-8CDA-DE8386C60EF9",
                                "users":[
                                    {
                                        "userId":"REST_SIT_AMARTIN_001"
                                    }
                                ]
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"Users logically deleted successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/OperationResponse"
                                },
                                "example":{
                                    "status":"success"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/OperationResponse"
                                },
                                "x-example":{
                                    "status":"success"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid collection or missing userId.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "401":{
                        "description":"Authentication failed.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "403":{
                        "description":"Authorization failed for UserService/deleteUser.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "404":{
                        "description":"User was not found.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "409":{
                        "description":"User is already inactive.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"Uncatalogued business or transaction error.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    }
                },
                "x-filename-id":"rest-users-delete-post",
                "x-internal-id":"rest-users-delete-post",
                "x-soap-service":"UserService",
                "x-soap-operation":"deleteUser"
            }
        },
        "/rest/pas-properties":{
            "get":{
                "tags":[
                    "PASProperties"
                ],
                "summary":"Get PAS properties",
                "operationId":"getPasProperties",
                "description":"Returns the same OIPA PAS property set supplied by the existing PASProperties SOAP service, represented as name/value entries. The response is marked Cache-Control: no-store because configuration can include sensitive values and can change at runtime.",
                "parameters":[
                    {
                        "$ref":"#/components/parameters/UsernameHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordTypeHeader"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"PAS properties returned.",
                        "headers":{
                            "Cache-Control":{
                                "description":"Prevents storage of the configuration response.",
                                "schema":{
                                    "type":"string",
                                    "example":"no-store"
                                }
                            }
                        },
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/PasPropertiesResponse"
                                },
                                "example":{
                                    "properties":[
                                        {
                                            "name":"application.defaultCurrencyCode",
                                            "value":"USD"
                                        },
                                        {
                                            "name":"application.defaultLocale",
                                            "value":"en-US"
                                        }
                                    ]
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/PasPropertiesResponse"
                                },
                                "x-example":{
                                    "properties":[
                                        {
                                            "name":"application.defaultCurrencyCode",
                                            "value":"USD"
                                        },
                                        {
                                            "name":"application.defaultLocale",
                                            "value":"en-US"
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "401":{
                        "description":"Authentication failed.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "403":{
                        "description":"Authorization failed for PASProperties/getPASProperties.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "406":{
                        "description":"Requested response media type is not supported.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"Unable to retrieve PAS properties.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    }
                },
                "x-filename-id":"rest-pas-properties-get",
                "x-internal-id":"rest-pas-properties-get",
                "x-soap-service":"PASProperties",
                "x-soap-operation":"getPASProperties"
            }
        },
        "/rest/updatecachedsystemDate":{
            "post":{
                "tags":[
                    "UpdateCachedSystemDate"
                ],
                "summary":"Refresh cached system date",
                "operationId":"updateCachedSystemDate",
                "description":"Refreshes the cached OIPA system date by invoking the existing SOAP-compatible SystemDate business logic, then returns the configured date. companyGuid is optional; omission uses the existing default context. The response date follows Java MEDIUM locale formatting to preserve current SOAP/business behavior (for example, Aug 1, 2015 in an English locale).",
                "parameters":[
                    {
                        "$ref":"#/components/parameters/UsernameHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordTypeHeader"
                    }
                ],
                "requestBody":{
                    "required":false,
                    "description":"Optional company context. An empty request body is supported.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/UpdateCachedSystemDateRequest"
                            },
                            "example":{
                                "companyGuid":"7204C2FE-13B1-4A48-8CDA-DE8386C60EF9"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/UpdateCachedSystemDateRequest"
                            },
                            "x-example":{
                                "companyGuid":"7204C2FE-13B1-4A48-8CDA-DE8386C60EF9"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"Cached system date refreshed and returned.",
                        "headers":{
                            "Cache-Control":{
                                "description":"Prevents storage of the system-date response.",
                                "schema":{
                                    "type":"string",
                                    "example":"no-store"
                                }
                            }
                        },
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/UpdateCachedSystemDateResponse"
                                },
                                "example":{
                                    "systemDate":"Aug 1, 2015"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/UpdateCachedSystemDateResponse"
                                },
                                "x-example":{
                                    "systemDate":"Aug 1, 2015"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Request representation is invalid.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "401":{
                        "description":"Authentication failed.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "403":{
                        "description":"Authorization failed for UpdateCachedSystemDate/updateCachedSystemDate.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "415":{
                        "description":"Request media type is not supported.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"Configured system date is unavailable or the refresh failed.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CatalogErrorResponse"
                                }
                            }
                        }
                    }
                },
                "x-filename-id":"rest-updatecachedsystemdate-post",
                "x-internal-id":"rest-updatecachedsystemDate-post",
                "x-soap-service":"UpdateCachedSystemDate",
                "x-soap-operation":"updateCachedSystemDate"
            }
        },
        "/rest/debuggerservice/segment/{segmentGuid}":{
            "get":{
                "tags":[
                    "DebugService"
                ],
                "summary":"Initiate Segment Debugging Session",
                "description":"Starts a remote debugging session for a segment. Requires segmentGuid as a path parameter and companyGuid as a query parameter.",
                "operationId":"initiateSegmentDebuggingSession",
                "parameters":[
                    {
                        "$ref":"#/components/parameters/UsernameHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordTypeHeader"
                    },
                    {
                        "name":"segmentGuid",
                        "in":"path",
                        "required":true,
                        "description":"Unique identifier of the segment to debug.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"companyGuid",
                        "in":"query",
                        "required":true,
                        "description":"Unique identifier of the company for which the segment is being debugged.",
                        "schema":{
                            "type":"string",
                            "format":"uuid"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Debugging session created successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"object"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"string"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid request data / missing required fields."
                    },
                    "401":{
                        "description":"Authentication failed."
                    },
                    "403":{
                        "description":"Authorization failed or remote debugging is not enabled."
                    },
                    "500":{
                        "description":"Internal processing error."
                    }
                },
                "x-internal-id":"rest-debuggerservice-segment-{segmentGuid}-get",
                "x-filename-id":"rest-debuggerservice-segment-segmentguid-get"
            }
        },
        "/rest/debuggerservice/activity/{activityGuid}":{
            "get":{
                "tags":[
                    "DebugService"
                ],
                "summary":"Initiate Activity Debugging Session",
                "description":"Starts a remote debugging session for an activity.",
                "operationId":"initiateActivityDebuggingSession",
                "parameters":[
                    {
                        "$ref":"#/components/parameters/UsernameHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordTypeHeader"
                    },
                    {
                        "name":"activityGuid",
                        "in":"path",
                        "required":true,
                        "description":"Unique identifier of the activity to debug.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Debugging session created successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"object"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"string"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid request data / missing required fields."
                    },
                    "401":{
                        "description":"Authentication failed."
                    },
                    "403":{
                        "description":"Authorization failed or remote debugging is not enabled."
                    },
                    "500":{
                        "description":"Internal processing error."
                    }
                },
                "x-internal-id":"rest-debuggerservice-activity-{activityGuid}-get",
                "x-filename-id":"rest-debuggerservice-activity-activityguid-get"
            }
        },
        "/rest/debuggerservice/validate":{
            "get":{
                "tags":[
                    "DebugService"
                ],
                "summary":"Validate Debug Service Connection",
                "description":"Validates connectivity to the debug service and returns OK.",
                "operationId":"validateConnection",
                "parameters":[
                    {
                        "$ref":"#/components/parameters/UsernameHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordTypeHeader"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Connection validated successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"string",
                                    "example":"OK"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"string",
                                    "example":"OK"
                                }
                            }
                        }
                    },
                    "401":{
                        "description":"Authentication failed."
                    },
                    "403":{
                        "description":"Authorization failed."
                    },
                    "500":{
                        "description":"Internal processing error."
                    }
                },
                "x-internal-id":"rest-debuggerservice-validate-get",
                "x-filename-id":"rest-debuggerservice-validate-get"
            }
        },
        "/rest/debuggerservice/unload/{debugSessionId}":{
            "get":{
                "tags":[
                    "DebugService"
                ],
                "summary":"Unload Debugging Session",
                "description":"Terminates and cleans up an existing debugging session.",
                "operationId":"unloadDebuggingSession",
                "parameters":[
                    {
                        "$ref":"#/components/parameters/UsernameHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordTypeHeader"
                    },
                    {
                        "name":"debugSessionId",
                        "in":"path",
                        "required":true,
                        "description":"Identifier of the debugging session to unload.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Debugging session unloaded successfully."
                    },
                    "400":{
                        "description":"Invalid request data / missing debugSessionId."
                    },
                    "401":{
                        "description":"Authentication failed."
                    },
                    "403":{
                        "description":"Authorization failed."
                    },
                    "500":{
                        "description":"Internal processing error."
                    }
                },
                "x-internal-id":"rest-debuggerservice-unload-{debugSessionId}-get",
                "x-filename-id":"rest-debuggerservice-unload-debugsessionid-get"
            }
        },
        "/rest/debuggerservice/execute/{debugSessionId}/{destinationLineNumber}":{
            "get":{
                "tags":[
                    "DebugService"
                ],
                "summary":"Execute Math To Line",
                "description":"Executes math in an active debugging session until the specified destination line number is reached.",
                "operationId":"executeMathToLine",
                "parameters":[
                    {
                        "$ref":"#/components/parameters/UsernameHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordTypeHeader"
                    },
                    {
                        "name":"debugSessionId",
                        "in":"path",
                        "required":true,
                        "description":"Identifier of the debugging session.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"destinationLineNumber",
                        "in":"path",
                        "required":true,
                        "description":"Positive source line number to execute to.",
                        "schema":{
                            "type":"integer",
                            "minimum":1
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Math executed successfully to the requested line.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"object"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"string"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid request data / destinationLineNumber must be a positive integer."
                    },
                    "401":{
                        "description":"Authentication failed."
                    },
                    "403":{
                        "description":"Authorization failed."
                    },
                    "500":{
                        "description":"Internal processing error."
                    }
                },
                "x-internal-id":"rest-debuggerservice-execute-{debugSessionId}-{destinationLineNumber}-get",
                "x-filename-id":"rest-debuggerservice-execute-debugsessionid-destinationlinenumber-get"
            }
        },
        "/rest/debuggerservice/stepForward/{debugSessionId}":{
            "get":{
                "tags":[
                    "DebugService"
                ],
                "summary":"Step Forward",
                "description":"Advances an active debugging session by one step.",
                "operationId":"stepForward",
                "parameters":[
                    {
                        "$ref":"#/components/parameters/UsernameHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordTypeHeader"
                    },
                    {
                        "name":"debugSessionId",
                        "in":"path",
                        "required":true,
                        "description":"Identifier of the debugging session to advance.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Debugging session advanced successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"object"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"string"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid request data / missing debugSessionId."
                    },
                    "401":{
                        "description":"Authentication failed."
                    },
                    "403":{
                        "description":"Authorization failed."
                    },
                    "500":{
                        "description":"Internal processing error."
                    }
                },
                "x-internal-id":"rest-debuggerservice-stepForward-{debugSessionId}-get",
                "x-filename-id":"rest-debuggerservice-stepforward-debugsessionid-get"
            }
        },
        "/rest/debuggerservice/stepBackward/{debugSessionId}":{
            "get":{
                "tags":[
                    "DebugService"
                ],
                "summary":"Step Backward",
                "description":"Moves an active debugging session one step backward.",
                "operationId":"stepBackward",
                "parameters":[
                    {
                        "$ref":"#/components/parameters/UsernameHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordTypeHeader"
                    },
                    {
                        "name":"debugSessionId",
                        "in":"path",
                        "required":true,
                        "description":"Identifier of the debugging session to move backward.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Debugging session moved backward successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"object"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"string"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid request data / missing debugSessionId."
                    },
                    "401":{
                        "description":"Authentication failed."
                    },
                    "403":{
                        "description":"Authorization failed."
                    },
                    "500":{
                        "description":"Internal processing error."
                    }
                },
                "x-internal-id":"rest-debuggerservice-stepBackward-{debugSessionId}-get",
                "x-filename-id":"rest-debuggerservice-stepbackward-debugsessionid-get"
            }
        },
        "/rest/debuggerservice/valuation/{debugSessionId}":{
            "get":{
                "tags":[
                    "DebugService"
                ],
                "summary":"Get Debug Session Valuation",
                "description":"Retrieves valuation information for an active debugging session.",
                "operationId":"getValuation",
                "parameters":[
                    {
                        "$ref":"#/components/parameters/UsernameHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordHeader"
                    },
                    {
                        "$ref":"#/components/parameters/PasswordTypeHeader"
                    },
                    {
                        "name":"debugSessionId",
                        "in":"path",
                        "required":true,
                        "description":"Identifier of the debugging session whose valuation is requested.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Valuation retrieved successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"object"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"string"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid request data / missing debugSessionId."
                    },
                    "401":{
                        "description":"Authentication failed."
                    },
                    "403":{
                        "description":"Authorization failed."
                    },
                    "500":{
                        "description":"Internal processing error or no valuation found for the given session."
                    }
                },
                "x-internal-id":"rest-debuggerservice-valuation-{debugSessionId}-get",
                "x-filename-id":"rest-debuggerservice-valuation-debugsessionid-get"
            }
        }
    },
    "swagger":"2.0"
}