Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Beskrivning
Tjänsten hanterar uppdateringar av händelser på ett ärende i POB.
Livscykelstatus
Test
Lösningsbeskrivning
Gliffy | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Hantering av personuppgifter
Inga personuppgifter hanteras i denna tjänst.
API specifikation
Expand | ||
---|---|---|
| ||
|
Swagger ui |
---|
openapi: 3.0.1 info: title: api-supportcenter contact: {} license: name: MIT License url: 'https://opensource.org/licenses/MIT' version: '1.0' servers: - url: https://api-test.sundsvall.se/supportcenter/1.0 tags: - name: Configuration description: Configuration operations - name: Cases description: Case operations paths: '/cases/{caseId}': patch: tags: - Cases summary: Update existing case operationId: updateCase parameters: - name: pobKey in: header description: The POB API-key required: true style: simple explode: false schema: type: string - name: caseId in: path description: The Case-ID required: true style: simple explode: false schema: type: string example: 81471222 requestBody: content: application/json: schema: $ref: '#/components/schemas/UpdateCaseRequest' required: true responses: '204': description: Successful Operation '400': description: Bad Request content: application/problem+json: schema: oneOf: - $ref: '#/components/schemas/Problem' - $ref: '#/components/schemas/ConstraintViolationProblem' '401': description: Unauthorized content: application/problem+json: schema: $ref: '#/components/schemas/Problem' '404': description: Not Found content: application/problem+json: schema: $ref: '#/components/schemas/Problem' '500': description: Internal Server Error content: application/problem+json: schema: $ref: '#/components/schemas/Problem' /configuration/closureCodes: security get: tags: - default: []Configuration x-auth-typesummary: ApplicationReturn &all Applicationavailable UserclosureCodes x-throttling-tieroperationId: UnlimitedgetClosureCodeList x-wso2-application-securityparameters: security-types name: pobKey -in: oauth2header - api_key description: The POB API-key optional: false /configuration/closureCodesrequired: true get: tagsstyle: simple - Configuration explode: false summary: Return all available closureCodes schema: operationId: getClosureCodeList parameterstype: string - nameresponses: pobKey in'200': header description: TheSuccessful POBoperation API-key content: required: true styleapplication/json: simple explode: false schema: schema: type: array string responses: '200'items: description: Successful operation content:type: string application/problem+json: schema: type: array items: type: string '400': application/problem+json: description: Bad request schema: content: typeapplication/json: array schema: items: oneOf: type: string '400': - $ref: '#/components/schemas/Problem' description: Bad request - content$ref: '#/components/schemas/ConstraintViolationProblem' application/problem+json: schema: oneOf: - $ref: '#/components/schemas/Problem' - $ref: '#/components/schemas/ConstraintViolationProblem' '401': application/problem+json:description: Unauthorized content: schema: application/json: oneOf: schema: - $ref: '#/components/schemas/Problem' application/problem+json: - schema: $ref: '#/components/schemas/ConstraintViolationProblemProblem' '401500': description: Internal Server Unauthorizederror content: application/json: schema: $ref: '#/components/schemas/Problem' application/problem+json: schema: $ref: '#/components/schemas/Problem' /configuration/caseCategories: '500'get: tags: description: Internal Server error - Configuration summary: content:Return all available caseCategories operationId: getCaseCategoryList application/json: parameters: - schemaname: pobKey in: header $ref: '#/components/schemas/Problem' description: The POB API-key application/problem+json: required: true schema: style: simple $refexplode: '#/components/schemas/Problem'false security: schema: - default: [] x-auth-type: Applicationstring & Application User responses: x-throttling-tier: Unlimited '200': x-wso2-application-security: security-typesdescription: Successful operation - oauth2 content: - api_key application/json: optional: false /configuration/caseCategories: getschema: tags: -type: Configurationarray summary: Return all available caseCategories items: operationId: getCaseCategoryList parameters: - nametype: pobKeystring in: header application/problem+json: description: The POB API-key schema: required: true styletype: simplearray explode: false items: schema: type: string responses: '200400': description: SuccessfulBad operationrequest content: application/json: schema: typeoneOf: array items: - $ref: '#/components/schemas/Problem' type: string - $ref: '#/components/schemas/ConstraintViolationProblem' application/problem+json: schema: typeoneOf: array - items$ref: '#/components/schemas/Problem' - type$ref: string'#/components/schemas/ConstraintViolationProblem' '400401': description: Bad requestUnauthorized content: application/json: schema: oneOf:$ref: '#/components/schemas/Problem' application/problem+json: - $ref: '#/components/schemas/Problem' schema: - $ref: '#/components/schemas/ConstraintViolationProblemProblem' '500': application/problem+json: description: Internal Server error schema: content: oneOfapplication/json: - $ref: '#/components/schemas/Problem' schema: - $ref: '#/components/schemas/ConstraintViolationProblemProblem' '401': description: Unauthorized content: application/application/problem+json: schema: $ref: '#/components/schemas/Problem' application/problem+json: schema: $ref: '#/components/schemas/Problem' '500': description: Internal Server error content: application/json: schema: $ref: '#/components/schemas/Problem' application/problem+json: schema: $ref: '#/components/schemas/Problem' security: - default: [] x-auth-type: Application & Application User x-throttling-tier: Unlimited x-wso2-application-security: security-types: - oauth2 - api_key optional: false /api-docs: get: tags: - API summary: OpenAPI operationId: getApiDocs responses: '200': description: OK content: application/yaml: schema: type: string security: - ApiKeyAuth: [] components: schemas: CaseStatus: type: string description: CaseStatus model enum: - Opened - In Process - Solved - Closed Note: required: - text - type type: object properties: type: $ref: '#/components/schemas/NoteType' text: type: string description: Note text example: This is a note description: Note model NoteType: type: string description: NoteType model enum: - PROBLEM - SOLUTION - WORKNOTE UpdateCaseRequest: type: object properties: note: $ref: '#/components/schemas/Note' externalCaseId: type: string description: External case-ID example: INC232323 caseStatus: $ref: '#/components/schemas/CaseStatus' caseCategory: type: string description: Case category example: IT Användarhantering closureCode: type: string description: Closure code example: IT Byte/uppgradering av hårdvara responsibleGroup: type: string description: Responsible group example: First Line IT description: UpdateCaseRequest model Problem: type: object properties: instance: type: string format: uri type: type: string format: uri parameters: type: object additionalProperties: type: object status: $ref: '#/components/schemas/StatusType' title: type: string detail: type: string StatusType: type: object properties: statusCode: type: integer format: int32 reasonPhrase: type: string ConstraintViolationProblem: type: object properties: cause: $ref: '#/components/schemas/ThrowableProblem' stackTrace: type: array items: type: object properties: classLoaderName: type: string moduleName: type: string moduleVersion: type: string methodName: type: string fileName: type: string lineNumber: type: integer format: int32 nativeMethod: type: boolean className: type: string type: type: string format: uri status: $ref: '#/components/schemas/StatusType' violations: type: array items: $ref: '#/components/schemas/Violation' title: type: string message: type: string instance: type: string format: uri parameters: type: object additionalProperties: type: object detail: type: string suppressed: type: array items: type: object properties: cause: type: object properties: stackTrace: type: array items: type: object properties: classLoaderName: type: string moduleName: type: string moduleVersion: type: string methodName: type: string fileName: type: string lineNumber: type: integer format: int32 nativeMethod: type: boolean className: type: string message: type: string localizedMessage: type: string stackTrace: type: array items: type: object properties: classLoaderName: type: string moduleName: type: string moduleVersion: type: string methodName: type: string fileName: type: string lineNumber: type: integer format: int32 nativeMethod: type: boolean className: type: string message: type: string localizedMessage: type: string localizedMessage: type: string ThrowableProblem: type: object properties: cause: $ref: '#/components/schemas/ThrowableProblem' stackTrace: type: array items: type: object properties: classLoaderName: type: string moduleName: type: string moduleVersion: type: string methodName: type: string fileName: type: string lineNumber: type: integer format: int32 nativeMethod: type: boolean className: type: string message: type: string instance: type: string format: uri type: type: string format: uri parameters: type: object additionalProperties: type: object status: $ref: '#/components/schemas/StatusType' title: type: string detail: type: string suppressed: type: array items: type: object properties: cause: type: object properties: stackTrace: type: array items: type: object properties: classLoaderName: type: string moduleName: type: string moduleVersion: type: string methodName: type: string fileName: type: string lineNumber: type: integer format: int32 nativeMethod: type: boolean className: type: string message: type: string localizedMessage: type: string stackTrace: type: array items: type: object properties: classLoaderName: type: string moduleName: type: string moduleVersion: type: string methodName: type: string fileName: type: string lineNumber: type: integer format: int32 nativeMethod: type: boolean className: type: string message: type: string localizedMessage: type: string localizedMessage: type: string Violation: type: object properties: field: type: string message: type: string securitySchemes: ApiKeyAuth: type: apiKey in: header name: apikey |
Säkerhetsklassning
Säkerhetsklass 1
Autentiseringsmetod: Oauth2
(Ref: Säkerhetsklassning av APIer )
API-ägare
N/A
Teknisk ägare
https://sundsvall.atlassian.net/wiki/spaces/API
Team Unmasked
teamunmasked@sundsvall.se
Källkod
<Länk till källkoden på GIThub (om det finns)>
FAQ
N/A