Crear un servicio en reactjs para consumir información de una api de servicenow (
https://southwestdev.service-now.com/api/now/v1/table/wm_task?); Esto nos mostrara la siguiente estructura:
"result": [
{
"parent": {
"link": "
https://southwestdev.service-now.com/api/now/v1/table/task/25cfea9d1b25bb48e3673333dd4bcb1d",
"value": "25cfea9d1b25bb48e3673333dd4bcb1d"
},
"u_vendor_not_found": "false",
"window_end": "",
"watch_list": "",
"u_vendor_related_issue": "false",
"u_call_back_number": "",
"upon_reject": "cancel",
"sys_updated_on": "2019-05-20 14:32:54",
"u_resolved_by_tier_1": "false",
"u_ud_parent": "",
"u_resolved_within_1_hour": "true",
"approval_history": "",
"skills": "",
"number": "WOT0010128",
"u_task_for": "",
"u_technical_service": "",
"u_excessive_reassignment": "false",
"previous_agent": "",
"expected_travel_start": "2019-05-20 13:32:54",
"state": "16",
"sys_created_by": "x245233",
"knowledge": "false",
"order": "",
"cmdb_ci": "",
"impact": "",
"u_requested_for": "",
"active": "true",
"work_notes_list": "",
"priority": "4",
"u_pending_assessment": "false",
"u_requested_for_phone": "",
"group_list": "",
"u_template": "",
"approval_set": "",
"u_requested_by_phone": "",
"template": "",
"short_description": "Work Order Task Test",
"acknowledged_on": "",
"correlation_display": "",
"work_start": "",
"u_event_notes": "",
"additional_assignee_list": "",
"actual_travel_start": "",
"u_requested_for_relationship": "",
"estimated_travel_duration": "1970-01-01 01:00:00",
"assigned_vendor": "",
"service_offering": "",
"sys_class_name": "wm_task",
"closed_by": "",
"follow_up": "",
"u_planned_response_date": "",
"estimated_end": "2019-05-20 15:32:54",
"u_on_site_response_time": "",
"vendor_reference": "",
"dispatched_on": "2019-05-20 14:32:54",
"reassignment_count": "0",
"u_created_by_tier_1": "false",
"assigned_to": {
"link": "
https://southwestdev.service-now.com/api/now/v1/table/sys_user/000e907613502f483e8cfea2e144b092",
"value": "000e907613502f483e8cfea2e144b092"
},
"comments_and_work_notes": "",
"has_appointment": "false",
"substate": "",
"escalation": "0",
"upon_approval": "proceed",
"u_service_category": "",
"u_requested_for_name": "",
"correlation_id": "",
"u_associated_resolution_sla": {
"link": "
https://southwestdev.service-now.com/api/now/v1/table/task_sla/3b6d9a951b01f7400c0e1fc58d4bcbeb",
"value": "3b6d9a951b01f7400c0e1fc58d4bcbeb"
},
"asset": "",
"u_workflow_version": "1.0",
"u_requested_by_name": "",
"u_requested_by_email": "",
"appointment": "",
"u_business_service": "",
"sys_updated_by": "x245233",
"opened_by": {
"link": "
https://southwestdev.service-now.com/api/now/v1/table/sys_user/634335a613bedb8035bffa5ed144b040",
"value": "634335a613bedb8035bffa5ed144b040"
},
"user_input": "",
"sys_created_on": "2019-05-20 14:24:05",
"sys_domain": {
"link": "
https://southwestdev.service-now.com/api/now/v1/table/sys_user_group/global",
"value": "global"
},
"u_on_hold_counter": "0",
"u_initial_assignment_group": "",
"u_event_list": "",
"u_event_trigger": "false",
"is_fixed_window": "false",
"closed_at": "",
"u_relationship": "",
"u_requested_for_not_found": "false",
"u_transfer_reason": "",
"u_requested_by_not_found": "false",
"window_start": "2019-05-20 14:24:05",
"business_service": "",
"u_requested_by": "",
"time_worked": "",
"expected_start": "2019-05-20 14:32:54",
"u_other_vendor": "",
"opened_at": "2019-05-20 14:23:20",
"u_training_follow_up": "",
"work_end": "",
"work_notes": "",
"initiated_from": "",
"assignment_group": {
"link": "
https://southwestdev.service-now.com/api/now/v1/table/sys_user_group/b6628c021b40f788e3673333dd4bcb73",
"value": "b6628c021b40f788e3673333dd4bcb73"
},
"u_associated_assignment_sla": "",
"under_warranty": "false",
"actual_travel_duration": "",
"description": "",
"u_planned_resolved_date": "",
"calendar_duration": "",
"u_on_hold_type": "",
"close_notes": "",
"dispatch_group": {
"link": "
https://southwestdev.service-now.com/api/now/v1/table/sys_user_group/f7c1848e1b8cb788e3673333dd4bcb31",
"value": "f7c1848e1b8cb788e3673333dd4bcb31"
},
"sys_id": "03103a111b65bb48e3673333dd4bcb88",
"contact_type": "Self-service",
"urgency": "",
"company": "",
"u_alternate_contacts": "",
"activity_due": "",
"u_requested_for_email": "",
"comments": "",
"u_event_id": "",
"u_event_device": "",
"approval": "not requested",
"has_follow_on": "false",
"due_date": "",
"sys_mod_count": "3",
"sys_tags": "",
"estimated_work_duration": "1970-01-01 01:00:00",
"routing_in_progress": "false",
"location": {
"link": "
https://southwestdev.service-now.com/api/now/v1/table/cmn_location/{latitude_old=40.6518141, u_icao",
"value": "{latitude_old=40.6518141, u_icao"
},
"u_repair_duration": "",
"u_intake": "",
"cloned_from": ""
}
]
}
Dichos datos mostrados anteriormente estan compuestos de padres e hijos, los cuales deberan poder ser tambien accedibles para obtener información de ellos.
Plazo de Entrega: 23 Mayo, 2019