ServiceChannel WorkRequests API

The WorkRequests API from ServiceChannel — 13 operation(s) for workrequests.

OpenAPI Specification

servicechannel-workrequests-api-openapi.yml Raw ↑
swagger: '2.0'
info:
  version: bearer.v1
  title: Fixxbook.Bearer.Api.V1 AfterHours WorkRequests API
  isOdataApi: false
  relativePath: ''
  discoveryPath: docs/bearer.v1
  _isAuthorizedAccess: true
host: sb2fixxbook.servicechannel.com:443
basePath: /api
schemes:
- https
security:
- oauth2: []
tags:
- name: WorkRequests
paths:
  /workrequests:
    post:
      tags:
      - WorkRequests
      summary: Creates a work request
      description: '*In limited availability phase.*'
      operationId: POSTv3_workrequests
      consumes:
      - application/json
      - text/json
      produces:
      - application/json
      - text/json
      parameters:
      - name: request
        in: body
        description: ''
        required: true
        schema:
          $ref: '#/definitions/ServiceChannel.Services.Messaging.WorkRequests.CreateWorkRequestRequest'
      responses:
        '201':
          description: Created indicates that the request resulted in a new resource created before the response was sent.
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.WorkRequests.CreateWorkRequestResponse'
        '400':
          description: "The request is not accepted due to bad syntax, missing parameters, insufficient data, etc.\r\n            <br/>Error codes:\r\n            101 - Invalid provider id\r\n            301 - Contract not found for specified subscribers location, provider and trade\r\n            401 - Invalid subscriber\r\n            601 - Location is not found\r\n            701 - Invalid trade\r\n            8001 — Description is required\r\n            8002 — Call Date is required\r\n            8003 — Issue is required\r\n            8005 - CallDate has wrong format\r\n            8006 - ScheduledDate has wrong format\r\n            8007 - Invalid status\r\n            8008 - Invalid extended status\r\n            8009 - Invalid category\r\n            8010 - Invalid priority\r\n            8011 - Invalid currency\r\n            8012 - Invalid setup\r\n            8013 - Invalid area\r\n            8014 - Invalid asset\r\n            8017 - ProblemCode is required\r\n            8018 - ProblemType is required\r\n            8019 - ScheduledDate must be greater than CallDate"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
        '401':
          description: "The request is not authorized.\r\n            <br/>Error codes:\r\n            504 — API call rejected by security permissions"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
        '500':
          description: "Indicates that a generic error has occurred on the server.\r\n            <br/>Error codes:\r\n            501 - Internal Error code"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
      deprecated: false
      x-access: Any
  /workrequests/{id}:
    get:
      tags:
      - WorkRequests
      summary: Retrieve a work request
      description: '*In limited availability phase.*'
      operationId: GETv3_workrequests_{id}
      consumes: []
      produces:
      - application/json
      - text/json
      parameters:
      - name: id
        in: path
        description: Numeric Id of the work request to perform action with.
        required: true
        type: integer
        format: int32
      responses:
        '200':
          description: Indicates that the request succeeded and that the requested information is in the response.
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.WorkRequests.WorkRequest'
        '401':
          description: "Indicates that the requested resource requires authentication.\r\n            <br/>Error codes:\r\n            <br/> 504 - API call rejected by security permissions;"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
        '404':
          description: "The requested resource does not exist on the server.\r\n            <br/>Error codes:\r\n            502 — Data not found"
      deprecated: false
      x-access: Any
    delete:
      tags:
      - WorkRequests
      summary: Delete a work request
      description: '*In limited availability phase.*'
      operationId: DELETEv3_workrequests_{id}
      consumes: []
      produces:
      - application/json
      - text/json
      parameters:
      - name: id
        in: path
        description: Numeric Id of the work request to perform action with.
        required: true
        type: integer
        format: int32
      responses:
        '200':
          description: Indicates that the request succeeded and that the requested information is in the response.
        '401':
          description: "Indicates that the requested resource requires authentication.\r\n            <br/>Error codes:\r\n            <br/> 504 - API call rejected by security permissions;"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
        '404':
          description: "The requested resource does not exist on the server.\r\n            <br/>Error codes:\r\n            502 — Data not found"
      deprecated: false
      x-access: Any
  /workrequests/{workRequestId}:
    put:
      tags:
      - WorkRequests
      summary: Update a work request
      description: '*In limited availability phase.*'
      operationId: PUTv3_workrequests_{workRequestId}
      consumes:
      - application/json
      - text/json
      produces:
      - application/json
      - text/json
      parameters:
      - name: workRequestId
        in: path
        description: Numeric Id of the work request to perform action with.
        required: true
        type: integer
        format: int32
      - name: updateRequest
        in: body
        description: The update request.
        required: true
        schema:
          $ref: '#/definitions/ServiceChannel.Services.Messaging.WorkRequests.UpdateWorkRequestRequest'
      responses:
        '200':
          description: Indicates that the request succeeded and that the requested information is in the response.
        '400':
          description: "Bad Request - the request could not be understood or was missing required parameters.\r\n            <br/>Error codes:\r\n            301 - Contract not found for specified subscribers location, provider and trade\r\n            502 - WorkRequest not found\r\n            701 - Invalid trade\r\n            8006 - ScheduledDate has wrong format\r\n            8007 - Invalid status\r\n            8008 - Invalid extended status\r\n            8009 - Invalid category\r\n            8010 - Invalid priority     \r\n            8011 - Invalid currency\r\n            8019 - ScheduledDate must be greater than CallDate\r\n            8107 - Work request is closed\r\n            8108 - Closed reason is required for Closed status\r\n            8109 - Work order id is required for this closed reason\r\n            8110 - Invalid closed reason\r\n            8111 - Closed reason could be set only for Closed status\r\n            8112 - Invalid work order id\r\n            8113 - Work order id could be set only for Closed status\r\n            8114 - Work order id could be set only for &apos;Work order created&apos; reason"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
        '401':
          description: "The request is not authorized.\r\n            <br/>Error codes:\r\n            504 — API call rejected by security permissions"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
        '500':
          description: "Indicates that a generic error has occurred on the server.\r\n            <br/>Error codes:\r\n            501 - Internal Error code"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
      deprecated: false
      x-access: Any
  /workrequests/{workRequestId}/status:
    put:
      tags:
      - WorkRequests
      summary: Update a work request status
      description: '*In limited availability phase.*'
      operationId: PUTv3_workrequests_{workRequestId}_status
      consumes:
      - application/json
      - text/json
      produces:
      - application/json
      - text/json
      parameters:
      - name: workRequestId
        in: path
        description: Numeric Id of the work request to perform action with.
        required: true
        type: integer
        format: int32
      - name: updateRequest
        in: body
        description: The update request. Work request Status.
        required: true
        schema:
          $ref: '#/definitions/ServiceChannel.Services.Messaging.WorkRequests.ChangeWorkRequestStatusRequest'
      responses:
        '200':
          description: Indicates that the request succeeded and that the requested information is in the response.
        '400':
          description: "Bad Request - the request could not be understood or was missing required parameters.\r\n            <br/>Error codes:\r\n            502 - WorkRequest not found\r\n            8007 - Invalid status\r\n            8008 - Invalid extended status"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
        '401':
          description: "The request is not authorized.\r\n            <br/>Error codes:\r\n            504 — API call rejected by security permissions"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
        '500':
          description: "Indicates that a generic error has occurred on the server.\r\n            <br/>Error codes:\r\n            501 - Internal Error code"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
      deprecated: false
      x-access: Any
  /workrequests/{workRequestId}/priority:
    put:
      tags:
      - WorkRequests
      summary: Update work request priority
      description: '*In limited availability phase.*'
      operationId: PUTv3_workrequests_{workRequestId}_priority?priorityId={priorityId}
      consumes: []
      produces:
      - application/json
      - text/json
      parameters:
      - name: workRequestId
        in: path
        description: Numeric Id of the work request to perform action with.
        required: true
        type: integer
        format: int32
      - name: priorityId
        in: query
        description: Priority Id.
        required: true
        type: integer
        format: int32
      responses:
        '200':
          description: Indicates that the request succeeded and that the requested information is in the response.
        '400':
          description: "Bad Request - the request could not be understood or was missing required parameters.\r\n            <br/>Error codes:\r\n            502 - WorkRequest not found\r\n            8010 - Invalid priority"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
        '401':
          description: "The request is not authorized.\r\n            <br/>Error codes:\r\n            504 — API call rejected by security permissions"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
        '500':
          description: "Indicates that a generic error has occurred on the server.\r\n            <br/>Error codes:\r\n            501 - Internal Error code"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
      deprecated: false
      x-access: Any
  /workrequests/{workRequestId}/category:
    put:
      tags:
      - WorkRequests
      summary: Update work request category
      description: '*In limited availability phase.*'
      operationId: PUTv3_workrequests_{workRequestId}_category?categoryId={categoryId}
      consumes: []
      produces:
      - application/json
      - text/json
      parameters:
      - name: workRequestId
        in: path
        description: Numeric Id of the work request to perform action with.
        required: true
        type: integer
        format: int32
      - name: categoryId
        in: query
        description: Category Id.
        required: true
        type: integer
        format: int32
      responses:
        '200':
          description: Indicates that the request succeeded and that the requested information is in the response.
        '400':
          description: "Bad Request - the request could not be understood or was missing required parameters.\r\n            <br/>Error codes:\r\n            502 - WorkRequest not found\r\n            8009 - Invalid category"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
        '401':
          description: "The request is not authorized.\r\n            <br/>Error codes:\r\n            504 — API call rejected by security permissions"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
        '500':
          description: "Indicates that a generic error has occurred on the server.\r\n            <br/>Error codes:\r\n            501 - Internal Error code"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
      deprecated: false
      x-access: Any
  /workrequests/{workRequestId}/nte:
    put:
      tags:
      - WorkRequests
      summary: Update work request NTE
      description: '*In limited availability phase.*'
      operationId: PUTv3_workrequests_{workRequestId}_nte
      consumes:
      - application/json
      - text/json
      produces:
      - application/json
      - text/json
      parameters:
      - name: workRequestId
        in: path
        description: Numeric Id of the work request to perform action with.
        required: true
        type: integer
        format: int32
      - name: updateRequest
        in: body
        description: The update request. Work request NTE.
        required: true
        schema:
          $ref: '#/definitions/ServiceChannel.Services.Messaging.WorkRequests.ChangeWorkRequestNteRequest'
      responses:
        '200':
          description: Indicates that the request succeeded and that the requested information is in the response.
        '400':
          description: "Bad Request - the request could not be understood or was missing required parameters.\r\n            <br/>Error codes:\r\n            502 - WorkRequest not found\r\n            8011 - Invalid currency"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
        '401':
          description: "The request is not authorized.\r\n            <br/>Error codes:\r\n            504 — API call rejected by security permissions"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
        '500':
          description: "Indicates that a generic error has occurred on the server.\r\n            <br/>Error codes:\r\n            501 - Internal Error code"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
      deprecated: false
      x-access: Any
  /workrequests/{workRequestId}/scheduledate:
    put:
      tags:
      - WorkRequests
      summary: Update work request schedule date
      description: '*In limited availability phase.*'
      operationId: PUTv3_workrequests_{workRequestId}_scheduledate?scheduledDate={scheduledDate}
      consumes: []
      produces:
      - application/json
      - text/json
      parameters:
      - name: workRequestId
        in: path
        description: Numeric Id of the work request to perform action with.
        required: true
        type: integer
        format: int32
      - name: scheduledDate
        in: query
        description: Scheduled date.
        required: true
        type: string
      responses:
        '200':
          description: Indicates that the request succeeded and that the requested information is in the response.
        '400':
          description: "Bad Request - the request could not be understood or was missing required parameters.\r\n            <br/>Error codes:\r\n            502 - WorkRequest not found\r\n            8006 - ScheduledDate has wrong format\r\n            8019 - ScheduledDate must be greater than CallDate"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
        '401':
          description: "The request is not authorized.\r\n            <br/>Error codes:\r\n            504 — API call rejected by security permissions"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
        '500':
          description: "Indicates that a generic error has occurred on the server.\r\n            <br/>Error codes:\r\n            501 - Internal Error code"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
      deprecated: false
      x-access: Any
  /workrequests/{workRequestId}/description:
    put:
      tags:
      - WorkRequests
      summary: Update work request description
      description: '*In limited availability phase.*'
      operationId: PUTv3_workrequests_{workRequestId}_description
      consumes:
      - application/json
      - text/json
      produces:
      - application/json
      - text/json
      parameters:
      - name: workRequestId
        in: path
        description: Numeric Id of the work request to perform action with.
        required: true
        type: integer
        format: int32
      - name: updateRequest
        in: body
        description: The update request. Work request description.
        required: true
        schema:
          $ref: '#/definitions/ServiceChannel.Services.Messaging.WorkRequests.ChangeWorkRequestStringFieldsRequest'
      responses:
        '200':
          description: Indicates that the request succeeded and that the requested information is in the response.
        '400':
          description: "Bad Request - the request could not be understood or was missing required parameters.\r\n            <br/>Error codes:\r\n            502 - WorkRequest not found"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
        '401':
          description: "The request is not authorized.\r\n            <br/>Error codes:\r\n            504 — API call rejected by security permissions"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
        '500':
          description: "Indicates that a generic error has occurred on the server.\r\n            <br/>Error codes:\r\n            501 - Internal Error code"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
      deprecated: false
      x-access: Any
  /workrequests/{workRequestId}/trade:
    put:
      tags:
      - WorkRequests
      summary: Update work request trade
      description: '*In limited availability phase.*'
      operationId: PUTv3_workrequests_{workRequestId}_trade?tradeId={tradeId}
      consumes: []
      produces:
      - application/json
      - text/json
      parameters:
      - name: workRequestId
        in: path
        description: Numeric Id of the Work request to perform action with.
        required: true
        type: integer
        format: int32
      - name: tradeId
        in: query
        description: Trade id.
        required: true
        type: integer
        format: int32
      responses:
        '200':
          description: Indicates that the request succeeded and that the requested information is in the response.
        '400':
          description: "Bad Request - the request could not be understood or was missing required parameters.\r\n            <br/>Error codes:\r\n            301 - Contract not found for specified subscribers location, provider and trade\r\n            502 - WorkRequest not found\r\n            701 - Invalid trade"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
        '401':
          description: "The request is not authorized.\r\n            <br/>Error codes:\r\n            504 — API call rejected by security permissions"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
        '500':
          description: "Indicates that a generic error has occurred on the server.\r\n            <br/>Error codes:\r\n            501 - Internal Error code"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
      deprecated: false
      x-access: Any
  /workrequests/{workRequestId}/reassign:
    put:
      tags:
      - WorkRequests
      summary: Reassign work request to another provider
      description: '*In limited availability phase.*'
      operationId: PUTv3_workrequests_{workRequestId}_reassign
      consumes:
      - application/json
      - text/json
      produces:
      - application/json
      - text/json
      parameters:
      - name: workRequestId
        in: path
        description: Numeric Id of the work request to perform action with.
        required: true
        type: integer
        format: int32
      - name: reassignRequest
        in: body
        description: The request to perform action with.
        required: true
        schema:
          $ref: '#/definitions/ServiceChannel.Services.Messaging.WorkRequests.ReassignWorkRequestRequest'
      responses:
        '200':
          description: Indicates that the request succeeded and that the requested information is in the response.
        '400':
          description: "Bad Request - the request could not be understood or was missing required parameters.\r\n            <br/>Error codes:\r\n            100 - Invalid provider id passed\r\n            301 - Contract not found for specified subscribers location, provider and trade\r\n            502 - WorkRequest not found\r\n            503 - Provider should be changed\r\n            701 - Invalid trade\r\n            8006 - ScheduledDate has wrong format\r\n            8009 - Invalid category\r\n            8010 - Invalid priority\r\n            8011 - Invalid currency\r\n            8019 - ScheduledDate must be greater than CallDate"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
        '401':
          description: "The request is not authorized.\r\n            <br/>Error codes:\r\n            504 — API call rejected by security permissions"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
        '500':
          description: "Indicates that a generic error has occurred on the server.\r\n            <br/>Error codes:\r\n            501 - Internal Error code"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
      deprecated: false
      x-access: Any
  /workrequests/search:
    post:
      tags:
      - WorkRequests
      summary: "Performs search of work requests by specified filter expression.  \r\n            One page contains 50 items by default (\"PageSize\"=50). \r\n            To get next 50 items use the “Page” parameter (for example Page=2 and so on)."
      description: '*In limited availability phase.*'
      operationId: POSTv3_workrequests_search
      consumes:
      - application/json
      - text/json
      produces:
      - application/json
      - text/json
      parameters:
      - name: request
        in: body
        description: ''
        required: true
        schema:
          $ref: '#/definitions/ServiceChannel.Services.Messaging.WorkRequests.SearchWorkRequestRequest'
      responses:
        '200':
          description: Work requests are in the response.
          schema:
            type: array
            items:
              $ref: '#/definitions/ServiceChannel.Services.Messaging.WorkRequests.WorkRequest'
        '400':
          description: "The request is not accepted due to bad syntax, missing parameters, insufficient data, etc.\r\n            <br/>Error codes:           \r\n            8100 - CallDateFrom has wrong format\r\n            8101 - CallDateTo has wrong format\r\n            8102 - ScheduledDateFrom has wrong format\r\n            8103 - ScheduledDateTo has wrong format\r\n            8104 - CloseDateFrom has wrong format\r\n            8105 - CloseDateTo has wrong format"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
        '401':
          description: "The request is not authorized.\r\n            <br/>Error codes:\r\n            504 — API call rejected by security permissions"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
        '500':
          description: The server was unable to complete the request due to an internal error.
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
      deprecated: false
      x-access: Any
  /workrequests/providersforreassignment:
    get:
      tags:
      - WorkRequests
      summary: Get providers available for reassign
      operationId: GETv3_workrequests_providersforreassignment?workRequestId={workRequestId}
      consumes: []
      produces:
      - application/json
      - text/json
      parameters:
      - name: workRequestId
        in: query
        description: Work request id
        required: true
        type: integer
        format: int32
      responses:
        '201':
          description: Created indicates that the request resulted in a new resource created before the response was sent.
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.Providers.ServiceRequestProvider'
        '400':
          description: "The request is not accepted due to bad syntax, missing parameters, insufficient data, etc.\r\n            <br/>Error codes:           \r\n            503 - Invalid Equipment Id\r\n            503 - Invalid Location Id\r\n            804 - API call rejected by lack of provider permissions\r\n            502 - We could not find the service provider for the problem you have indicated"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
        '401':
          description: "The request is not authorized.\r\n            <br/>Error codes:\r\n            504 — API call rejected by security permissions"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
        '404':
          description: "The requested resource does not exist on the server.\r\n            <br/>Error codes:\r\n            502 — We could not find the service provider for the problem you have indicated"
        '500':
          description: "Indicates that a generic error has occurred on the server.\r\n            <br/>Error codes:\r\n            501 - Internal Error code"
          schema:
            $ref: '#/definitions/ServiceChannel.Services.Messaging.ErrorResponse'
      deprecated: false
      x-access: Any
definitions:
  ServiceChannel.Services.Messaging.WorkRequests.WorkRequest:
    description: Work Request
    type: object
    properties:
      Id:
        format: int32
        description: Id
        type: integer
      SubscriberId:
        format: int32
        description: Subscriber Id
        type: integer
      SubscriberShortName:
        description: Subscriber Short Name
        type: string
      ProviderId:
        format: int32
        description: Provider Id
        type: integer
      ProviderShortName:
        description: Provider Short Name
        type: string
      LocationId:
        format: int32
        description: Location Id
        type: integer
      LocationStoreId:
        description: Location Store Id
        type: string
      EventId:
        description: Event Id
        type: string
      StatusId:
        format: int32
        description: Status Id
        type: integer
      StatusName:
        description: Status Name
        type: string
      ExtendedStatusId:
        format: int32
        description: Extended Status Id
        type: integer
      ExtendedStatusName:
        description: Extended Status Name
        type: string
      ClosedReasonId:
        format: int32
        description: Closed Reason Id
        type: integer
      ClosedReasonName:
        description: Closed Reason Name
        type: string
      Description:
        description: Description
        type: string
      TradeId:
        format: int32
        description: Trade Id
        type: integer
      TradeName:
        description: Trade Name
        type: string
      CategoryId:
        format: int32
        description: Category Id
        type: integer
      CategoryName:
        description: Category Name
        type: string
      PriorityId:
        format: int32
        description: Priority Id
        type: integer
      PriorityName:
        description: Priority Name
        type: string
      Caller:
        description: Caller
        type: string
      CallDate:
        format: date-time
        description: Call Date
        type: string
      ClosedDate:
        format: date-time
        description: Closed Date
        type: string
      ScheduledDate:
        format: date-time
        description: Scheduled Date
        type: string
      WorkOrderId:
        format: int32
        description: Work Order Id
        type: integer
      AssetId:
        format: int32
        description: Asset Id
        type: integer
      Nte:
        $ref: '#/definitions/ServiceChannel.Services.Messaging.WorkRequests.WorkRequestNte'
        description: NTE
      Issue:
        $ref: '#/definitions/ServiceChannel.Services.Messaging.WorkRequests.WorkRequestIssue'
        description: Issue information
  ServiceChannel.Services.Messaging.ErrorResponse:
    description: The error response object
    type: object
    properties:
      ErrorCodes:
        description: The list of error codes. Go to /basics/general/response-codes/#internal-error-codes-and-messages to map error codes to error reasons.
        type: array
        items:
          enum:
          - NotAllowed
          - EmptyProvider
          - InvalidProviderId
          - UnknownProvider
          - ProviderAlreadyExists
          - ProviderIdNotExists
          - TimeoutExpiredError
          - EmptyContract
          - ContractUndefined
          - EmptySubscriber
          - InvalidSubscriberId
          - UnknownSubscriber
          - InactiveSubscriber
          - EmptySubscriberId
          - SubscriberIdNotExists
          - InternalError
          - DataNotFound
          - BadRequest
          - UnAuthorized
          - UnSupportedApplication
          - SubsidiaryUserDisabled
          - EmptyLocation
          - InvalidLocationId
          - UnknownLocation
          - LocationNotBelongsToSubscriber
          - EmptyLocationCountry
          - LocationAlreadyExists
          - InvalidStoreId
          - LocationEmptyState
          - NoAccessToLocation
          - LocationAddressValidationError
          - LocationAddressRequestValidationError
          - InvalidLocationNoteHeader
          - NoAccessToUpdateProtectedNote
          - InvalidBusinessHoursFormat
          - WorkingHoursIntersect
          - InvalidDayOfWeek
          - DuplicateDayOfWeek
          - InvalidBusinessHoursInitialSetup
          - BusinessHoursIsEmpty
          - InvalidHolidayRepeatByType
          - EmptyHolidayListOfDays
          - EmptyHolidayListOfMonths
          - InvalidHolidayMonthName
          - InvalidHolidayNameLength
          - InvalidHolidayRepeatEvery
          - DuplicateMonth
          - InvalidHolidayFrequency
          - InvalidHolidayStartDate
          - InvalidCloseAllDay
          - HolidayDoesNotExist
          - InvalidFormatParameter
          - InvalidLocationCity
          - InvalidLocationZip
          - InvalidLocationLatitude
          - InvalidLocationLongitude
          - InvalidLocationEmail
          - InvalidLocationName
          - InvalidLocationState
          - InvalidLocationAddlAddress
          - InvalidLocationMainAddress
          - InvalidLocationCountry
          - InvalidLocationRegion
         

# --- truncated at 32 KB (105 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/servicechannel/refs/heads/main/openapi/servicechannel-workrequests-api-openapi.yml