cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
pieromontas
Engaged Sweeper
Can somebody show me an example how can i add customfields for my swuagger file on the lansweeper API


heres the swuagger file that im using right now i would like to add my customfields too

swagger: '2.0'
info: {title: Lansweeper, description: '', version: '1.0'}
host: app.company.com:443
basePath: /api.aspx
schemes: [https]
consumes: []
produces: []
paths:
/443/api.aspx:
post:
responses:
'202':
description: default
schema:
type: object
properties:
Success: {type: boolean, description: Success}
Message: {type: string, description: Message}
Ticketid: {type: integer, format: int32, description: Ticketid}
Subject: {type: string, description: Subject}
Description: {type: string, description: Description}
CreationDate: {type: string, description: CreationDate}
Type: {type: string, description: Type}
Priority: {type: string, description: Priority}
State: {type: string, description: State}
Team: {type: string, description: Team}
Agent: {type: string, description: Agent}
AgentID: {type: integer, format: int32, description: AgentID}
User: {type: string, description: User}
UserID: {type: integer, format: int32, description: UserID}
FollowUp: {type: boolean, description: FollowUp}
AgentInitiated: {type: boolean, description: AgentInitiated}
Personal: {type: boolean, description: Personal}
parameters:
- {name: key, in: query, required: true, type: string, default: 38a39146-ccf3-488c-aae4-b6ea834deb6d,
x-ms-visibility: internal}
- {name: Action, in: query, required: false, type: string}
- {name: Subject, in: query, required: false, type: string}
- {name: Description, in: query, required: false, type: string}
- {name: Type, in: query, required: false, type: string, default: New Employee}
- {name: Priority, in: query, required: false, type: string, default: Low}
- {name: Username, in: query, required: false, type: string}
- {name: AgentUsername, in: query, required: false, type: string}
- {name: Team, in: query, required: false, type: string, default: Technical
Support}
- {name: TicketID, in: query, required: true, type: integer, default: 0, format: int64}
summary: EditTicket
operationId: EditTicket
description: sdsdsds
definitions: {}
parameters: {}
responses: {}
securityDefinitions: {}
security: []
tags: []
0 REPLIES 0

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now