0.0.14 • Published 3 years ago

@one-view/pd-oneview-active-cases-types v0.0.14

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

FORMAT: 1A VERSION: 1.0.0 HOST: https://api.pd-oneview.net/active-cases

pd-oneview-active-cases

oneview backend for active cases

Organizations list /v1/organizations

Organizations list for active cases

Get GET

  • Request

    • Headers

        Authorization: bearer token
  • Response 200 (application/json)

    • Attributes (OrganizationList)
  • Response 404 (application/json)

    • Attributes (Error)
  • Response 500 (application/json)

    • Attributes (Error)

Queues list /v1/queues

Queues list for active cases

Get GET

  • Request

    • Headers

        Authorization: bearer token
  • Response 200 (application/json)

    • Attributes (QueueList)
  • Response 404 (application/json)

    • Attributes (Error)
  • Response 500 (application/json)

    • Attributes (Error)

Tickets data /v1/tickets

Tickets data with filter, sorting and pagination for active cases

Get tickets GET /v1/tickets{?filter.status,filter.organization,filter.queue,orderBy,direction,cursor,pageSize}

  • Parameters

    • filter.status (optional, ChatStatus)
    • filter.organization (optional, Organizations)
    • filter.queue (optional, string)
    • orderBy (optional, string)
    • direction (optional, SortOrder)
    • cursor (optional, string)
    • pageSize (optional, int32)
      • Default: 10
  • Request

    • Headers

        Authorization: bearer token
  • Response 200 (application/json)

    • Attributes (GetTicketsResponse)
  • Response 400 (application/json)

    • Attributes (Error)
  • Response 401 (application/json)

    • Attributes (Error)
  • Response 403 (application/json)

    • Attributes (Error)
  • Response 404 (application/json)

    • Attributes (Error)
  • Response 500 (application/json)

    • Attributes (Error)

Data Structures

int32 (number)

int64 (number)

error_object (object)

  • status (string)
  • title (string)

Error (object)

QueueList

  • list (arraystring) - List of queues name from workflow server

OrganizationList

ChatStatus (enum)

  • Active
  • Closed

Organization (enum)

  • FP
  • SBTMY
  • ACCLA
  • MIBS
  • AMKH
  • TCJP
  • TCT
  • IBEX
  • GENEX
  • MBPK
  • ACC
  • TCMY
  • SSC
  • IBEXPK

GetTicketsResponse

  • tickets (arrayTicket, fixed-type) - list of ticket
  • cursor (Cursor, required) - object of pagination cursor
  • pageSize: 10 (int32)

SortOrder (enum)

  • asc
  • desc

Ticket

  • id : f4b8f8e5-365a-4ed1-a122-0f4ba1afef44 (string, required) - ticket id
  • isChatClosed : true (boolean, required) - chat ticket status
  • agent : agent (string) - assigned agent name
  • queueName : fp-tw-cmn (string) - queue name of the ticket
  • organization : FP (string) - organization of the agent
  • requestedTime : 1572499999 (int64) - time at which this ticket created
  • assignedTime : 1572499999 (int64) - time at which this ticket assigned
  • chatClosedTime : 1572499999 (int64) - time at which this chat room closed
  • currentTime : 1572499999 (int64) - current time at server, for calculation in FE

Cursor

  • currentPage: tokenA (string, required)
  • nextPage: tokenB (string, required)
  • previousPages (arraystring, required, fixed-type)
0.0.14

3 years ago

0.0.10

3 years ago

0.0.11

3 years ago

0.0.12

3 years ago

0.0.13

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago