V1
| API | SaveVulnerabilityData |
| Purpose | To save the ticket details for Vulnerability. |
| API URL | https://<API URL>:<API Port>//v1/vulnerability/orgentityid/{orgentityid} |
| Authentication type | Basic /Token |
| Method Type | Post |
If “IsTimeZoneOrOffset”: “TIMEZONE” then it is mandatory to define the time zone in which the ticket is being created in the key “TimeZone” and “TimeZoneOffset” value can be left blank else if “IsTimeZoneOrOffset”: “OFFSET“ then it is mandatory to define the offset value in the key “TimeZoneOffset” and “TimeZone” value can be left blank else if “IsTimeZoneOrOffset” : “GMT” then no need to define the value for keys “TimeZone” and“TimeZoneOffset” and can be left blank. (Offset value is the difference of time in minutes in which the ticket is being created and GMT time.)
Request Format:
[
{
"TicketNumber": "string",
"Summary": "string",
"Sys_id": "string",
"ResolvedDate": "string",
"AssignedGroup":"string",
"StatusCode": "string",
"CreationDate": "string",
"Description": "string",
"LastModifiedDate": "string",
"Col1": "string",
"Col2": "string",
"Col3": "string",
"Col4": "string",
"Col5": "string",
"Col6": "string",
"Col7": "string",
"Col8": "string",
"Col9": "string",
"Col10": "string",
"Col11": "string",
"Col12": "string",
"Col13": "string",
"Col14": "string",
"Col15": "string",
"Col16": "string",
"Col17": "string",
"Col18": "string",
"Col19": "string",
"Col20": "string",
"TimeZone": "string",
"TimeZoneOffset": "string",
"IsTimeZoneOrOffset": "string",
"IsEpoch": "string",
"ModuleId": "string",
"Priority": "string"
}
]
Parameters Required in Request body of API
| Column Name | Column Type | Mandatory | Expected/Sample value | Remarks |
|---|---|---|---|---|
| TicketNumber | String | Yes | AVIT0001017 | This field contains unique Ticket Number |
| Summary | String | Yes | test | This field contains Summary about the Vulnerability |
| StatusCode | String | Yes | 1 | This fields contains Status Code |
| CreationDate | String | Yes | 2019-11-18 06:24:52.000 | This fields contains Creation Date |
| Description | String | Yes | testing data | This field contains description about the Vulnerability |
| LastModifiedDate | String | Yes | 2019-11-18 06:24:52.000 | This fields contains LastModifiedDate |
| TimeZone | String | Yes if "IsTimeZoneOrOffset":"TIMEZONE | IST | It defines in which format you are sending data, in use only when "IsTimeZoneOrOffset":"TIMEZONE" |
| TimeZoneOffset | String | Yes if "IsTimeZoneOrOffset":"OFFSET" | -330 | It defines the offset, in use only when 'IsTimeZoneOrOffset":"OFFSET" |
| IsTimeZoneOrOffset | String | Yes | TIMEZONE/OFFSET/ GMT | It defines whether you want to use Timezone, offset or GMT value |
| IsEpoch | String | Yes | "Y" or "N" | If date format is Epoch, set this key value as "Y" else "N" |
| ModuleId | String | Yes | "13" | This fields contains Module |
| Sys_id | String | Yes | xxxxxxxxxxx | This field contains unique number |
| ResolvedDate | String | Yes | 2025-12-12 | This field contains date whenever ticket gets resolved |
| AssignedGroup | String | No | xxxxxxxxxxx | This field contains assignment group of ticket |
| Col | String | No | You can use it for any custom value |
Output:
{
"Id": "xxxxxxxx",
"Status": "Success",
"Message": "Vulnerability data saved successfully."
}
| Column | Column type | Value | Remarks |
|---|---|---|---|
| Id | string | 1017ae8a-f01e-439c-988a-7d91dba6c157 | Reference Number |
| Status | string | Success/Fail | Status of the API call |
| Column | Column type | Value | Remarks |
| Message | string | Vulnerability data saved successfully | Details about the API call result |