Last active
August 17, 2022 15:35
-
-
Save angebagui/9f6219c629d22096faf0ec7df5f86188 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"error": null, | |
"code": 201, | |
"message": "Job successfully created.", | |
"data": { | |
"job": { | |
"job_orders": [ | |
{ | |
"order_parcels": [ | |
{ | |
"parcel_value": 17550, | |
"parcel_amount_to_collect": 17550, | |
"parcel_attempts": 0, | |
"parcel_attempts_real": 0, | |
"parcel_cash_status": "NO", | |
"tag": "DEFAULT", | |
"parcel_return": false, | |
"parcel_activities": [], | |
"isOutOfStock": false, | |
"isDeleted": false, | |
"isThroughRelay": false, | |
"isRelayActionOpened": false, | |
"droppedAtWareHouse": false, | |
"service": "EC", | |
"isFromAPI": true, | |
"_id": "62fd0a6141a3ff0024e720f2", | |
"parcel_description": "Nom du Contact: Senteur D'elice Téléphone du Contact: +2250584400272 ID Commande: #64 Détails Commandes: 1 X Basket Homme\n", | |
"parcel_additional_info": "", | |
"parcel_size": "S", | |
"parcel_client_reference": "", | |
"relay": null, | |
"parcel_status": "TO_PICK", | |
"parcel_UID": "PP-O7973947-1814", | |
"parcel_order": { | |
"order_created_by": { | |
"user_id": "629a0f1723279500230f62fa", | |
"source": "CLIENT" | |
}, | |
"order_last_edited_by": { | |
"user_id": "629a0f1723279500230f62fa", | |
"source": "CLIENT" | |
}, | |
"order_parcels": [], | |
"order_activities": [], | |
"isDeleted": false, | |
"isOutOfStock": false, | |
"isThroughRelay": false, | |
"isRelayActionOpened": false, | |
"droppedAtWareHouse": false, | |
"service": "EC", | |
"isFromAPI": false, | |
"_id": "62fd0a6141a3ff0024e720ee", | |
"order_status": "TO_PICK", | |
"relay": null, | |
"receiver": { | |
"receiver_created_by": { | |
"user_id": "629a0f1723279500230f62fa", | |
"source": "CLIENT" | |
}, | |
"receiver_last_edited_by": { | |
"user_id": "629a0f1723279500230f62fa", | |
"source": "CLIENT" | |
}, | |
"isDeleted": false, | |
"_id": "62fcf60041a3ff0024e4d21f", | |
"receiver_created_at": "2022-08-17T14:06:56.740Z", | |
"receiver_last_edited_at": "2022-08-17T14:06:56.740Z", | |
"receiver_firstname": "T", | |
"receiver_lastname": "R", | |
"receiver_phone_number": "+2250584400312", | |
"receiver_email": "", | |
"receiver_entreprise": "", | |
"receiver_specification_address": "", | |
"receiver_address": { | |
"address_id": "6172a2ad5a9efb0023e0acce", | |
"address": "Yamoussoukro, Lacs District, Côte d'Ivoire", | |
"country": "Côte d'Ivoire", | |
"countryCode": "CI", | |
"city": "Yamoussoukro", | |
"region": "Lacs District", | |
"location": { | |
"latitude": 6.827622799999999, | |
"longitude": -5.2893433 | |
}, | |
"place_id": "ChIJ90XJQTqRuA8R3u4jFhofcCE", | |
"additional_address": null | |
}, | |
"receiver_client_UID": "629a0f1723279500230f62f4", | |
"__v": 0 | |
}, | |
"order_receiver": "62fcf60041a3ff0024e4d21f", | |
"order_UID": "PP-O7973947", | |
"order_job": { | |
"_id": "62fd0a6041a3ff0024e720ed", | |
"job_type": "PICKUP", | |
"job_date": "2022-08-17", | |
"job_slot_end": "13:00" | |
}, | |
"order_client_UID": "629a0f1723279500230f62f4", | |
"countries": [ | |
{ | |
"_id": "62fd0a6141a3ff0024e720f0", | |
"name": "Côte d'Ivoire", | |
"code": "CI" | |
} | |
], | |
"type": "Delivery", | |
"order_created_at": "2022-08-17T15:33:53.061Z", | |
"order_last_edited_at": "2022-08-17T15:33:53.061Z", | |
"__v": 0 | |
}, | |
"parcel_client_UID": "629a0f1723279500230f62f4", | |
"parcel_delivery_slot_start": "08:00", | |
"parcel_delivery_slot_end": "18:00", | |
"parcel_delivery_date": "2022-08-19", | |
"parcel_created_by": { | |
"user_id": "629a0f1723279500230f62fa", | |
"source": "CLIENT" | |
}, | |
"parcel_last_edited_by": { | |
"user_id": "629a0f1723279500230f62fa", | |
"source": "CLIENT" | |
}, | |
"countries": [ | |
{ | |
"_id": "62fd0a6141a3ff0024e720f0", | |
"name": "Côte d'Ivoire", | |
"code": "CI" | |
} | |
], | |
"parcel_created_at": "2022-08-17T15:33:53.299Z", | |
"parcel_last_edited_at": "2022-08-17T15:33:53.299Z", | |
"__v": 0, | |
"id": "62fd0a6141a3ff0024e720f2" | |
} | |
], | |
"order_activities": [], | |
"isDeleted": false, | |
"isOutOfStock": false, | |
"isThroughRelay": false, | |
"isRelayActionOpened": false, | |
"droppedAtWareHouse": false, | |
"service": "EC", | |
"isFromAPI": false, | |
"_id": "62fd0a6141a3ff0024e720ee", | |
"order_status": "TO_PICK", | |
"relay": null, | |
"receiver": { | |
"isDeleted": false, | |
"_id": "62fcf60041a3ff0024e4d21f", | |
"receiver_created_by": { | |
"user_id": "629a0f1723279500230f62fa", | |
"source": "CLIENT" | |
}, | |
"receiver_last_edited_by": { | |
"user_id": "629a0f1723279500230f62fa", | |
"source": "CLIENT" | |
}, | |
"receiver_firstname": "T", | |
"receiver_lastname": "R", | |
"receiver_phone_number": "+2250584400312", | |
"receiver_email": "", | |
"receiver_entreprise": "", | |
"receiver_specification_address": "", | |
"receiver_address": { | |
"address_id": "6172a2ad5a9efb0023e0acce", | |
"address": "Yamoussoukro, Lacs District, Côte d'Ivoire", | |
"country": "Côte d'Ivoire", | |
"countryCode": "CI", | |
"city": "Yamoussoukro", | |
"region": "Lacs District", | |
"location": { | |
"latitude": 6.827622799999999, | |
"longitude": -5.2893433 | |
}, | |
"place_id": "ChIJ90XJQTqRuA8R3u4jFhofcCE", | |
"additional_address": null | |
}, | |
"receiver_client_UID": "629a0f1723279500230f62f4", | |
"receiver_created_at": "2022-08-17T14:06:56.740Z", | |
"receiver_last_edited_at": "2022-08-17T14:06:56.740Z", | |
"__v": 0 | |
}, | |
"order_receiver": "62fcf60041a3ff0024e4d21f", | |
"order_UID": "PP-O7973947", | |
"order_job": "62fd0a6041a3ff0024e720ed", | |
"order_client_UID": "629a0f1723279500230f62f4", | |
"countries": [ | |
{ | |
"_id": "62fd0a6141a3ff0024e720f0", | |
"name": "Côte d'Ivoire", | |
"code": "CI" | |
} | |
], | |
"order_created_by": { | |
"user_id": "629a0f1723279500230f62fa", | |
"source": "CLIENT" | |
}, | |
"order_last_edited_by": { | |
"user_id": "629a0f1723279500230f62fa", | |
"source": "CLIENT" | |
}, | |
"type": "Delivery", | |
"order_created_at": "2022-08-17T15:33:53.061Z", | |
"order_last_edited_at": "2022-08-17T15:33:53.061Z", | |
"__v": 0 | |
} | |
], | |
"isDeleted": false, | |
"isFromAPI": false, | |
"_id": "62fd0a6041a3ff0024e720ed", | |
"job_type": "PICKUP", | |
"job_date": "2022-08-17", | |
"job_time": "09:56", | |
"job_slot_start": "11:00", | |
"job_slot_end": "13:00", | |
"job_address": { | |
"country": "Côte d'Ivoire", | |
"countryCode": "CI", | |
"city": "Cocody", | |
"region": "District Autonome d'Abidjan", | |
"address": "Groupe Scolaire Shalom, District Autonome d'Abidjan, Côte d'Ivoire", | |
"place_id": "ChIJ_Y2-80frwQ8R34SD91rUfUQ", | |
"location": { | |
"latitude": 5.3693199, | |
"longitude": -4.0078452 | |
}, | |
"additional_address": null | |
}, | |
"job_vehicle_type": "SCOOTER", | |
"job_UID": "PP-JB7801121", | |
"job_status": "PENDING", | |
"job_created_by": { | |
"user_id": "629a0f1723279500230f62fa", | |
"source": "CLIENT" | |
}, | |
"job_last_edited_by": { | |
"user_id": "629a0f1723279500230f62fa", | |
"source": "CLIENT" | |
}, | |
"job_client_UID": "629a0f1723279500230f62f4", | |
"job_created_at": "2022-08-17T15:33:52.927Z", | |
"job_last_edited_at": "2022-08-17T15:33:52.927Z", | |
"__v": 0 | |
}, | |
"task": { | |
"drivers": [], | |
"task_subtasks_count": 2, | |
"task_subtasks_count_done": 0, | |
"task_subtasks_count_cancelled": 0, | |
"task_subtasks": [ | |
{ | |
"subtask_operation_on_parcel": [ | |
"62fd0a6141a3ff0024e720f2" | |
], | |
"subtask_for_paps": false, | |
"isDeleted": false, | |
"isForRelay": false, | |
"isRelayActionOpened": false, | |
"service": "EC", | |
"_id": "62fd0a6141a3ff0024e72104", | |
"subtask_status": "UNASSIGNED", | |
"subtask_type": "PICKUP", | |
"subtask_address": { | |
"address_id": "62fcf60050ecb10023bc4e2f", | |
"address": "Groupe Scolaire Shalom, District Autonome d'Abidjan, Côte d'Ivoire", | |
"country": "Côte d'Ivoire", | |
"countryCode": "CI", | |
"city": "Cocody", | |
"region": "District Autonome d'Abidjan", | |
"location": { | |
"latitude": 5.3693199, | |
"longitude": -4.0078452 | |
}, | |
"place_id": "ChIJ_Y2-80frwQ8R34SD91rUfUQ", | |
"additional_address": null | |
}, | |
"subtask_client_UID": "629a0f1723279500230f62f4", | |
"subtask_execution_date": "2022-08-17", | |
"subtask_execution_slot_start": "11:00", | |
"subtask_execution_slot_end": "13:00", | |
"subtask_UID": "PP-ST-54705257", | |
"subtask_task": "62fd0a6141a3ff0024e720f5", | |
"subtask_created_by": { | |
"user_id": "629a0f1723279500230f62fa", | |
"source": "CLIENT" | |
}, | |
"subtask_last_edited_by": { | |
"user_id": "629a0f1723279500230f62fa", | |
"source": "CLIENT" | |
}, | |
"subtask_created_at": "2022-08-17T15:33:53.823Z", | |
"subtask_last_edited_at": "2022-08-17T15:33:53.823Z", | |
"__v": 0 | |
}, | |
{ | |
"subtask_operation_on_parcel": [ | |
"62fd0a6141a3ff0024e720f2" | |
], | |
"subtask_for_paps": true, | |
"isDeleted": false, | |
"isForRelay": false, | |
"isRelayActionOpened": false, | |
"service": "EC", | |
"_id": "62fd0a6141a3ff0024e72103", | |
"subtask_status": "UNASSIGNED", | |
"subtask_type": "DELIVERY", | |
"subtask_address": { | |
"address_id": "60ec4158b1dee7002394ed84", | |
"address": "Résidence WALID, District Autonome d'Abidjan, Côte d'Ivoire", | |
"country": "Côte d'Ivoire", | |
"countryCode": "CI", | |
"city": "Treichville", | |
"region": "District Autonome d'Abidjan", | |
"location": { | |
"latitude": 5.3028834, | |
"longitude": -4.0113674 | |
}, | |
"place_id": "ChIJszlTwMvrwQ8RvVCwUN2fr8Q", | |
"additional_address": null | |
}, | |
"subtask_execution_date": "2022-08-17", | |
"subtask_execution_slot_start": "11:00", | |
"subtask_execution_slot_end": "13:00", | |
"subtask_UID": "PP-ST-51390630", | |
"subtask_task": "62fd0a6141a3ff0024e720f5", | |
"subtask_created_by": { | |
"user_id": "629a0f1723279500230f62fa", | |
"source": "CLIENT" | |
}, | |
"subtask_last_edited_by": { | |
"user_id": "629a0f1723279500230f62fa", | |
"source": "CLIENT" | |
}, | |
"subtask_created_at": "2022-08-17T15:33:53.761Z", | |
"subtask_last_edited_at": "2022-08-17T15:33:53.761Z", | |
"__v": 0 | |
} | |
], | |
"isDeleted": false, | |
"toTransfer": false, | |
"_id": "62fd0a6141a3ff0024e720f5", | |
"task_status": "UNASSIGNED", | |
"task_type": "JOB", | |
"task_operation_on_job": "62fd0a6041a3ff0024e720ed", | |
"task_vehicle_type": "SCOOTER", | |
"task_client_UID": "629a0f1723279500230f62f4", | |
"task_execution_date": "2022-08-17", | |
"task_execution_slot_start": "11:00", | |
"task_execution_slot_end": "13:00", | |
"task_UID": "PP-T-05568719", | |
"task_created_by": { | |
"user_id": "629a0f1723279500230f62fa", | |
"source": "CLIENT" | |
}, | |
"task_last_edited_by": { | |
"user_id": "629a0f1723279500230f62fa", | |
"source": "CLIENT" | |
}, | |
"task_created_at": "2022-08-17T15:33:53.512Z", | |
"task_last_edited_at": "2022-08-17T15:33:53.512Z", | |
"countries": [], | |
"__v": 0 | |
}, | |
"client": { | |
"deniedSMSType": [], | |
"client_options_contracts": [], | |
"client_company_users": [ | |
"629a0f1723279500230f62f8" | |
], | |
"client_billing_accounts": [], | |
"client_deleted": false, | |
"isDisabled": false, | |
"status": "APPROVED", | |
"isActive": true, | |
"winner": false, | |
"_id": "629a0f1723279500230f62f4", | |
"disabledOrActivedAt": "2022-06-03T13:39:35.724Z", | |
"disabledOrActivedBy": "62420ef88d3c5b00236bfdce", | |
"client_company_name": "ADJEMIN", | |
"client_activity": "Retail", | |
"client_phone_number": "+2250584400272", | |
"client_email": "nathanaelyao@adjemin.com", | |
"client_address": { | |
"address": "Cocody, Lagunes District, Côte d'Ivoire", | |
"country": "Côte d'Ivoire", | |
"city": "Cocody", | |
"region": "Lagunes District", | |
"location": { | |
"_id": "629a0f1723279500230f62f5", | |
"latitude": 5.3602164, | |
"longitude": -3.9674371 | |
}, | |
"place_id": "ChIJ_-kvynLtwQ8RskjN5omhEcU", | |
"countryCode": "CI", | |
"additional_address": null | |
}, | |
"client_contact_firstname": "Nathanael", | |
"client_contact_lastname": "YAO", | |
"client_contact_job": "CO-FONDATEUR", | |
"client_contact_phone_number": "+2250584400272", | |
"client_contact_email": "nathanaelyao@adjemin.com", | |
"client_contract_is_signed": false, | |
"client_created_by": { | |
"user_id": "62420ef88d3c5b00236bfdce", | |
"source": "STAFF" | |
}, | |
"client_updated_by": { | |
"user_id": "62420ef88d3c5b00236bfdce", | |
"source": "STAFF" | |
}, | |
"countries": [ | |
{ | |
"_id": "629a0f1723279500230f62f6", | |
"name": "Côte d'Ivoire", | |
"code": "CI" | |
} | |
], | |
"client_UID": "PP-CL-000405", | |
"client_created_at": "2022-06-03T13:39:35.729Z", | |
"client_updated_at": "2022-06-03T13:39:35.729Z", | |
"__v": 0 | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment