NOTE: User must me logged in as agent with permissions or admin to access this API
URL : v3/service-desk/api/edit-change/{changeId}
Method : GET
Parameters :
Parameter | Type | Possible Values | Required/Optional | Description |
changeId | Integer | Required | Change Id | |
category | Integer | change | Optional | Category name ‘change’ |
scenario | Integer | edit | Optional | Scenario name ‘edit’ |
panel | Integer | agent | Optional | Panel name ‘agent’ |
Success Response:
{ "success": true, "data": { "form_fields": [ { "id": 48, "type": "text", "api_info": "url:=;;", "pattern": "", "unique": "subject", "default": 1, "media_option": 0, "show_description_under_form_field": 0, "required": 1, "value": "new changee", "label": "Subject", "description": "", "validation_message": null, "options": [] }, { "id": 49, "type": "text", "api_info": "url:=;;", "pattern": "", "unique": "identifier", "default": 1, "media_option": 0, "show_description_under_form_field": 0, "required": 0, "value": "CHN-5", "label": "Identifier", "description": "", "validation_message": null, "options": [] }, { "id": 50, "type": "api", "api_info": "url:=api/dependency/users?meta=true;;", "pattern": "", "unique": "requester_id", "default": 1, "media_option": 0, "show_description_under_form_field": 0, "required": 1, "value": { "id": 1, "first_name": "Demo", "last_name": "Admin", "email": "demoadmin@faveo.com", "profile_pic": "https://secure.gravatar.com/avatar/e5ad4e7a8326290335d5ea886057585a?s=80&r=g&d=mm", "full_name": "Demo Admin", "meta_name": "Demo Admin <demoadmin@faveo.com>", "email_verified": false, "mobile_verified": false, "name": "Demo Admin" }, "label": "Requester", "description": "", "validation_message": null, "options": [] }, { "id": 51, "type": "api", "api_info": "url:=service-desk/api/dependency/change_statuses;;", "pattern": "", "unique": "status_id", "default": 1, "media_option": 0, "show_description_under_form_field": 0, "required": 1, "value": { "id": 1, "name": "Open" }, "label": "Status", "description": "", "validation_message": null, "options": [] }, { "id": 52, "type": "api", "api_info": "url:=service-desk/api/dependency/change_types?meta=true;;", "pattern": "", "unique": "change_type_id", "default": 1, "media_option": 0, "show_description_under_form_field": 0, "required": 1, "value": { "id": 2, "name": "Standard", "nodes": [] }, "label": "Change Type", "description": "", "validation_message": null, "options": [] }, { "id": 53, "type": "api", "api_info": "url:=service-desk/api/dependency/change_priorities;;", "pattern": "", "unique": "priority_id", "default": 1, "media_option": 0, "show_description_under_form_field": 0, "required": 0, "value": null, "label": "Priority", "description": "", "validation_message": null, "options": [] }, { "id": 54, "type": "api", "api_info": "url:=api/dependency/teams;;", "pattern": "", "unique": "team_id", "default": 1, "media_option": 0, "show_description_under_form_field": 0, "required": 0, "value": null, "label": "Team", "description": "", "validation_message": null, "options": [] }, { "id": 55, "type": "api", "api_info": "url:=api/dependency/locations;;", "pattern": "", "unique": "location_id", "default": 1, "media_option": 0, "show_description_under_form_field": 0, "required": 0, "value": null, "label": "Location", "description": "", "validation_message": null, "options": [] }, { "id": 56, "type": "api", "api_info": "url:=service-desk/api/dependency/impacts;;", "pattern": "", "unique": "impact_id", "default": 1, "media_option": 0, "show_description_under_form_field": 0, "required": 0, "value": null, "label": "Impact", "description": "", "validation_message": null, "options": [] }, { "id": 57, "type": "api", "api_info": "url:=api/dependency/departments;;", "pattern": "", "unique": "department_id", "default": 1, "media_option": 0, "show_description_under_form_field": 0, "required": 0, "value": null, "label": "Department", "description": "", "validation_message": null, "options": [] }, { "id": 58, "type": "custom", "api_info": "url:=service-desk/api/asset-list;;key:=id;;", "pattern": "", "unique": "asset_ids", "default": 1, "media_option": 0, "show_description_under_form_field": 0, "required": 0, "value": [], "label": "Assets", "description": "", "validation_message": null, "options": [] }, { "id": 59, "type": "htmltextarea", "api_info": "url:=;;", "pattern": "", "unique": "description", "default": 1, "media_option": 0, "show_description_under_form_field": 0, "required": 0, "value": "", "label": "Description", "description": "", "validation_message": null, "options": [] }, { "id": 60, "type": "file", "api_info": "url:=;;", "pattern": "", "unique": "attachments", "default": 1, "media_option": 0, "show_description_under_form_field": 0, "required": 0, "value": [], "label": "Attachments", "description": "", "validation_message": null, "options": [] } ], "post_max_size": 8388608, "upload_max_filesize": 2097152, "max_file_uploads": 20, "submit_endpoint": "/service-desk/api/change/5" } }