Skip to content

Instantly share code, notes, and snippets.

@dperrymorrow
Created January 16, 2020 00:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dperrymorrow/6ea41fe4133923347b925354d652bcc2 to your computer and use it in GitHub Desktop.
Save dperrymorrow/6ea41fe4133923347b925354d652bcc2 to your computer and use it in GitHub Desktop.
example paylaod for a task
{
"health": 4,
"healthIndicator": "RED",
"scopeCanBeAdjusted": true,
"id": 60293,
"unitCurrency": null,
"projectId": 4051,
"baseCharge": null,
"minimumCharge": null,
"parentSequenceId": 7297,
"configId": 452,
"clientServiceItemId": null,
"vendorInvoiceId": null,
"assignedUserId": 14,
"type": "translation",
"name": "back-translation",
"label": "Back Translation",
"description": "Back Translation",
"state": "not_ready",
"sourceLocale": "en-US",
"targetLocale": "bg-BG",
"unitOfMeasure": "words",
"falconCatModelId": 3,
"falconTaskOrder": 100003,
"falconPriceType": "Trados Non Specific",
"falconTaskId": 64180712,
"falconPoId": null,
"assignedVendorId": 6153,
"assignedResourceContactId": null,
"falconSubprojectNumber": null,
"startDate": "2019-01-08T13:59:01.958Z",
"dueDate": "2019-01-08T21:59:01.958Z",
"completedDate": null,
"taskDuration": null,
"financePOId": null,
"financePOGuid": null,
"financePOSyncedAt": null,
"falcon": {
"minimumCharge": 0,
"minimumEnabled": false
},
"delegated": false,
"firstAssignedDate": "2019-10-17T19:43:59.571Z",
"meta": {},
"blockPoCreation": false,
"createdAt": "2019-01-07T21:59:01.814Z",
"updatedAt": "2019-10-17T19:43:59.571Z",
"deletedAt": null,
"vendorFalconRateId": null,
"taskDetails": [
{
"id": 68037,
"taskId": 60293,
"configId": 631,
"name": "newWords",
"label": "TR - New words",
"description": "TR - New words",
"falconPriceType": "TR - New words",
"displayOrder": 1,
"percentOfNew": "0.00000",
"unitCurrency": "USD",
"unitOfMeasure": "words",
"unitRate": "0.000000",
"unitQuantity": "1.00",
"chargeable": true,
"billable": false,
"meta": {},
"createdAt": "2019-01-07T21:59:01.839Z",
"updatedAt": "2019-01-09T00:26:00.566Z",
"deletedAt": null
},
{
"id": 68043,
"taskId": 60293,
"configId": 636,
"name": "repetitions",
"label": "TR - Rep",
"description": "TR - Rep",
"falconPriceType": "TR - Rep",
"displayOrder": 6,
"percentOfNew": "0.00000",
"unitCurrency": "USD",
"unitOfMeasure": "words",
"unitRate": "0.000000",
"unitQuantity": "0.00",
"chargeable": true,
"billable": false,
"meta": {},
"createdAt": "2019-01-07T21:59:01.839Z",
"updatedAt": "2019-01-07T21:59:01.839Z",
"deletedAt": null
},
{
"id": 68042,
"taskId": 60293,
"configId": 635,
"name": "oneHundred",
"label": "TR - 100%",
"description": "TR - 100%",
"falconPriceType": "TR - 100%",
"displayOrder": 5,
"percentOfNew": "0.00000",
"unitCurrency": "USD",
"unitOfMeasure": "words",
"unitRate": "0.000000",
"unitQuantity": "0.00",
"chargeable": true,
"billable": false,
"meta": {},
"createdAt": "2019-01-07T21:59:01.839Z",
"updatedAt": "2019-01-07T21:59:01.839Z",
"deletedAt": null
},
{
"id": 68041,
"taskId": 60293,
"configId": 637,
"name": "iceMatches",
"label": "TR - ICE/Context TM",
"description": "TR - ICE/Context TM",
"falconPriceType": "TR - ICE/Context TM",
"displayOrder": 7,
"percentOfNew": "0.00000",
"unitCurrency": "USD",
"unitOfMeasure": "words",
"unitRate": "0.000000",
"unitQuantity": "0.00",
"chargeable": false,
"billable": false,
"meta": {},
"createdAt": "2019-01-07T21:59:01.840Z",
"updatedAt": "2019-01-07T21:59:01.840Z",
"deletedAt": null
},
{
"id": 68040,
"taskId": 60293,
"configId": 634,
"name": "ninetyFive",
"label": "TR - Fuzzy 95%",
"description": "TR - Fuzzy 95%",
"falconPriceType": "TR - Fuzzy 95%",
"displayOrder": 4,
"percentOfNew": "0.00000",
"unitCurrency": "USD",
"unitOfMeasure": "words",
"unitRate": "0.000000",
"unitQuantity": "0.00",
"chargeable": true,
"billable": false,
"meta": {},
"createdAt": "2019-01-07T21:59:01.839Z",
"updatedAt": "2019-01-07T21:59:01.839Z",
"deletedAt": null
},
{
"id": 68039,
"taskId": 60293,
"configId": 633,
"name": "eightyFive",
"label": "TR - Fuzzy 85%",
"description": "TR - Fuzzy 85%",
"falconPriceType": "TR - Fuzzy 85%",
"displayOrder": 3,
"percentOfNew": "0.00000",
"unitCurrency": "USD",
"unitOfMeasure": "words",
"unitRate": "0.000000",
"unitQuantity": "0.00",
"chargeable": true,
"billable": false,
"meta": {},
"createdAt": "2019-01-07T21:59:01.839Z",
"updatedAt": "2019-01-07T21:59:01.839Z",
"deletedAt": null
},
{
"id": 68038,
"taskId": 60293,
"configId": 632,
"name": "seventyFive",
"label": "TR - Fuzzy 75%",
"description": "TR - Fuzzy 75%",
"falconPriceType": "TR - Fuzzy 75%",
"displayOrder": 2,
"percentOfNew": "0.00000",
"unitCurrency": "USD",
"unitOfMeasure": "words",
"unitRate": "0.000000",
"unitQuantity": "0.00",
"chargeable": true,
"billable": false,
"meta": {},
"createdAt": "2019-01-07T21:59:01.839Z",
"updatedAt": "2019-01-07T21:59:01.839Z",
"deletedAt": null
}
],
"parentSequence": {
"id": 7297,
"parentTaskId": 60280,
"clientServiceGroupId": 10495,
"clonedFromId": null,
"dag": {
"links": [
{
"source": "translation",
"target": "copy-edit"
},
{
"source": "copy-edit",
"target": "back-translation"
},
{
"source": "back-translation",
"target": "back-translation-copy-edit"
},
{
"source": "back-translation-copy-edit",
"target": "back-translation-validation"
},
{
"source": "back-translation-validation",
"target": "back-translation-revision"
},
{
"source": "back-translation-revision",
"target": "cr-file-prep"
},
{
"source": "cr-file-prep",
"target": "cr-flat-file-qa"
},
{
"source": "cr-flat-file-qa",
"target": "cr-flat-file-review"
},
{
"source": "cr-flat-file-review",
"target": "cr-copy-edit"
},
{
"source": "cr-copy-edit",
"target": "lso"
},
{
"source": "lso",
"target": "post-engineer"
},
{
"source": "post-engineer",
"target": "dtp"
},
{
"source": "dtp",
"target": "qc"
},
{
"source": "qc",
"target": "delivery-prep"
}
],
"nodes": [
{
"id": "translation"
},
{
"id": "copy-edit"
},
{
"id": "back-translation"
},
{
"id": "back-translation-copy-edit"
},
{
"id": "back-translation-validation"
},
{
"id": "back-translation-revision"
},
{
"id": "cr-file-prep"
},
{
"id": "cr-flat-file-qa"
},
{
"id": "cr-flat-file-review"
},
{
"id": "cr-copy-edit"
},
{
"id": "lso"
},
{
"id": "post-engineer"
},
{
"id": "dtp"
},
{
"id": "qc"
},
{
"id": "delivery-prep"
}
]
},
"name": "translation",
"label": "Translation",
"description": "Standard document translation",
"state": "in_progress",
"sourceLocale": "en-US",
"targetLocale": "bg-BG",
"meta": {},
"createdAt": "2019-01-07T21:59:01.766Z",
"updatedAt": "2019-04-26T15:31:57.881Z",
"deletedAt": null
},
"project": {
"id": 4051,
"accountProgramId": 9,
"accountId": 3,
"programName": "transactional",
"name": "LSH_1901_169_AA",
"description": null,
"state": "production",
"falconAccountId": 510,
"falconProjectNumber": "LSH_1901_169_AA",
"falconProductId": -1,
"falconDivisionId": null,
"falconPriceSheetId": 1714,
"clientRefId": "2123",
"clientPoNumber": "N/A",
"unitCurrency": "USD",
"billingReferenceId": null,
"priority": 0,
"patent": {},
"preapproved": false,
"falcon": {
"clientInvoices": [
659458,
659458
]
},
"workday": {
"po": {
"label": "PO Number",
"value": null,
"getter": "getPONumber",
"workdayField": "PO_Number"
},
"lock": {
"label": "Locked",
"value": null,
"getter": "shouldLockFinancials",
"workdayField": "Locked_in_Workday"
},
"name": {
"label": "Project Name",
"value": null,
"getter": "getProjectName",
"workdayField": "Project_Name"
},
"phase": {
"label": "Phase",
"value": null,
"getter": "getPhaseId",
"workdayField": "Project_Phase_Name_ID"
},
"company": {
"label": "Company",
"value": null,
"getter": "getCompanyId",
"workdayField": "Company_Reference_ID"
},
"endDate": {
"label": "End Date",
"value": null,
"getter": "getEndDate",
"workdayField": "End_Date"
},
"product": {
"label": "Product",
"value": null,
"getter": "getProductId",
"workdayField": "product"
},
"billable": {
"label": "Billable",
"value": null,
"getter": "getBillable",
"workdayField": "Billable"
},
"currency": {
"label": "Currency",
"value": null,
"getter": "getCurrencyId",
"workdayField": "Currency_ID"
},
"customer": {
"label": "Customer",
"value": null,
"getter": "getCustomerId",
"workdayField": "Customer_ID"
},
"division": {
"label": "Division",
"value": null,
"getter": "getClientDivisionId",
"workdayField": "division"
},
"inactive": {
"label": "Inactive",
"value": null,
"getter": "getInactive",
"workdayField": "Inactive(Project create), Closed(Project plan)"
},
"metadata": {
"label": "Metadata",
"value": null,
"getter": "getMetadata",
"workdayField": "Metadata"
},
"financeId": {
"label": "Workday Id",
"value": null,
"getter": "getFinanceId",
"workdayField": "Project_ID"
},
"milestone": {
"label": "Milestone",
"value": null,
"getter": "getMilestone",
"workdayField": "Milestone"
},
"startDate": {
"label": "Start Date",
"value": null,
"getter": "getStartDate",
"workdayField": "Start_Date"
},
"description": {
"label": "Project Description",
"value": null,
"getter": "getProjectDescription",
"workdayField": "Description"
},
"salesPerson": {
"label": "Sales Person",
"value": null,
"getter": "getSalesPersonEmployeeId",
"workdayField": "Employee_ID"
},
"billingNotes": {
"label": "Billing Instructions",
"value": null,
"getter": "getBillingNotes",
"workdayField": "Billing_Notes"
},
"projectGroup": {
"label": "Project Group",
"value": null,
"getter": "getProjectGroupId",
"workdayField": "Project_Group_ID"
},
"projectState": {
"label": "Project State",
"value": null,
"getter": "getProjectStateId",
"workdayField": "Project_State_ID"
},
"billToCustomer": {
"label": "Bill To Customer",
"value": null,
"getter": "getBillToCustomerId",
"workdayField": "Customer_ID"
},
"clientDivision": {
"label": "Client Division",
"value": null,
"getter": "getClientDivisionId",
"workdayField": "Custom_Worktag_5_ID"
},
"shipToCustomer": {
"label": "Ship To Customer",
"value": null,
"getter": "getShipToCustomerId",
"workdayField": "Customer_ID"
},
"soldToCustomer": {
"label": "Sold To Customer",
"value": null,
"getter": "getSoldToCustomerId",
"workdayField": "Customer_ID"
},
"deferredRevenue": {
"label": "Deferred Revenue",
"value": null,
"getter": "getDeferredRevenue",
"workdayField": "Deferred_Revenue"
},
"percentComplete": {
"label": "Percent Complete",
"value": null,
"getter": "getPercentComplete",
"workdayField": "Overall_Percent_Complete, Percent_Complete"
},
"projectTaskName": {
"label": "Project Task Name",
"value": null,
"getter": "getProjectTaskNameId",
"workdayField": "Project_Task_Name_ID"
},
"serviceOffering": {
"label": "Service Offering",
"value": null,
"getter": "getServiceOfferingId",
"workdayField": "Custom_Worktag_4_ID"
},
"subReportingUnit": {
"label": "Sub Reporting Unit(SubRU)",
"value": null,
"getter": "getSubReportingUnitId",
"workdayField": "Custom_Organization_Reference_ID"
},
"billingScheduleTemplate": {
"label": "Billing Schedule",
"value": null,
"getter": "getBillingScheduleTemplateId",
"workdayField": "Billing_Schedule_Template_ID"
},
"revenueRecognitionScheduleTemplate": {
"label": "Revenue Recognition Schedule Template",
"value": null,
"getter": "getRevenueRecognitionScheduleTemplateId",
"workdayField": "Revenue_Recognition_Schedule_Template_ID"
}
},
"meta": {
"created_at": null,
"falconOrderId": 1232756,
"isDeadlineRequested": true,
"clientReviewRequired": false,
"falconProjectContainerId": 1131788
},
"clientIntake": {},
"dueDate": "2019-01-21T22:00:00.000Z",
"primaryPm": 15,
"industryId": 2,
"platformProjectId": null,
"workgroupId": 159,
"financeId": null,
"financeGuid": null,
"accountContractId": null,
"completedDate": null,
"closedDate": null,
"sharefileId": null,
"billingScheduleId": null,
"businessUnitId": 13,
"subReportingUnitId": null,
"createdAt": "2019-01-07T21:55:42.974Z",
"updatedAt": "2019-11-06T00:16:49.827Z",
"deletedAt": null,
"accountProgram": {
"id": 9,
"accountId": 3,
"programName": "transactional",
"meta": {},
"createdAt": "2017-07-01T00:06:12.537Z",
"updatedAt": "2017-07-01T00:06:12.537Z",
"deletedAt": null,
"account": {
"id": 3,
"parentAccountId": null,
"name": "Lamars Company",
"falconAccountId": 510,
"businessUnitId": 13,
"meta": {},
"totalProjectsYTD": 0,
"totalWeightedWordsYTD": 0,
"onTimeDelivery": 0,
"financeId": "CUS-000129",
"hasMSA": false,
"createdAt": "2017-07-01T00:06:12.537Z",
"updatedAt": "2019-11-20T17:20:11.026Z",
"deletedAt": null
}
},
"primaryProjectManager": {
"id": 15,
"name": "David Petri"
}
},
"assignedUser": {
"id": 14,
"name": "David Perry Morrow"
},
"assignedVendor": {
"id": 6153,
"name": "Montero Translations - Park IP"
},
"weightedWordCount": 1,
"requiresScoping": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment