From 3d16566e962a8a36aa8c460a643a112fd74b9bee Mon Sep 17 00:00:00 2001 From: Fayranne Lipton Date: Thu, 16 Apr 2020 15:47:07 -0400 Subject: [PATCH 01/11] add Location, Billing Profile, Invoice Term to Bullhorn Entity Info --- .../bullhornsdk/data/model/enums/BullhornEntityInfo.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/java/com/bullhornsdk/data/model/enums/BullhornEntityInfo.java b/src/main/java/com/bullhornsdk/data/model/enums/BullhornEntityInfo.java index 45af3bdc..777cf545 100644 --- a/src/main/java/com/bullhornsdk/data/model/enums/BullhornEntityInfo.java +++ b/src/main/java/com/bullhornsdk/data/model/enums/BullhornEntityInfo.java @@ -85,6 +85,9 @@ import com.bullhornsdk.data.model.entity.core.customobjectinstances.placement.PlacementCustomObjectInstance7; import com.bullhornsdk.data.model.entity.core.customobjectinstances.placement.PlacementCustomObjectInstance8; import com.bullhornsdk.data.model.entity.core.customobjectinstances.placement.PlacementCustomObjectInstance9; +import com.bullhornsdk.data.model.entity.core.paybill.BillingProfile; +import com.bullhornsdk.data.model.entity.core.paybill.Location; +import com.bullhornsdk.data.model.entity.core.paybill.invoice.InvoiceTerm; import com.bullhornsdk.data.model.entity.core.standard.*; import com.bullhornsdk.data.model.entity.core.type.BullhornEntity; import com.bullhornsdk.data.model.entity.embedded.UserType; @@ -213,6 +216,10 @@ public enum BullhornEntityInfo { WORKERS_COMPENSATION("WorkersCompensation", WorkersCompensation.class, WorkersCompensationWrapper.class, WorkersCompensationListWrapper.class, null, null), WORKERS_COMPENSATION_RATE("WorkersCompensationRate", WorkersCompensationRate.class, WorkersCompensationRateWrapper.class, WorkersCompensationRateListWrapper.class, null, null), + LOCATION("Location", Location.class, LocationWrapper.class, LocationListWrapper.class, null, null), + BILLING_PROFILE("BillingProfile", BillingProfile.class, BillingProfileWrapper.class, BillingProfileListWrapper.class, null, null), + INVOICE_TERM("InvoiceTerm", InvoiceTerm.class, InvoiceTermWrapper.class, InvoiceTermListWrapper.class, null, null), + JOB_ORDER_CUSTOM_OBJECT_INSTANCE_1("JobOrderCustomObjectInstance1", JobOrderCustomObjectInstance1.class, JobOrderCustomObjectInstance1Wrapper.class, JobOrderCustomObjectInstance1ListWrapper.class, "JobOrderCustomObject1EditHistory", "JobOrderCustomObjectEditHistoryFieldChange"), JOB_ORDER_CUSTOM_OBJECT_INSTANCE_2("JobOrderCustomObjectInstance2", JobOrderCustomObjectInstance2.class, JobOrderCustomObjectInstance2Wrapper.class, JobOrderCustomObjectInstance2ListWrapper.class, "JobOrderCustomObject2EditHistory", "JobOrderCustomObjectEditHistoryFieldChange"), JOB_ORDER_CUSTOM_OBJECT_INSTANCE_3("JobOrderCustomObjectInstance3", JobOrderCustomObjectInstance3.class, JobOrderCustomObjectInstance3Wrapper.class, JobOrderCustomObjectInstance3ListWrapper.class, "JobOrderCustomObject3EditHistory", "JobOrderCustomObjectEditHistoryFieldChange"), From 6dbf08e6de00a677a72f7b4ac68556d39693fc19 Mon Sep 17 00:00:00 2001 From: Fayranne Lipton Date: Thu, 16 Apr 2020 15:47:25 -0400 Subject: [PATCH 02/11] up version number --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 0be13d61..a0866559 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.bullhorn sdk-rest - 1.3.0 + 1.3.1 jar Bullhorn REST SDK From ef359e20a388733b1db75f13fa3f265a07ac1373 Mon Sep 17 00:00:00 2001 From: Fayranne Lipton Date: Thu, 16 Apr 2020 16:50:49 -0400 Subject: [PATCH 03/11] add in test files --- .../rest/paybill/billingprofile-data.txt | 557 ++++++++++++++++++ .../rest/paybill/invoiceterm-data.txt | 372 ++++++++++++ .../testdata/rest/paybill/location-data.txt | 376 ++++++++++++ 3 files changed, 1305 insertions(+) create mode 100644 src/test/resources/testdata/rest/paybill/billingprofile-data.txt create mode 100644 src/test/resources/testdata/rest/paybill/invoiceterm-data.txt create mode 100644 src/test/resources/testdata/rest/paybill/location-data.txt diff --git a/src/test/resources/testdata/rest/paybill/billingprofile-data.txt b/src/test/resources/testdata/rest/paybill/billingprofile-data.txt new file mode 100644 index 00000000..2fb98115 --- /dev/null +++ b/src/test/resources/testdata/rest/paybill/billingprofile-data.txt @@ -0,0 +1,557 @@ +{ + "total": 804, + "start": 0, + "count": 5, + "data": [ + { + "id": 1, + "bccRecipients": { + "total": 0, + "data": [] + }, + "billingAttention": null, + "billingClientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "billingContact": { + "id": 2984265, + "firstName": "Marie ", + "lastName": "Croteau" + }, + "billingCorporateUser": null, + "billingLocation": { + "id": 22632, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "candidate": null, + "title": "Wolters Kluwer Billing Location", + "effectiveDate": "2020-01-10", + "effectiveEndDate": "2999-12-31", + "versionID": 22632, + "externalID": "3020186" + }, + "ccRecipients": { + "total": 0, + "data": [] + }, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587044327147, + "dateLastModified": 1587044327710, + "deliveryMethod": "Email", + "description": "Test Billing Profile 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "invoiceStatementMessageTemplate": { + "id": 1, + "name": "VACO" + }, + "invoiceTerm": { + "id": 26644, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "title": "TEST Terms 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "versionID": 61370 + }, + "isDeleted": false, + "owner": { + "id": 3121287, + "firstName": "Bullhorn", + "lastName": "PS" + }, + "status": "Active", + "title": "TEST BP 1", + "toRecipients": { + "total": 1, + "data": [] + }, + "versionID": 27789, + "versions": { + "total": 1, + "data": [] + } + }, + { + "id": 2, + "bccRecipients": { + "total": 0, + "data": [] + }, + "billingAttention": null, + "billingClientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "billingContact": { + "id": 2984265, + "firstName": "Marie ", + "lastName": "Croteau" + }, + "billingCorporateUser": null, + "billingLocation": { + "id": 22632, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "candidate": null, + "title": "Wolters Kluwer Billing Location", + "effectiveDate": "2020-01-10", + "effectiveEndDate": "2999-12-31", + "versionID": 22632, + "externalID": "3020186" + }, + "ccRecipients": { + "total": 0, + "data": [] + }, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587044327147, + "dateLastModified": 1587044327710, + "deliveryMethod": "Email", + "description": "Test Billing Profile 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "invoiceStatementMessageTemplate": { + "id": 1, + "name": "VACO" + }, + "invoiceTerm": { + "id": 26644, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "title": "TEST Terms 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "versionID": 61370 + }, + "isDeleted": false, + "owner": { + "id": 3121287, + "firstName": "Bullhorn", + "lastName": "PS" + }, + "status": "Active", + "title": "TEST BP 1", + "toRecipients": { + "total": 1, + "data": [] + }, + "versionID": 27789, + "versions": { + "total": 1, + "data": [] + } + }, + { + "id": 3, + "bccRecipients": { + "total": 0, + "data": [] + }, + "billingAttention": null, + "billingClientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "billingContact": { + "id": 2984265, + "firstName": "Marie ", + "lastName": "Croteau" + }, + "billingCorporateUser": null, + "billingLocation": { + "id": 22632, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "candidate": null, + "title": "Wolters Kluwer Billing Location", + "effectiveDate": "2020-01-10", + "effectiveEndDate": "2999-12-31", + "versionID": 22632, + "externalID": "3020186" + }, + "ccRecipients": { + "total": 0, + "data": [] + }, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587044327147, + "dateLastModified": 1587044327710, + "deliveryMethod": "Email", + "description": "Test Billing Profile 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "invoiceStatementMessageTemplate": { + "id": 1, + "name": "VACO" + }, + "invoiceTerm": { + "id": 26644, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "title": "TEST Terms 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "versionID": 61370 + }, + "isDeleted": false, + "owner": { + "id": 3121287, + "firstName": "Bullhorn", + "lastName": "PS" + }, + "status": "Active", + "title": "TEST BP 1", + "toRecipients": { + "total": 1, + "data": [] + }, + "versionID": 27789, + "versions": { + "total": 1, + "data": [] + } + }, + { + "id": 4, + "bccRecipients": { + "total": 0, + "data": [] + }, + "billingAttention": null, + "billingClientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "billingContact": { + "id": 2984265, + "firstName": "Marie ", + "lastName": "Croteau" + }, + "billingCorporateUser": null, + "billingLocation": { + "id": 22632, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "candidate": null, + "title": "Wolters Kluwer Billing Location", + "effectiveDate": "2020-01-10", + "effectiveEndDate": "2999-12-31", + "versionID": 22632, + "externalID": "3020186" + }, + "ccRecipients": { + "total": 0, + "data": [] + }, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587044327147, + "dateLastModified": 1587044327710, + "deliveryMethod": "Email", + "description": "Test Billing Profile 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "invoiceStatementMessageTemplate": { + "id": 1, + "name": "VACO" + }, + "invoiceTerm": { + "id": 26644, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "title": "TEST Terms 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "versionID": 61370 + }, + "isDeleted": false, + "owner": { + "id": 3121287, + "firstName": "Bullhorn", + "lastName": "PS" + }, + "status": "Active", + "title": "TEST BP 1", + "toRecipients": { + "total": 1, + "data": [] + }, + "versionID": 27789, + "versions": { + "total": 1, + "data": [] + } + }, + { + "id": 5, + "bccRecipients": { + "total": 0, + "data": [] + }, + "billingAttention": null, + "billingClientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "billingContact": { + "id": 2984265, + "firstName": "Marie ", + "lastName": "Croteau" + }, + "billingCorporateUser": null, + "billingLocation": { + "id": 22632, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "candidate": null, + "title": "Wolters Kluwer Billing Location", + "effectiveDate": "2020-01-10", + "effectiveEndDate": "2999-12-31", + "versionID": 22632, + "externalID": "3020186" + }, + "ccRecipients": { + "total": 0, + "data": [] + }, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587044327147, + "dateLastModified": 1587044327710, + "deliveryMethod": "Email", + "description": "Test Billing Profile 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "invoiceStatementMessageTemplate": { + "id": 1, + "name": "VACO" + }, + "invoiceTerm": { + "id": 26644, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "title": "TEST Terms 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "versionID": 61370 + }, + "isDeleted": false, + "owner": { + "id": 3121287, + "firstName": "Bullhorn", + "lastName": "PS" + }, + "status": "Active", + "title": "TEST BP 1", + "toRecipients": { + "total": 1, + "data": [] + }, + "versionID": 27789, + "versions": { + "total": 1, + "data": [] + } + } + ] +} diff --git a/src/test/resources/testdata/rest/paybill/invoiceterm-data.txt b/src/test/resources/testdata/rest/paybill/invoiceterm-data.txt new file mode 100644 index 00000000..615150c7 --- /dev/null +++ b/src/test/resources/testdata/rest/paybill/invoiceterm-data.txt @@ -0,0 +1,372 @@ +{ + "total": 804, + "start": 0, + "count": 5, + "data": [ + { + "id": 1, + "approvalRequired": false, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "currencyUnit": { + "id": 166, + "alphabeticCode": "USD", + "name": "US Dollar" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": "Weekly", + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587043620863, + "dateLastModified": 1587043620863, + "description": null, + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "generalLedgerAccountsReceivable": null, + "includeAttachments": true, + "invoiceApprovedTimecardsRequired": false, + "invoiceGroupBy": null, + "invoiceOn": null, + "invoiceSplitBy": null, + "invoiceStatementTemplate": { + "id": 1 + }, + "invoiceSummarizeBy": "billableCharge.candidate", + "isDeleted": false, + "isFirst": true, + "paymentTerms": "30", + "purchaseOrderRequired": false, + "remitInstructions": null, + "status": "Active", + "title": "TEST Terms 1", + "versionID": 61370, + "versions": { + "total": 1, + "data": [] + }, + "waitForTimecards": false + }, + { + "id": 2, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "currencyUnit": { + "id": 166, + "alphabeticCode": "USD", + "name": "US Dollar" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": "Weekly", + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587043620863, + "dateLastModified": 1587043620863, + "description": null, + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "generalLedgerAccountsReceivable": null, + "includeAttachments": true, + "invoiceApprovedTimecardsRequired": false, + "invoiceGroupBy": null, + "invoiceOn": null, + "invoiceSplitBy": null, + "invoiceStatementTemplate": { + "id": 1 + }, + "invoiceSummarizeBy": "billableCharge.candidate", + "isDeleted": false, + "isFirst": true, + "paymentTerms": "30", + "purchaseOrderRequired": false, + "remitInstructions": null, + "status": "Active", + "title": "TEST Terms 1", + "versionID": 61370, + "versions": { + "total": 1, + "data": [] + }, + "waitForTimecards": false + }, + { + "id": 3, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "currencyUnit": { + "id": 166, + "alphabeticCode": "USD", + "name": "US Dollar" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": "Weekly", + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587043620863, + "dateLastModified": 1587043620863, + "description": null, + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "generalLedgerAccountsReceivable": null, + "includeAttachments": true, + "invoiceApprovedTimecardsRequired": false, + "invoiceGroupBy": null, + "invoiceOn": null, + "invoiceSplitBy": null, + "invoiceStatementTemplate": { + "id": 1 + }, + "invoiceSummarizeBy": "billableCharge.candidate", + "isDeleted": false, + "isFirst": true, + "paymentTerms": "30", + "purchaseOrderRequired": false, + "remitInstructions": null, + "status": "Active", + "title": "TEST Terms 1", + "versionID": 61370, + "versions": { + "total": 1, + "data": [] + }, + "waitForTimecards": false + }, + { + "id": 4, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "currencyUnit": { + "id": 166, + "alphabeticCode": "USD", + "name": "US Dollar" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": "Weekly", + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587043620863, + "dateLastModified": 1587043620863, + "description": null, + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "generalLedgerAccountsReceivable": null, + "includeAttachments": true, + "invoiceApprovedTimecardsRequired": false, + "invoiceGroupBy": null, + "invoiceOn": null, + "invoiceSplitBy": null, + "invoiceStatementTemplate": { + "id": 1 + }, + "invoiceSummarizeBy": "billableCharge.candidate", + "isDeleted": false, + "isFirst": true, + "paymentTerms": "30", + "purchaseOrderRequired": false, + "remitInstructions": null, + "status": "Active", + "title": "TEST Terms 1", + "versionID": 61370, + "versions": { + "total": 1, + "data": [] + }, + "waitForTimecards": false + }, + { + "id": 5, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "currencyUnit": { + "id": 166, + "alphabeticCode": "USD", + "name": "US Dollar" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": "Weekly", + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587043620863, + "dateLastModified": 1587043620863, + "description": null, + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "generalLedgerAccountsReceivable": null, + "includeAttachments": true, + "invoiceApprovedTimecardsRequired": false, + "invoiceGroupBy": null, + "invoiceOn": null, + "invoiceSplitBy": null, + "invoiceStatementTemplate": { + "id": 1 + }, + "invoiceSummarizeBy": "billableCharge.candidate", + "isDeleted": false, + "isFirst": true, + "paymentTerms": "30", + "purchaseOrderRequired": false, + "remitInstructions": null, + "status": "Active", + "title": "TEST Terms 1", + "versionID": 61370, + "versions": { + "total": 1, + "data": [] + }, + "waitForTimecards": false + ] +} diff --git a/src/test/resources/testdata/rest/paybill/location-data.txt b/src/test/resources/testdata/rest/paybill/location-data.txt new file mode 100644 index 00000000..1110be6f --- /dev/null +++ b/src/test/resources/testdata/rest/paybill/location-data.txt @@ -0,0 +1,376 @@ +{ + "total": 804, + "start": 0, + "count": 5, + "data": [ + { + "id": 1, +"address": { + "address1": null, + "address2": null, + "city": null, + "state": null, + "stateID": null, + "stateName": null, + "zip": null, + "countryID": 1, + "countryName": "United States", + "countryCode": "US" + }, + "candidate": null, + "clientCorporation": { + "id": 13448, + "name": "Capital One - Raleigh" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1585139881740, + "dateLastModified": 1585139881740, + "description": null, + "effectiveDate": "2020-03-26", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "isBillTo": false, + "isDeleted": false, + "isSoldTo": false, + "isWorkSite": false, + "owner": { + "id": 2034545, + "firstName": "Bullhorn", + "lastName": "Support" + }, + "status": "Active", + "title": "New Profile Test", + "versionID": 26641, + "versions": { + "total": 2, + "data": [] + } + }, + { + "id": 2, +"address": { + "address1": null, + "address2": null, + "city": null, + "state": null, + "stateID": null, + "stateName": null, + "zip": null, + "countryID": 1, + "countryName": "United States", + "countryCode": "US" + }, + "candidate": null, + "clientCorporation": { + "id": 13448, + "name": "Capital One - Raleigh" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1585139881740, + "dateLastModified": 1585139881740, + "description": null, + "effectiveDate": "2020-03-26", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "isBillTo": false, + "isDeleted": false, + "isSoldTo": false, + "isWorkSite": false, + "owner": { + "id": 2034545, + "firstName": "Bullhorn", + "lastName": "Support" + }, + "status": "Active", + "title": "New Profile Test", + "versionID": 26641, + "versions": { + "total": 2, + "data": [] + } + }, + { + "id": 3, +"address": { + "address1": null, + "address2": null, + "city": null, + "state": null, + "stateID": null, + "stateName": null, + "zip": null, + "countryID": 1, + "countryName": "United States", + "countryCode": "US" + }, + "candidate": null, + "clientCorporation": { + "id": 13448, + "name": "Capital One - Raleigh" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1585139881740, + "dateLastModified": 1585139881740, + "description": null, + "effectiveDate": "2020-03-26", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "isBillTo": false, + "isDeleted": false, + "isSoldTo": false, + "isWorkSite": false, + "owner": { + "id": 2034545, + "firstName": "Bullhorn", + "lastName": "Support" + }, + "status": "Active", + "title": "New Profile Test", + "versionID": 26641, + "versions": { + "total": 2, + "data": [] + } + }, + { + "id": 4, +"address": { + "address1": null, + "address2": null, + "city": null, + "state": null, + "stateID": null, + "stateName": null, + "zip": null, + "countryID": 1, + "countryName": "United States", + "countryCode": "US" + }, + "candidate": null, + "clientCorporation": { + "id": 13448, + "name": "Capital One - Raleigh" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1585139881740, + "dateLastModified": 1585139881740, + "description": null, + "effectiveDate": "2020-03-26", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "isBillTo": false, + "isDeleted": false, + "isSoldTo": false, + "isWorkSite": false, + "owner": { + "id": 2034545, + "firstName": "Bullhorn", + "lastName": "Support" + }, + "status": "Active", + "title": "New Profile Test", + "versionID": 26641, + "versions": { + "total": 2, + "data": [] + } + }, + { + "id": 5, +"address": { + "address1": null, + "address2": null, + "city": null, + "state": null, + "stateID": null, + "stateName": null, + "zip": null, + "countryID": 1, + "countryName": "United States", + "countryCode": "US" + }, + "candidate": null, + "clientCorporation": { + "id": 13448, + "name": "Capital One - Raleigh" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1585139881740, + "dateLastModified": 1585139881740, + "description": null, + "effectiveDate": "2020-03-26", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "isBillTo": false, + "isDeleted": false, + "isSoldTo": false, + "isWorkSite": false, + "owner": { + "id": 2034545, + "firstName": "Bullhorn", + "lastName": "Support" + }, + "status": "Active", + "title": "New Profile Test", + "versionID": 26641, + "versions": { + "total": 2, + "data": [] + } + ] +} From dc3c10f97f09466bce166e17374875ecaeca319e Mon Sep 17 00:00:00 2001 From: Fayranne Lipton Date: Thu, 16 Apr 2020 17:56:04 -0400 Subject: [PATCH 04/11] add in test files --- .../data/api/mock/MockDataLoader.groovy | 11 + .../meta/paybill/billingprofile-meta-data.txt | 1019 +++++++++++++++++ .../billingprofileversion-meta-data.txt | 672 +++++++++++ .../meta/paybill/currencyunit-meta-data.txt | 47 + ...oicestatementmessagetemplate-meta-data.txt | 88 ++ .../invoicestatementtemplate-meta-data.txt | 140 +++ .../meta/paybill/invoiceterm-meta-data.txt | 800 +++++++++++++ .../paybill/invoicetermversion-meta-data.txt | 706 ++++++++++++ .../rest/meta/paybill/location-meta-data.txt | 688 +++++++++++ .../paybill/locationversion-meta-data.txt | 522 +++++++++ 10 files changed, 4693 insertions(+) create mode 100644 src/test/resources/testdata/rest/meta/paybill/billingprofile-meta-data.txt create mode 100644 src/test/resources/testdata/rest/meta/paybill/billingprofileversion-meta-data.txt create mode 100644 src/test/resources/testdata/rest/meta/paybill/currencyunit-meta-data.txt create mode 100644 src/test/resources/testdata/rest/meta/paybill/invoicestatementmessagetemplate-meta-data.txt create mode 100644 src/test/resources/testdata/rest/meta/paybill/invoicestatementtemplate-meta-data.txt create mode 100644 src/test/resources/testdata/rest/meta/paybill/invoiceterm-meta-data.txt create mode 100644 src/test/resources/testdata/rest/meta/paybill/invoicetermversion-meta-data.txt create mode 100644 src/test/resources/testdata/rest/meta/paybill/location-meta-data.txt create mode 100644 src/test/resources/testdata/rest/meta/paybill/locationversion-meta-data.txt diff --git a/src/main/java/com/bullhornsdk/data/api/mock/MockDataLoader.groovy b/src/main/java/com/bullhornsdk/data/api/mock/MockDataLoader.groovy index 82743296..13a0d45e 100644 --- a/src/main/java/com/bullhornsdk/data/api/mock/MockDataLoader.groovy +++ b/src/main/java/com/bullhornsdk/data/api/mock/MockDataLoader.groovy @@ -84,6 +84,9 @@ import com.bullhornsdk.data.model.entity.core.customobjectinstances.placement.Pl import com.bullhornsdk.data.model.entity.core.customobjectinstances.placement.PlacementCustomObjectInstance9 import com.bullhornsdk.data.model.entity.core.edithistory.EditHistory import com.bullhornsdk.data.model.entity.core.edithistory.FieldChange +import com.bullhornsdk.data.model.entity.core.paybill.BillingProfile +import com.bullhornsdk.data.model.entity.core.paybill.Location +import com.bullhornsdk.data.model.entity.core.paybill.invoice.InvoiceTerm import com.bullhornsdk.data.model.entity.core.standard.* import com.bullhornsdk.data.model.entity.core.type.BullhornEntity import com.bullhornsdk.data.model.entity.core.type.SearchEntity @@ -497,6 +500,10 @@ public class MockDataLoader { entityFiles.put(WorkersCompensation.class, "workerscompensation-data.txt"); entityFiles.put(WorkersCompensationRate.class, "workerscompensationrate-data.txt"); + entityFiles.put(BillingProfile.class, "billingprofile-data.txt"); + entityFiles.put(InvoiceTerm.class, "invoiceterm-data.txt"); + entityFiles.put(Location.class, "location-data.txt"); + entityFiles.put(JobOrderCustomObjectInstance1.class, "customobjectinstances/jobordercustomobjectinstance1-data.txt"); entityFiles.put(JobOrderCustomObjectInstance2.class, "customobjectinstances/jobordercustomobjectinstance2-data.txt"); entityFiles.put(JobOrderCustomObjectInstance3.class, "customobjectinstances/jobordercustomobjectinstance3-data.txt"); @@ -642,6 +649,10 @@ public class MockDataLoader { entityMetaFiles.put(WorkersCompensation.class, "meta/workerscompensation-meta-data.txt"); entityMetaFiles.put(WorkersCompensationRate.class, "meta/workerscompensationrate-meta-data.txt"); + entityMetaFiles.put(BillingProfile.class, "meta/paybill/billingprofile-meta-data.txt"); + entityMetaFiles.put(Location.class, "meta/paybill/location-meta-data.txt"); + entityMetaFiles.put(InvoiceTerm.class, "meta/paybill/invoiceterm-meta-data.txt"); + entityMetaFiles.put(JobOrderCustomObjectInstance1.class, "meta/customobjectinstances/jobordercustomobjectinstance1-meta-data.txt"); entityMetaFiles.put(JobOrderCustomObjectInstance2.class, "meta/customobjectinstances/jobordercustomobjectinstance2-meta-data.txt"); entityMetaFiles.put(JobOrderCustomObjectInstance3.class, "meta/customobjectinstances/jobordercustomobjectinstance3-meta-data.txt"); diff --git a/src/test/resources/testdata/rest/meta/paybill/billingprofile-meta-data.txt b/src/test/resources/testdata/rest/meta/paybill/billingprofile-meta-data.txt new file mode 100644 index 00000000..6f66e365 --- /dev/null +++ b/src/test/resources/testdata/rest/meta/paybill/billingprofile-meta-data.txt @@ -0,0 +1,1019 @@ +{ + "entity": "BillingProfile", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/BillingProfile?fields=*", + "label": "Billing Profile", + "dateLastModified": "1587071899975", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "bccRecipients", + "type": "TO_MANY", + "confidential": false, + "label": "Invoice BCC", + "optionsType": "EmailClientAndInternal", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/EmailClientAndInternal", + "hideFromSearch": false, + "associatedEntity": { + "entity": "Person", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/Person?fields=*", + "label": "Person", + "dateLastModified": "1587071890988", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "firstName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "First Name", + "hideFromSearch": false + }, + { + "name": "lastName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "Last Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "billingAttention", + "type": "SCALAR", + "dataType": "String", + "maxLength": 255, + "confidential": false, + "label": "Bill-to Attention", + "hideFromSearch": false + }, + { + "name": "billingClientCorporation", + "type": "TO_ONE", + "confidential": false, + "label": "Bill-to Client", + "optionsType": "ClientCorporation", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/ClientCorporation", + "hideFromSearch": false, + "associatedEntity": { + "entity": "ClientCorporation", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/ClientCorporation?fields=*", + "label": "Company", + "dateLastModified": "1587071886466", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "name", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Company Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "billingContact", + "type": "TO_ONE", + "confidential": false, + "label": "Billing Contact", + "optionsType": "Client", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/Client", + "hideFromSearch": false, + "associatedEntity": { + "entity": "ClientContact", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/ClientContact?fields=*", + "label": "Contact", + "dateLastModified": "1587071886574", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "firstName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "First Name", + "hideFromSearch": false + }, + { + "name": "lastName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "Last Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "billingCorporateUser", + "type": "TO_ONE", + "confidential": false, + "label": "Billing Specialist", + "optionsType": "CorporateUser", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/CorporateUser", + "hideFromSearch": false, + "associatedEntity": { + "entity": "CorporateUser", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/CorporateUser?fields=*", + "label": "Corporate User", + "dateLastModified": "1587071886270", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "firstName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "First Name", + "hideFromSearch": false + }, + { + "name": "lastName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "Last Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "billingLocation", + "type": "TO_ONE", + "confidential": false, + "label": "Location", + "optionsType": "Location", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/Location", + "hideFromSearch": false, + "associatedEntity": { + "entity": "Location", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/Location?fields=*", + "label": "Location", + "dateLastModified": "1587071902438", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "clientCorporation", + "type": "TO_ONE", + "confidential": false, + "label": "clientCorporationID", + "optionsType": "ClientCorporation", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/ClientCorporation", + "hideFromSearch": false, + "associatedEntity": { + "entity": "ClientCorporation", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/ClientCorporation?fields=*", + "label": "Company", + "dateLastModified": "1587071886466", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "name", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Company Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "candidate", + "type": "TO_ONE", + "confidential": false, + "label": "candidateUserID", + "optionsType": "Candidate", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/Candidate", + "hideFromSearch": false, + "associatedEntity": { + "entity": "Candidate", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/Candidate?fields=*", + "label": "Candidate", + "dateLastModified": "1587071886254", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "firstName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "First Name", + "hideFromSearch": false + }, + { + "name": "lastName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "Last Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "title", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Title", + "hideFromSearch": false + }, + { + "name": "effectiveDate", + "type": "SCALAR", + "dataType": "Date", + "confidential": false, + "label": "Effective Date", + "hideFromSearch": false + }, + { + "name": "effectiveEndDate", + "type": "SCALAR", + "dataType": "Date", + "confidential": false, + "label": "effectiveEndDate", + "hideFromSearch": false + }, + { + "name": "versionID", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "LocationVersionID", + "hideFromSearch": false + }, + { + "name": "externalID", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Location Code", + "hideFromSearch": false + } + ] + } + }, + { + "name": "ccRecipients", + "type": "TO_MANY", + "confidential": false, + "label": "Invoice CC", + "optionsType": "EmailClientAndInternal", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/EmailClientAndInternal", + "hideFromSearch": false, + "associatedEntity": { + "entity": "Person", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/Person?fields=*", + "label": "Person", + "dateLastModified": "1587071890988", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "firstName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "First Name", + "hideFromSearch": false + }, + { + "name": "lastName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "Last Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "clientCorporation", + "type": "TO_ONE", + "confidential": false, + "label": "Client Corporation", + "optionsType": "ClientCorporation", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/ClientCorporation", + "hideFromSearch": false, + "associatedEntity": { + "entity": "ClientCorporation", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/ClientCorporation?fields=*", + "label": "Company", + "dateLastModified": "1587071886466", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "name", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Company Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "customDate1", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "customDate1", + "hideFromSearch": false + }, + { + "name": "customDate2", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "customDate2", + "hideFromSearch": false + }, + { + "name": "customDate3", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "customDate3", + "hideFromSearch": false + }, + { + "name": "customFloat1", + "type": "SCALAR", + "dataType": "Double", + "confidential": false, + "label": "customFloat1", + "hideFromSearch": false + }, + { + "name": "customFloat2", + "type": "SCALAR", + "dataType": "Double", + "confidential": false, + "label": "customFloat2", + "hideFromSearch": false + }, + { + "name": "customFloat3", + "type": "SCALAR", + "dataType": "Double", + "confidential": false, + "label": "customFloat3", + "hideFromSearch": false + }, + { + "name": "customInt1", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "customInt1", + "hideFromSearch": false + }, + { + "name": "customInt2", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "customInt2", + "hideFromSearch": false + }, + { + "name": "customInt3", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "customInt3", + "hideFromSearch": false + }, + { + "name": "customText1", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText1", + "hideFromSearch": false + }, + { + "name": "customText10", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText10", + "hideFromSearch": false + }, + { + "name": "customText11", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText11", + "hideFromSearch": false + }, + { + "name": "customText12", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText12", + "hideFromSearch": false + }, + { + "name": "customText13", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText13", + "hideFromSearch": false + }, + { + "name": "customText14", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText14", + "hideFromSearch": false + }, + { + "name": "customText15", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText15", + "hideFromSearch": false + }, + { + "name": "customText16", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText16", + "hideFromSearch": false + }, + { + "name": "customText17", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText17", + "hideFromSearch": false + }, + { + "name": "customText18", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText18", + "hideFromSearch": false + }, + { + "name": "customText19", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText19", + "hideFromSearch": false + }, + { + "name": "customText2", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText2", + "hideFromSearch": false + }, + { + "name": "customText20", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText20", + "hideFromSearch": false + }, + { + "name": "customText3", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText3", + "hideFromSearch": false + }, + { + "name": "customText4", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText4", + "hideFromSearch": false + }, + { + "name": "customText5", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText5", + "hideFromSearch": false + }, + { + "name": "customText6", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText6", + "hideFromSearch": false + }, + { + "name": "customText7", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText7", + "hideFromSearch": false + }, + { + "name": "customText8", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText8", + "hideFromSearch": false + }, + { + "name": "customText9", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText9", + "hideFromSearch": false + }, + { + "name": "customTextBlock1", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "customTextBlock1", + "hideFromSearch": false + }, + { + "name": "customTextBlock2", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "customTextBlock2", + "hideFromSearch": false + }, + { + "name": "customTextBlock3", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "customTextBlock3", + "hideFromSearch": false + }, + { + "name": "dateAdded", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "dateAdded", + "hideFromSearch": false + }, + { + "name": "dateLastModified", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "Date Last Modified", + "hideFromSearch": false + }, + { + "name": "deliveryMethod", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Delivery Method", + "options": [ + { + "value": "Email", + "label": "Email" + }, + { + "value": "Print", + "label": "Print" + }, + { + "value": "Do not print", + "label": "Do not print" + } + ], + "hideFromSearch": false + }, + { + "name": "description", + "type": "SCALAR", + "dataType": "String", + "maxLength": 255, + "confidential": false, + "label": "Description", + "hideFromSearch": false + }, + { + "name": "effectiveDate", + "type": "SCALAR", + "dataType": "Date", + "confidential": false, + "label": "Effective Date", + "hideFromSearch": false + }, + { + "name": "effectiveEndDate", + "type": "SCALAR", + "dataType": "Date", + "confidential": false, + "label": "effectiveEndDate", + "hideFromSearch": false + }, + { + "name": "externalID", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "External ID", + "hideFromSearch": false + }, + { + "name": "invoiceStatementMessageTemplate", + "type": "TO_ONE", + "confidential": false, + "label": "Invoice Email Template", + "optionsType": "InvoiceStatementMessageTemplate", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/InvoiceStatementMessageTemplate", + "hideFromSearch": false, + "associatedEntity": { + "entity": "InvoiceStatementMessageTemplate", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/InvoiceStatementMessageTemplate?fields=*", + "label": "Email Invoice Template", + "dateLastModified": "1587073313258", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "name", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Template Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "invoiceTerm", + "type": "TO_ONE", + "confidential": false, + "label": "Invoice Terms", + "optionsType": "InvoiceTerms", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/InvoiceTerms", + "hideFromSearch": false, + "associatedEntity": { + "entity": "InvoiceTerm", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/InvoiceTerm?fields=*", + "label": "Invoice Terms", + "dateLastModified": "1587073313306", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "clientCorporation", + "type": "TO_ONE", + "confidential": false, + "label": "Client Corporation", + "optionsType": "ClientCorporation", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/ClientCorporation", + "hideFromSearch": false, + "associatedEntity": { + "entity": "ClientCorporation", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/ClientCorporation?fields=*", + "label": "Company", + "dateLastModified": "1587071886466", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "name", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Company Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "title", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Title", + "hideFromSearch": false + }, + { + "name": "effectiveDate", + "type": "SCALAR", + "dataType": "Date", + "confidential": false, + "label": "Effective Date", + "hideFromSearch": false + }, + { + "name": "effectiveEndDate", + "type": "SCALAR", + "dataType": "Date", + "confidential": false, + "label": "effectiveEndDate", + "hideFromSearch": false + }, + { + "name": "versionID", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "invoiceTermVersionID", + "hideFromSearch": false + } + ] + } + }, + { + "name": "isDeleted", + "type": "SCALAR", + "dataType": "Boolean", + "confidential": false, + "label": "isDeleted", + "hideFromSearch": false + }, + { + "name": "owner", + "type": "TO_ONE", + "confidential": false, + "label": "Owner", + "optionsType": "CorporateUser", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/CorporateUser", + "hideFromSearch": false, + "associatedEntity": { + "entity": "CorporateUser", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/CorporateUser?fields=*", + "label": "Corporate User", + "dateLastModified": "1587071886270", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "firstName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "First Name", + "hideFromSearch": false + }, + { + "name": "lastName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "Last Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "status", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Status", + "options": [ + { + "value": "Active", + "label": "Active" + }, + { + "value": "Inactive", + "label": "Inactive" + } + ], + "hideFromSearch": false + }, + { + "name": "title", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Title", + "hideFromSearch": false + }, + { + "name": "toRecipients", + "type": "TO_MANY", + "confidential": false, + "label": "Invoice To", + "optionsType": "EmailClientAndInternal", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/EmailClientAndInternal", + "hideFromSearch": false, + "associatedEntity": { + "entity": "Person", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/Person?fields=*", + "label": "Person", + "dateLastModified": "1587071890988", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "firstName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "First Name", + "hideFromSearch": false + }, + { + "name": "lastName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "Last Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "versionID", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "billingProfileVersionID", + "hideFromSearch": false + }, + { + "name": "versions", + "type": "TO_MANY", + "confidential": false, + "label": "Versions", + "optionsType": "BillingProfileVersion", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/BillingProfileVersion", + "hideFromSearch": false, + "associatedEntity": { + "entity": "BillingProfileVersion", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/BillingProfileVersion?fields=*", + "label": "Billing Profile Version", + "dateLastModified": "1587073313430", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "effectiveDate", + "type": "SCALAR", + "dataType": "Date", + "confidential": false, + "label": "Effective Date", + "hideFromSearch": false + }, + { + "name": "effectiveEndDate", + "type": "SCALAR", + "dataType": "Date", + "confidential": false, + "label": "effectiveEndDate", + "hideFromSearch": false + }, + { + "name": "title", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Title", + "hideFromSearch": false + } + ] + } + } + ] +} diff --git a/src/test/resources/testdata/rest/meta/paybill/billingprofileversion-meta-data.txt b/src/test/resources/testdata/rest/meta/paybill/billingprofileversion-meta-data.txt new file mode 100644 index 00000000..d597b21d --- /dev/null +++ b/src/test/resources/testdata/rest/meta/paybill/billingprofileversion-meta-data.txt @@ -0,0 +1,672 @@ +{ + "entity": "BillingProfileVersion", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/BillingProfileVersion?fields=*", + "label": "Billing Profile Version", + "dateLastModified": "1587073840025", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "bccRecipients", + "type": "TO_MANY", + "confidential": false, + "label": "Invoice BCC", + "optionsType": "EmailClientAndInternal", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/EmailClientAndInternal", + "hideFromSearch": false, + "associatedEntity": { + "entity": "Person", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/Person?fields=*", + "label": "Person", + "dateLastModified": "1587073840081", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "firstName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "First Name", + "hideFromSearch": false + }, + { + "name": "lastName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "Last Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "billingAttention", + "type": "SCALAR", + "dataType": "String", + "maxLength": 255, + "confidential": false, + "label": "Bill-to Attention", + "hideFromSearch": false + }, + { + "name": "billingClientCorporation", + "type": "TO_ONE", + "confidential": false, + "label": "Bill-to Client", + "optionsType": "ClientCorporation", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/ClientCorporation", + "hideFromSearch": false, + "associatedEntity": { + "entity": "ClientCorporation", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/ClientCorporation?fields=*", + "label": "Company", + "dateLastModified": "1587073840124", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "name", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Company Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "billingContact", + "type": "TO_ONE", + "confidential": false, + "label": "Billing Contact", + "optionsType": "Client", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/Client", + "hideFromSearch": false, + "associatedEntity": { + "entity": "ClientContact", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/ClientContact?fields=*", + "label": "Contact", + "dateLastModified": "1587073840192", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "firstName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "First Name", + "hideFromSearch": false + }, + { + "name": "lastName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "Last Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "billingCorporateUser", + "type": "TO_ONE", + "confidential": false, + "label": "Billing Specialist", + "optionsType": "CorporateUser", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/CorporateUser", + "hideFromSearch": false, + "associatedEntity": { + "entity": "CorporateUser", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/CorporateUser?fields=*", + "label": "Corporate User", + "dateLastModified": "1587073655311", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "firstName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "First Name", + "hideFromSearch": false + }, + { + "name": "lastName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "Last Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "ccRecipients", + "type": "TO_MANY", + "confidential": false, + "label": "Invoice CC", + "optionsType": "EmailClientAndInternal", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/EmailClientAndInternal", + "hideFromSearch": false, + "associatedEntity": { + "entity": "Person", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/Person?fields=*", + "label": "Person", + "dateLastModified": "1587073840081", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "firstName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "First Name", + "hideFromSearch": false + }, + { + "name": "lastName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "Last Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "customDate1", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "customDate1", + "hideFromSearch": false + }, + { + "name": "customDate2", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "customDate2", + "hideFromSearch": false + }, + { + "name": "customDate3", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "customDate3", + "hideFromSearch": false + }, + { + "name": "customFloat1", + "type": "SCALAR", + "dataType": "Double", + "confidential": false, + "label": "customFloat1", + "hideFromSearch": false + }, + { + "name": "customFloat2", + "type": "SCALAR", + "dataType": "Double", + "confidential": false, + "label": "customFloat2", + "hideFromSearch": false + }, + { + "name": "customFloat3", + "type": "SCALAR", + "dataType": "Double", + "confidential": false, + "label": "customFloat3", + "hideFromSearch": false + }, + { + "name": "customInt1", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "customInt1", + "hideFromSearch": false + }, + { + "name": "customInt2", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "customInt2", + "hideFromSearch": false + }, + { + "name": "customInt3", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "customInt3", + "hideFromSearch": false + }, + { + "name": "customText1", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText1", + "hideFromSearch": false + }, + { + "name": "customText10", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText10", + "hideFromSearch": false + }, + { + "name": "customText11", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText11", + "hideFromSearch": false + }, + { + "name": "customText12", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText12", + "hideFromSearch": false + }, + { + "name": "customText13", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText13", + "hideFromSearch": false + }, + { + "name": "customText14", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText14", + "hideFromSearch": false + }, + { + "name": "customText15", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText15", + "hideFromSearch": false + }, + { + "name": "customText16", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText16", + "hideFromSearch": false + }, + { + "name": "customText17", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText17", + "hideFromSearch": false + }, + { + "name": "customText18", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText18", + "hideFromSearch": false + }, + { + "name": "customText19", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText19", + "hideFromSearch": false + }, + { + "name": "customText2", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText2", + "hideFromSearch": false + }, + { + "name": "customText20", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText20", + "hideFromSearch": false + }, + { + "name": "customText3", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText3", + "hideFromSearch": false + }, + { + "name": "customText4", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText4", + "hideFromSearch": false + }, + { + "name": "customText5", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText5", + "hideFromSearch": false + }, + { + "name": "customText6", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText6", + "hideFromSearch": false + }, + { + "name": "customText7", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText7", + "hideFromSearch": false + }, + { + "name": "customText8", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText8", + "hideFromSearch": false + }, + { + "name": "customText9", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText9", + "hideFromSearch": false + }, + { + "name": "customTextBlock1", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "customTextBlock1", + "hideFromSearch": false + }, + { + "name": "customTextBlock2", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "customTextBlock2", + "hideFromSearch": false + }, + { + "name": "customTextBlock3", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "customTextBlock3", + "hideFromSearch": false + }, + { + "name": "dateAdded", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "dateAdded", + "hideFromSearch": false + }, + { + "name": "dateLastModified", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "Date Last Modified", + "hideFromSearch": false + }, + { + "name": "deliveryMethod", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Delivery Method", + "options": [ + { + "value": "Email", + "label": "Email" + }, + { + "value": "Print", + "label": "Print" + }, + { + "value": "Do not print", + "label": "Do not print" + } + ], + "hideFromSearch": false + }, + { + "name": "description", + "type": "SCALAR", + "dataType": "String", + "maxLength": 255, + "confidential": false, + "label": "Description", + "hideFromSearch": false + }, + { + "name": "effectiveDate", + "type": "SCALAR", + "dataType": "Date", + "confidential": false, + "label": "Effective Date", + "hideFromSearch": false + }, + { + "name": "effectiveEndDate", + "type": "SCALAR", + "dataType": "Date", + "confidential": false, + "label": "effectiveEndDate", + "hideFromSearch": false + }, + { + "name": "externalID", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "External ID", + "hideFromSearch": false + }, + { + "name": "invoiceStatementMessageTemplate", + "type": "TO_ONE", + "confidential": false, + "label": "Invoice Email Template", + "optionsType": "InvoiceStatementMessageTemplate", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/InvoiceStatementMessageTemplate", + "hideFromSearch": false, + "associatedEntity": { + "entity": "InvoiceStatementMessageTemplate", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/InvoiceStatementMessageTemplate?fields=*", + "label": "Email Invoice Template", + "dateLastModified": "1587073790769", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "name", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Template Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "isFirst", + "type": "SCALAR", + "dataType": "Boolean", + "confidential": false, + "label": "Is First Version", + "hideFromSearch": false + }, + { + "name": "status", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Status", + "options": [ + { + "value": "Active", + "label": "Active" + }, + { + "value": "Inactive", + "label": "Inactive" + } + ], + "hideFromSearch": false + }, + { + "name": "title", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Title", + "hideFromSearch": false + }, + { + "name": "toRecipients", + "type": "TO_MANY", + "confidential": false, + "label": "Invoice To", + "optionsType": "EmailClientAndInternal", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/EmailClientAndInternal", + "hideFromSearch": false, + "associatedEntity": { + "entity": "Person", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/Person?fields=*", + "label": "Person", + "dateLastModified": "1587073840081", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "firstName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "First Name", + "hideFromSearch": false + }, + { + "name": "lastName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "Last Name", + "hideFromSearch": false + } + ] + } + } + ] +} diff --git a/src/test/resources/testdata/rest/meta/paybill/currencyunit-meta-data.txt b/src/test/resources/testdata/rest/meta/paybill/currencyunit-meta-data.txt new file mode 100644 index 00000000..ac58b0c5 --- /dev/null +++ b/src/test/resources/testdata/rest/meta/paybill/currencyunit-meta-data.txt @@ -0,0 +1,47 @@ +{ + "entity": "CurrencyUnit", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/CurrencyUnit?fields=*", + "label": "Currency Unit", + "dateLastModified": "1587073458588", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "alphabeticCode", + "type": "SCALAR", + "dataType": "String", + "maxLength": 3, + "confidential": false, + "label": "Alphabetic Code", + "hideFromSearch": false + }, + { + "name": "minorUnits", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "Minor Units", + "hideFromSearch": false + }, + { + "name": "name", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Name", + "hideFromSearch": false + }, + { + "name": "numericCode", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "Numeric Code", + "hideFromSearch": false + } + ] +} diff --git a/src/test/resources/testdata/rest/meta/paybill/invoicestatementmessagetemplate-meta-data.txt b/src/test/resources/testdata/rest/meta/paybill/invoicestatementmessagetemplate-meta-data.txt new file mode 100644 index 00000000..9860807f --- /dev/null +++ b/src/test/resources/testdata/rest/meta/paybill/invoicestatementmessagetemplate-meta-data.txt @@ -0,0 +1,88 @@ +{ + "entity": "InvoiceStatementMessageTemplate", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/InvoiceStatementMessageTemplate?fields=*", + "label": "Email Invoice Template", + "dateLastModified": "1587073790769", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "dateAdded", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "Date Added", + "hideFromSearch": false + }, + { + "name": "messageText", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "Message Text", + "hideFromSearch": false + }, + { + "name": "name", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Template Name", + "hideFromSearch": false + }, + { + "name": "owner", + "type": "TO_ONE", + "confidential": false, + "label": "Owner", + "optionsType": "CorporateUser", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/CorporateUser", + "hideFromSearch": false, + "associatedEntity": { + "entity": "CorporateUser", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/CorporateUser?fields=*", + "label": "Corporate User", + "dateLastModified": "1587073655311", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "firstName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "First Name", + "hideFromSearch": false + }, + { + "name": "lastName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "Last Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "subject", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Subject", + "hideFromSearch": false + } + ] +} diff --git a/src/test/resources/testdata/rest/meta/paybill/invoicestatementtemplate-meta-data.txt b/src/test/resources/testdata/rest/meta/paybill/invoicestatementtemplate-meta-data.txt new file mode 100644 index 00000000..10ab5034 --- /dev/null +++ b/src/test/resources/testdata/rest/meta/paybill/invoicestatementtemplate-meta-data.txt @@ -0,0 +1,140 @@ +{ + "entity": "InvoiceStatementTemplate", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/InvoiceStatementTemplate?fields=*", + "label": "Invoice Statement Template", + "dateLastModified": "1587073655264", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "contentSubType", + "type": "SCALAR", + "dataType": "String", + "maxLength": 64, + "confidential": false, + "label": "Content Sub Type", + "hideFromSearch": false + }, + { + "name": "contentType", + "type": "SCALAR", + "dataType": "String", + "maxLength": 64, + "confidential": false, + "label": "Content Type", + "hideFromSearch": false + }, + { + "name": "dateAdded", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "Date Added", + "hideFromSearch": false + }, + { + "name": "dateLastModified", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "Date Last Modified", + "hideFromSearch": false + }, + { + "name": "description", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "Description", + "hideFromSearch": false + }, + { + "name": "directory", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "Directory", + "hideFromSearch": false + }, + { + "name": "fileExtension", + "type": "SCALAR", + "dataType": "String", + "maxLength": 10, + "confidential": false, + "label": "File Extension", + "hideFromSearch": false + }, + { + "name": "fileOwner", + "type": "TO_ONE", + "confidential": false, + "label": "File Owner", + "optionsType": "CorporateUser", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/CorporateUser", + "hideFromSearch": false, + "associatedEntity": { + "entity": "CorporateUser", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/CorporateUser?fields=*", + "label": "Corporate User", + "dateLastModified": "1587073655311", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "firstName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "First Name", + "hideFromSearch": false + }, + { + "name": "lastName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "Last Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "fileSize", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "File Size", + "hideFromSearch": false + }, + { + "name": "name", + "type": "SCALAR", + "dataType": "String", + "maxLength": 255, + "confidential": false, + "label": "Name", + "hideFromSearch": false + }, + { + "name": "type", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Type", + "hideFromSearch": false + } + ] +} diff --git a/src/test/resources/testdata/rest/meta/paybill/invoiceterm-meta-data.txt b/src/test/resources/testdata/rest/meta/paybill/invoiceterm-meta-data.txt new file mode 100644 index 00000000..80a6b72a --- /dev/null +++ b/src/test/resources/testdata/rest/meta/paybill/invoiceterm-meta-data.txt @@ -0,0 +1,800 @@ +{ + "entity": "InvoiceTerm", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/InvoiceTerm?fields=*", + "label": "Invoice Terms", + "dateLastModified": "1587073313306", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "approvalRequired", + "type": "SCALAR", + "dataType": "Boolean", + "confidential": false, + "label": "Approval Required", + "options": [ + { + "value": true, + "label": "Yes" + }, + { + "value": false, + "label": "No" + } + ], + "hideFromSearch": false + }, + { + "name": "clientCorporation", + "type": "TO_ONE", + "confidential": false, + "label": "Client Corporation", + "optionsType": "ClientCorporation", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/ClientCorporation", + "hideFromSearch": false, + "associatedEntity": { + "entity": "ClientCorporation", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/ClientCorporation?fields=*", + "label": "Company", + "dateLastModified": "1587071886466", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "name", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Company Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "currencyUnit", + "type": "TO_ONE", + "confidential": false, + "label": "Currency", + "optionsType": "CurrencyUnit", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/CurrencyUnit", + "hideFromSearch": false, + "associatedEntity": { + "entity": "CurrencyUnit", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/CurrencyUnit?fields=*", + "label": "Currency Unit", + "dateLastModified": "1587073458588", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "alphabeticCode", + "type": "SCALAR", + "dataType": "String", + "maxLength": 3, + "confidential": false, + "label": "Alphabetic Code", + "hideFromSearch": false + }, + { + "name": "name", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "customDate1", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "customDate1", + "hideFromSearch": false + }, + { + "name": "customDate2", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "customDate2", + "hideFromSearch": false + }, + { + "name": "customDate3", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "customDate3", + "hideFromSearch": false + }, + { + "name": "customFloat1", + "type": "SCALAR", + "dataType": "Double", + "confidential": false, + "label": "customFloat1", + "hideFromSearch": false + }, + { + "name": "customFloat2", + "type": "SCALAR", + "dataType": "Double", + "confidential": false, + "label": "customFloat2", + "hideFromSearch": false + }, + { + "name": "customFloat3", + "type": "SCALAR", + "dataType": "Double", + "confidential": false, + "label": "customFloat3", + "hideFromSearch": false + }, + { + "name": "customInt1", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "customInt1", + "hideFromSearch": false + }, + { + "name": "customInt2", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "customInt2", + "hideFromSearch": false + }, + { + "name": "customInt3", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "customInt3", + "hideFromSearch": false + }, + { + "name": "customText1", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Invoice Frequency", + "options": [ + { + "value": "Bi Weekly Alt", + "label": "Bi Weekly Alt" + }, + { + "value": "Bi-Weekly", + "label": "Bi-Weekly" + }, + { + "value": "Calendar Month", + "label": "Calendar Month" + }, + { + "value": "Consolidated Bi-Weekly", + "label": "Consolidated Bi-Weekly" + }, + { + "value": "Consolidated Monthly", + "label": "Consolidated Monthly" + }, + { + "value": "Consolidated Weekly", + "label": "Consolidated Weekly" + }, + { + "value": "Monthly", + "label": "Monthly" + }, + { + "value": "Quarterly", + "label": "Quarterly" + }, + { + "value": "Weekly", + "label": "Weekly" + } + ], + "hideFromSearch": false + }, + { + "name": "customText10", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText10", + "hideFromSearch": false + }, + { + "name": "customText11", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText11", + "hideFromSearch": false + }, + { + "name": "customText12", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText12", + "hideFromSearch": false + }, + { + "name": "customText13", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText13", + "hideFromSearch": false + }, + { + "name": "customText14", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText14", + "hideFromSearch": false + }, + { + "name": "customText15", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText15", + "hideFromSearch": false + }, + { + "name": "customText16", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText16", + "hideFromSearch": false + }, + { + "name": "customText17", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText17", + "hideFromSearch": false + }, + { + "name": "customText18", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText18", + "hideFromSearch": false + }, + { + "name": "customText19", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText19", + "hideFromSearch": false + }, + { + "name": "customText2", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText2", + "hideFromSearch": false + }, + { + "name": "customText20", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText20", + "hideFromSearch": false + }, + { + "name": "customText3", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText3", + "hideFromSearch": false + }, + { + "name": "customText4", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText4", + "hideFromSearch": false + }, + { + "name": "customText5", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText5", + "hideFromSearch": false + }, + { + "name": "customText6", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText6", + "hideFromSearch": false + }, + { + "name": "customText7", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText7", + "hideFromSearch": false + }, + { + "name": "customText8", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText8", + "hideFromSearch": false + }, + { + "name": "customText9", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText9", + "hideFromSearch": false + }, + { + "name": "customTextBlock1", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "customTextBlock1", + "hideFromSearch": false + }, + { + "name": "customTextBlock2", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "customTextBlock2", + "hideFromSearch": false + }, + { + "name": "customTextBlock3", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "customTextBlock3", + "hideFromSearch": false + }, + { + "name": "dateAdded", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "dateAdded", + "hideFromSearch": false + }, + { + "name": "dateLastModified", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "dateLastModified", + "hideFromSearch": false + }, + { + "name": "description", + "type": "SCALAR", + "dataType": "String", + "maxLength": 255, + "confidential": false, + "label": "Description", + "hideFromSearch": false + }, + { + "name": "effectiveDate", + "type": "SCALAR", + "dataType": "Date", + "confidential": false, + "label": "Effective Date", + "hideFromSearch": false + }, + { + "name": "effectiveEndDate", + "type": "SCALAR", + "dataType": "Date", + "confidential": false, + "label": "effectiveEndDate", + "hideFromSearch": false + }, + { + "name": "externalID", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "externalID", + "hideFromSearch": false + }, + { + "name": "generalLedgerAccountsReceivable", + "type": "TO_ONE", + "confidential": false, + "label": "General Ledger Accounts Receivable", + "optionsType": "GeneralLedgerAccountsReceivable", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/GeneralLedgerAccountsReceivable", + "hideFromSearch": false, + "associatedEntity": { + "entity": "GeneralLedgerAccount", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/GeneralLedgerAccount?fields=*", + "label": "General Ledger Account", + "dateLastModified": "1587073458635", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "externalAccountNumber", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "External Account Number", + "hideFromSearch": false + }, + { + "name": "externalAccountName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "External Account Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "includeAttachments", + "type": "SCALAR", + "dataType": "Boolean", + "confidential": false, + "label": "Include Attachments", + "options": [ + { + "value": true, + "label": "Yes" + }, + { + "value": false, + "label": "No" + } + ], + "hideFromSearch": false + }, + { + "name": "invoiceApprovedTimecardsRequired", + "type": "SCALAR", + "dataType": "Boolean", + "confidential": false, + "label": "Invoice Only Approved Timecards", + "options": [ + { + "value": true, + "label": "Yes" + }, + { + "value": false, + "label": "No" + } + ], + "hideFromSearch": false + }, + { + "name": "invoiceGroupBy", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "Group By", + "hideFromSearch": false + }, + { + "name": "invoiceOn", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Invoice On", + "options": [ + { + "value": "Transaction Date", + "label": "Transaction Date" + }, + { + "value": "Week-Ending Date", + "label": "Week-Ending Date" + }, + { + "value": "Date Recorded", + "label": "Date Recorded" + } + ], + "hideFromSearch": false + }, + { + "name": "invoiceSplitBy", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "Split By", + "hideFromSearch": false + }, + { + "name": "invoiceStatementTemplate", + "type": "TO_ONE", + "confidential": false, + "label": "Invoice Statement Template", + "optionsType": "InvoiceStatementTemplate", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/InvoiceStatementTemplate", + "hideFromSearch": false, + "associatedEntity": { + "entity": "InvoiceStatementTemplate", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/InvoiceStatementTemplate?fields=*", + "label": "Invoice Statement Template", + "dateLastModified": "1587073458698", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + } + ] + } + }, + { + "name": "invoiceSummarizeBy", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "Summarize By", + "hideFromSearch": false + }, + { + "name": "isDeleted", + "type": "SCALAR", + "dataType": "Boolean", + "confidential": false, + "label": "isDeleted", + "hideFromSearch": false + }, + { + "name": "isFirst", + "type": "SCALAR", + "dataType": "Boolean", + "confidential": false, + "label": "Is First", + "hideFromSearch": false + }, + { + "name": "paymentTerms", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Payment Terms", + "options": [ + { + "value": "0", + "label": "Due Upon Receipt" + }, + { + "value": "5", + "label": "Net 5" + }, + { + "value": "10", + "label": "Net 10" + }, + { + "value": "15", + "label": "Net 15" + }, + { + "value": "30", + "label": "Net 30" + }, + { + "value": "45", + "label": "Net 45" + }, + { + "value": "60", + "label": "Net 60" + } + ], + "hideFromSearch": false + }, + { + "name": "purchaseOrderRequired", + "type": "SCALAR", + "dataType": "Boolean", + "confidential": false, + "label": "PO Required", + "options": [ + { + "value": true, + "label": "Yes" + }, + { + "value": false, + "label": "No" + } + ], + "hideFromSearch": false + }, + { + "name": "remitInstructions", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "Remit Instructions", + "hideFromSearch": false + }, + { + "name": "status", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Status", + "options": [ + { + "value": "Active", + "label": "Active" + }, + { + "value": "Inactive", + "label": "Inactive" + } + ], + "hideFromSearch": false + }, + { + "name": "title", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Title", + "hideFromSearch": false + }, + { + "name": "versionID", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "invoiceTermVersionID", + "hideFromSearch": false + }, + { + "name": "versions", + "type": "TO_MANY", + "confidential": false, + "label": "Versions", + "optionsType": "InvoiceTermVersion", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/InvoiceTermVersion", + "hideFromSearch": false, + "associatedEntity": { + "entity": "InvoiceTermVersion", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/InvoiceTermVersion?fields=*", + "label": "Invoice Term Version", + "dateLastModified": "1587073458728", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "effectiveDate", + "type": "SCALAR", + "dataType": "Date", + "confidential": false, + "label": "Effective Date", + "hideFromSearch": false + }, + { + "name": "effectiveEndDate", + "type": "SCALAR", + "dataType": "Date", + "confidential": false, + "label": "effectiveEndDate", + "hideFromSearch": false + }, + { + "name": "title", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Title", + "hideFromSearch": false + } + ] + } + }, + { + "name": "waitForTimecards", + "type": "SCALAR", + "dataType": "Boolean", + "confidential": false, + "label": "Wait for Timecards", + "options": [ + { + "value": true, + "label": "Yes" + }, + { + "value": false, + "label": "No" + } + ], + "hideFromSearch": false + } + ] +} diff --git a/src/test/resources/testdata/rest/meta/paybill/invoicetermversion-meta-data.txt b/src/test/resources/testdata/rest/meta/paybill/invoicetermversion-meta-data.txt new file mode 100644 index 00000000..210c67e9 --- /dev/null +++ b/src/test/resources/testdata/rest/meta/paybill/invoicetermversion-meta-data.txt @@ -0,0 +1,706 @@ +{ + "entity": "InvoiceTermVersion", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/InvoiceTermVersion?fields=*", + "label": "Invoice Term Version", + "dateLastModified": "1587073699322", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "approvalRequired", + "type": "SCALAR", + "dataType": "Boolean", + "confidential": false, + "label": "Approval Required", + "options": [ + { + "value": true, + "label": "Yes" + }, + { + "value": false, + "label": "No" + } + ], + "hideFromSearch": false + }, + { + "name": "currencyUnit", + "type": "TO_ONE", + "confidential": false, + "label": "Currency", + "optionsType": "CurrencyUnit", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/CurrencyUnit", + "hideFromSearch": false, + "associatedEntity": { + "entity": "CurrencyUnit", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/CurrencyUnit?fields=*", + "label": "Currency Unit", + "dateLastModified": "1587073699377", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "alphabeticCode", + "type": "SCALAR", + "dataType": "String", + "maxLength": 3, + "confidential": false, + "label": "Alphabetic Code", + "hideFromSearch": false + }, + { + "name": "name", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "customDate1", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "customDate1", + "hideFromSearch": false + }, + { + "name": "customDate2", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "customDate2", + "hideFromSearch": false + }, + { + "name": "customDate3", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "customDate3", + "hideFromSearch": false + }, + { + "name": "customFloat1", + "type": "SCALAR", + "dataType": "Double", + "confidential": false, + "label": "customFloat1", + "hideFromSearch": false + }, + { + "name": "customFloat2", + "type": "SCALAR", + "dataType": "Double", + "confidential": false, + "label": "customFloat2", + "hideFromSearch": false + }, + { + "name": "customFloat3", + "type": "SCALAR", + "dataType": "Double", + "confidential": false, + "label": "customFloat3", + "hideFromSearch": false + }, + { + "name": "customInt1", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "customInt1", + "hideFromSearch": false + }, + { + "name": "customInt2", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "customInt2", + "hideFromSearch": false + }, + { + "name": "customInt3", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "customInt3", + "hideFromSearch": false + }, + { + "name": "customText1", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Invoice Frequency", + "options": [ + { + "value": "Bi Weekly Alt", + "label": "Bi Weekly Alt" + }, + { + "value": "Bi-Weekly", + "label": "Bi-Weekly" + }, + { + "value": "Calendar Month", + "label": "Calendar Month" + }, + { + "value": "Consolidated Bi-Weekly", + "label": "Consolidated Bi-Weekly" + }, + { + "value": "Consolidated Monthly", + "label": "Consolidated Monthly" + }, + { + "value": "Consolidated Weekly", + "label": "Consolidated Weekly" + }, + { + "value": "Monthly", + "label": "Monthly" + }, + { + "value": "Quarterly", + "label": "Quarterly" + }, + { + "value": "Weekly", + "label": "Weekly" + } + ], + "hideFromSearch": false + }, + { + "name": "customText10", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText10", + "hideFromSearch": false + }, + { + "name": "customText11", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText11", + "hideFromSearch": false + }, + { + "name": "customText12", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText12", + "hideFromSearch": false + }, + { + "name": "customText13", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText13", + "hideFromSearch": false + }, + { + "name": "customText14", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText14", + "hideFromSearch": false + }, + { + "name": "customText15", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText15", + "hideFromSearch": false + }, + { + "name": "customText16", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText16", + "hideFromSearch": false + }, + { + "name": "customText17", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText17", + "hideFromSearch": false + }, + { + "name": "customText18", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText18", + "hideFromSearch": false + }, + { + "name": "customText19", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText19", + "hideFromSearch": false + }, + { + "name": "customText2", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText2", + "hideFromSearch": false + }, + { + "name": "customText20", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText20", + "hideFromSearch": false + }, + { + "name": "customText3", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText3", + "hideFromSearch": false + }, + { + "name": "customText4", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText4", + "hideFromSearch": false + }, + { + "name": "customText5", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText5", + "hideFromSearch": false + }, + { + "name": "customText6", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText6", + "hideFromSearch": false + }, + { + "name": "customText7", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText7", + "hideFromSearch": false + }, + { + "name": "customText8", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText8", + "hideFromSearch": false + }, + { + "name": "customText9", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText9", + "hideFromSearch": false + }, + { + "name": "customTextBlock1", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "customTextBlock1", + "hideFromSearch": false + }, + { + "name": "customTextBlock2", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "customTextBlock2", + "hideFromSearch": false + }, + { + "name": "customTextBlock3", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "customTextBlock3", + "hideFromSearch": false + }, + { + "name": "dateAdded", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "dateAdded", + "hideFromSearch": false + }, + { + "name": "dateLastModified", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "dateLastModified", + "hideFromSearch": false + }, + { + "name": "description", + "type": "SCALAR", + "dataType": "String", + "maxLength": 255, + "confidential": false, + "label": "Description", + "hideFromSearch": false + }, + { + "name": "effectiveDate", + "type": "SCALAR", + "dataType": "Date", + "confidential": false, + "label": "Effective Date", + "hideFromSearch": false + }, + { + "name": "effectiveEndDate", + "type": "SCALAR", + "dataType": "Date", + "confidential": false, + "label": "effectiveEndDate", + "hideFromSearch": false + }, + { + "name": "externalID", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "externalID", + "hideFromSearch": false + }, + { + "name": "generalLedgerAccountsReceivable", + "type": "TO_ONE", + "confidential": false, + "label": "General Ledger Accounts Receivable", + "optionsType": "GeneralLedgerAccountsReceivable", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/GeneralLedgerAccountsReceivable", + "hideFromSearch": false, + "associatedEntity": { + "entity": "GeneralLedgerAccount", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/GeneralLedgerAccount?fields=*", + "label": "General Ledger Account", + "dateLastModified": "1587073699423", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "externalAccountNumber", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "External Account Number", + "hideFromSearch": false + }, + { + "name": "externalAccountName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "External Account Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "includeAttachments", + "type": "SCALAR", + "dataType": "Boolean", + "confidential": false, + "label": "Include Attachments", + "options": [ + { + "value": true, + "label": "Yes" + }, + { + "value": false, + "label": "No" + } + ], + "hideFromSearch": false + }, + { + "name": "invoiceApprovedTimecardsRequired", + "type": "SCALAR", + "dataType": "Boolean", + "confidential": false, + "label": "Invoice Only Approved Timecards", + "options": [ + { + "value": true, + "label": "Yes" + }, + { + "value": false, + "label": "No" + } + ], + "hideFromSearch": false + }, + { + "name": "invoiceGroupBy", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "Group By", + "hideFromSearch": false + }, + { + "name": "invoiceOn", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Invoice On", + "options": [ + { + "value": "Transaction Date", + "label": "Transaction Date" + }, + { + "value": "Week-Ending Date", + "label": "Week-Ending Date" + }, + { + "value": "Date Recorded", + "label": "Date Recorded" + } + ], + "hideFromSearch": false + }, + { + "name": "invoiceSplitBy", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "Split By", + "hideFromSearch": false + }, + { + "name": "invoiceStatementTemplate", + "type": "TO_ONE", + "confidential": false, + "label": "Invoice Statement Template", + "optionsType": "InvoiceStatementTemplate", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/InvoiceStatementTemplate", + "hideFromSearch": false, + "associatedEntity": { + "entity": "InvoiceStatementTemplate", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/InvoiceStatementTemplate?fields=*", + "label": "Invoice Statement Template", + "dateLastModified": "1587073655264", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + } + ] + } + }, + { + "name": "invoiceSummarizeBy", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "Summarize By", + "hideFromSearch": false + }, + { + "name": "isFirst", + "type": "SCALAR", + "dataType": "Boolean", + "confidential": false, + "label": "Is First", + "hideFromSearch": false + }, + { + "name": "paymentTerms", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Payment Terms", + "options": [ + { + "value": "0", + "label": "Due Upon Receipt" + }, + { + "value": "5", + "label": "Net 5" + }, + { + "value": "10", + "label": "Net 10" + }, + { + "value": "15", + "label": "Net 15" + }, + { + "value": "30", + "label": "Net 30" + }, + { + "value": "45", + "label": "Net 45" + }, + { + "value": "60", + "label": "Net 60" + } + ], + "hideFromSearch": false + }, + { + "name": "purchaseOrderRequired", + "type": "SCALAR", + "dataType": "Boolean", + "confidential": false, + "label": "PO Required", + "options": [ + { + "value": true, + "label": "Yes" + }, + { + "value": false, + "label": "No" + } + ], + "hideFromSearch": false + }, + { + "name": "remitInstructions", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "Remit Instructions", + "hideFromSearch": false + }, + { + "name": "status", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Status", + "options": [ + { + "value": "Active", + "label": "Active" + }, + { + "value": "Inactive", + "label": "Inactive" + } + ], + "hideFromSearch": false + }, + { + "name": "title", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Title", + "hideFromSearch": false + }, + { + "name": "waitForTimecards", + "type": "SCALAR", + "dataType": "Boolean", + "confidential": false, + "label": "Wait for Timecards", + "options": [ + { + "value": true, + "label": "Yes" + }, + { + "value": false, + "label": "No" + } + ], + "hideFromSearch": false + } + ] +} diff --git a/src/test/resources/testdata/rest/meta/paybill/location-meta-data.txt b/src/test/resources/testdata/rest/meta/paybill/location-meta-data.txt new file mode 100644 index 00000000..fdf13fba --- /dev/null +++ b/src/test/resources/testdata/rest/meta/paybill/location-meta-data.txt @@ -0,0 +1,688 @@ +{ + "entity": "Location", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/Location?fields=*", + "label": "Location", + "dateLastModified": "1587071902438", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "address", + "type": "COMPOSITE", + "dataType": "AddressWithStateID", + "confidential": false, + "label": "Address", + "hideFromSearch": false, + "fields": [ + { + "name": "address1", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Address 1", + "hideFromSearch": false + }, + { + "name": "address2", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Address 2", + "hideFromSearch": false + }, + { + "name": "city", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "City", + "hideFromSearch": false + }, + { + "name": "state", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "State", + "optionsType": "NorthAmericaState", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/NorthAmericaState", + "hideFromSearch": false + }, + { + "name": "zip", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Zip", + "hideFromSearch": false + }, + { + "name": "countryID", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "Country", + "optionsType": "Country", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/Country", + "hideFromSearch": false + }, + { + "name": "countryCode", + "type": "SCALAR", + "dataType": "String", + "maxLength": 0 + }, + { + "name": "countryName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 0 + }, + { + "name": "stateID", + "type": "SCALAR", + "dataType": "Integer" + }, + { + "name": "stateName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 0 + } + ] + }, + { + "name": "candidate", + "type": "TO_ONE", + "confidential": false, + "label": "candidateUserID", + "optionsType": "Candidate", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/Candidate", + "hideFromSearch": false, + "associatedEntity": { + "entity": "Candidate", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/Candidate?fields=*", + "label": "Candidate", + "dateLastModified": "1587071886254", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "firstName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "First Name", + "hideFromSearch": false + }, + { + "name": "lastName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "Last Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "clientCorporation", + "type": "TO_ONE", + "confidential": false, + "label": "clientCorporationID", + "optionsType": "ClientCorporation", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/ClientCorporation", + "hideFromSearch": false, + "associatedEntity": { + "entity": "ClientCorporation", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/ClientCorporation?fields=*", + "label": "Company", + "dateLastModified": "1587071886466", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "name", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Company Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "customDate1", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "customDate1", + "hideFromSearch": false + }, + { + "name": "customDate2", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "customDate2", + "hideFromSearch": false + }, + { + "name": "customDate3", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "customDate3", + "hideFromSearch": false + }, + { + "name": "customFloat1", + "type": "SCALAR", + "dataType": "Double", + "confidential": false, + "label": "customFloat1", + "hideFromSearch": false + }, + { + "name": "customFloat2", + "type": "SCALAR", + "dataType": "Double", + "confidential": false, + "label": "customFloat2", + "hideFromSearch": false + }, + { + "name": "customFloat3", + "type": "SCALAR", + "dataType": "Double", + "confidential": false, + "label": "customFloat3", + "hideFromSearch": false + }, + { + "name": "customInt1", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "customInt1", + "hideFromSearch": false + }, + { + "name": "customInt2", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "customInt2", + "hideFromSearch": false + }, + { + "name": "customInt3", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "customInt3", + "hideFromSearch": false + }, + { + "name": "customText1", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText1", + "hideFromSearch": false + }, + { + "name": "customText10", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText10", + "hideFromSearch": false + }, + { + "name": "customText11", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText11", + "hideFromSearch": false + }, + { + "name": "customText12", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText12", + "hideFromSearch": false + }, + { + "name": "customText13", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText13", + "hideFromSearch": false + }, + { + "name": "customText14", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText14", + "hideFromSearch": false + }, + { + "name": "customText15", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText15", + "hideFromSearch": false + }, + { + "name": "customText16", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText16", + "hideFromSearch": false + }, + { + "name": "customText17", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText17", + "hideFromSearch": false + }, + { + "name": "customText18", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText18", + "hideFromSearch": false + }, + { + "name": "customText19", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText19", + "hideFromSearch": false + }, + { + "name": "customText2", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText2", + "hideFromSearch": false + }, + { + "name": "customText20", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText20", + "hideFromSearch": false + }, + { + "name": "customText3", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText3", + "hideFromSearch": false + }, + { + "name": "customText4", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText4", + "hideFromSearch": false + }, + { + "name": "customText5", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText5", + "hideFromSearch": false + }, + { + "name": "customText6", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText6", + "hideFromSearch": false + }, + { + "name": "customText7", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText7", + "hideFromSearch": false + }, + { + "name": "customText8", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText8", + "hideFromSearch": false + }, + { + "name": "customText9", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText9", + "hideFromSearch": false + }, + { + "name": "customTextBlock1", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "customTextBlock1", + "hideFromSearch": false + }, + { + "name": "customTextBlock2", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "customTextBlock2", + "hideFromSearch": false + }, + { + "name": "customTextBlock3", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "customTextBlock3", + "hideFromSearch": false + }, + { + "name": "dateAdded", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "dateAdded", + "hideFromSearch": false + }, + { + "name": "dateLastModified", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "dateLastModified", + "hideFromSearch": false + }, + { + "name": "description", + "type": "SCALAR", + "dataType": "String", + "maxLength": 255, + "confidential": false, + "label": "Description", + "hideFromSearch": false + }, + { + "name": "effectiveDate", + "type": "SCALAR", + "dataType": "Date", + "confidential": false, + "label": "Effective Date", + "hideFromSearch": false + }, + { + "name": "effectiveEndDate", + "type": "SCALAR", + "dataType": "Date", + "confidential": false, + "label": "effectiveEndDate", + "hideFromSearch": false + }, + { + "name": "externalID", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Location Code", + "hideFromSearch": false + }, + { + "name": "isBillTo", + "type": "SCALAR", + "dataType": "Boolean", + "confidential": false, + "label": "Bill To", + "options": [ + { + "value": true, + "label": "Yes" + }, + { + "value": false, + "label": "No" + } + ], + "hideFromSearch": false + }, + { + "name": "isDeleted", + "type": "SCALAR", + "dataType": "Boolean", + "confidential": false, + "label": "isDeleted", + "hideFromSearch": false + }, + { + "name": "isSoldTo", + "type": "SCALAR", + "dataType": "Boolean", + "confidential": false, + "label": "Sold To", + "options": [ + { + "value": true, + "label": "Yes" + }, + { + "value": false, + "label": "No" + } + ], + "hideFromSearch": false + }, + { + "name": "isWorkSite", + "type": "SCALAR", + "dataType": "Boolean", + "confidential": false, + "label": "Worksite", + "options": [ + { + "value": true, + "label": "Yes" + }, + { + "value": false, + "label": "No" + } + ], + "hideFromSearch": false + }, + { + "name": "owner", + "type": "TO_ONE", + "confidential": false, + "label": "userID", + "optionsType": "CorporateUser", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/CorporateUser", + "hideFromSearch": false, + "associatedEntity": { + "entity": "CorporateUser", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/CorporateUser?fields=*", + "label": "Corporate User", + "dateLastModified": "1587071886270", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "firstName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "First Name", + "hideFromSearch": false + }, + { + "name": "lastName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 50, + "confidential": false, + "label": "Last Name", + "hideFromSearch": false + } + ] + } + }, + { + "name": "status", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Status", + "options": [ + { + "value": "Active", + "label": "Active" + }, + { + "value": "Inactive", + "label": "Inactive" + } + ], + "hideFromSearch": false + }, + { + "name": "title", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Title", + "hideFromSearch": false + }, + { + "name": "versionID", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "LocationVersionID", + "hideFromSearch": false + }, + { + "name": "versions", + "type": "TO_MANY", + "confidential": false, + "label": "Versions", + "optionsType": "LocationVersion", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/LocationVersion", + "hideFromSearch": false, + "associatedEntity": { + "entity": "LocationVersion", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/LocationVersion?fields=*", + "label": "Location Version", + "dateLastModified": "1587073283054", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "effectiveDate", + "type": "SCALAR", + "dataType": "Date", + "confidential": false, + "label": "Effective Date", + "hideFromSearch": false + }, + { + "name": "effectiveEndDate", + "type": "SCALAR", + "dataType": "Date", + "confidential": false, + "label": "effectiveEndDate", + "hideFromSearch": false + }, + { + "name": "title", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Title", + "hideFromSearch": false + } + ] + } + } + ] +} diff --git a/src/test/resources/testdata/rest/meta/paybill/locationversion-meta-data.txt b/src/test/resources/testdata/rest/meta/paybill/locationversion-meta-data.txt new file mode 100644 index 00000000..b559382b --- /dev/null +++ b/src/test/resources/testdata/rest/meta/paybill/locationversion-meta-data.txt @@ -0,0 +1,522 @@ +{ + "entity": "LocationVersion", + "entityMetaUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/meta/LocationVersion?fields=*", + "label": "Location Version", + "dateLastModified": "1587073976071", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer" + }, + { + "name": "address", + "type": "COMPOSITE", + "dataType": "AddressWithStateID", + "confidential": false, + "label": "Address", + "hideFromSearch": false, + "fields": [ + { + "name": "address1", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Address 1", + "hideFromSearch": false + }, + { + "name": "address2", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Address 2", + "hideFromSearch": false + }, + { + "name": "city", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "City", + "hideFromSearch": false + }, + { + "name": "state", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "State", + "optionsType": "NorthAmericaState", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/NorthAmericaState", + "hideFromSearch": false + }, + { + "name": "zip", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Zip", + "hideFromSearch": false + }, + { + "name": "countryID", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "Country", + "optionsType": "Country", + "optionsUrl": "https://rest99.bullhornstaffing.com/rest-services/ns3r4/options/Country", + "hideFromSearch": false + }, + { + "name": "countryCode", + "type": "SCALAR", + "dataType": "String", + "maxLength": 0 + }, + { + "name": "countryName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 0 + }, + { + "name": "stateID", + "type": "SCALAR", + "dataType": "Integer" + }, + { + "name": "stateName", + "type": "SCALAR", + "dataType": "String", + "maxLength": 0 + } + ] + }, + { + "name": "customDate1", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "customDate1", + "hideFromSearch": false + }, + { + "name": "customDate2", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "customDate2", + "hideFromSearch": false + }, + { + "name": "customDate3", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "customDate3", + "hideFromSearch": false + }, + { + "name": "customFloat1", + "type": "SCALAR", + "dataType": "Double", + "confidential": false, + "label": "customFloat1", + "hideFromSearch": false + }, + { + "name": "customFloat2", + "type": "SCALAR", + "dataType": "Double", + "confidential": false, + "label": "customFloat2", + "hideFromSearch": false + }, + { + "name": "customFloat3", + "type": "SCALAR", + "dataType": "Double", + "confidential": false, + "label": "customFloat3", + "hideFromSearch": false + }, + { + "name": "customInt1", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "customInt1", + "hideFromSearch": false + }, + { + "name": "customInt2", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "customInt2", + "hideFromSearch": false + }, + { + "name": "customInt3", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "customInt3", + "hideFromSearch": false + }, + { + "name": "customText1", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText1", + "hideFromSearch": false + }, + { + "name": "customText10", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText10", + "hideFromSearch": false + }, + { + "name": "customText11", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText11", + "hideFromSearch": false + }, + { + "name": "customText12", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText12", + "hideFromSearch": false + }, + { + "name": "customText13", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText13", + "hideFromSearch": false + }, + { + "name": "customText14", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText14", + "hideFromSearch": false + }, + { + "name": "customText15", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText15", + "hideFromSearch": false + }, + { + "name": "customText16", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText16", + "hideFromSearch": false + }, + { + "name": "customText17", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText17", + "hideFromSearch": false + }, + { + "name": "customText18", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText18", + "hideFromSearch": false + }, + { + "name": "customText19", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText19", + "hideFromSearch": false + }, + { + "name": "customText2", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText2", + "hideFromSearch": false + }, + { + "name": "customText20", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText20", + "hideFromSearch": false + }, + { + "name": "customText3", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText3", + "hideFromSearch": false + }, + { + "name": "customText4", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText4", + "hideFromSearch": false + }, + { + "name": "customText5", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText5", + "hideFromSearch": false + }, + { + "name": "customText6", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText6", + "hideFromSearch": false + }, + { + "name": "customText7", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText7", + "hideFromSearch": false + }, + { + "name": "customText8", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText8", + "hideFromSearch": false + }, + { + "name": "customText9", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "customText9", + "hideFromSearch": false + }, + { + "name": "customTextBlock1", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "customTextBlock1", + "hideFromSearch": false + }, + { + "name": "customTextBlock2", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "customTextBlock2", + "hideFromSearch": false + }, + { + "name": "customTextBlock3", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "customTextBlock3", + "hideFromSearch": false + }, + { + "name": "dateAdded", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "dateAdded", + "hideFromSearch": false + }, + { + "name": "dateLastModified", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "dateLastModified", + "hideFromSearch": false + }, + { + "name": "description", + "type": "SCALAR", + "dataType": "String", + "maxLength": 255, + "confidential": false, + "label": "Description", + "hideFromSearch": false + }, + { + "name": "effectiveDate", + "type": "SCALAR", + "dataType": "Date", + "confidential": false, + "label": "Effective Date", + "hideFromSearch": false + }, + { + "name": "effectiveEndDate", + "type": "SCALAR", + "dataType": "Date", + "confidential": false, + "label": "effectiveEndDate", + "hideFromSearch": false + }, + { + "name": "externalID", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Location Code", + "hideFromSearch": false + }, + { + "name": "isBillTo", + "type": "SCALAR", + "dataType": "Boolean", + "confidential": false, + "label": "Bill To", + "options": [ + { + "value": true, + "label": "Yes" + }, + { + "value": false, + "label": "No" + } + ], + "hideFromSearch": false + }, + { + "name": "isFirst", + "type": "SCALAR", + "dataType": "Boolean", + "confidential": false, + "label": "Is First Version", + "hideFromSearch": false + }, + { + "name": "isSoldTo", + "type": "SCALAR", + "dataType": "Boolean", + "confidential": false, + "label": "Sold To", + "options": [ + { + "value": true, + "label": "Yes" + }, + { + "value": false, + "label": "No" + } + ], + "hideFromSearch": false + }, + { + "name": "isWorkSite", + "type": "SCALAR", + "dataType": "Boolean", + "confidential": false, + "label": "Worksite", + "options": [ + { + "value": true, + "label": "Yes" + }, + { + "value": false, + "label": "No" + } + ], + "hideFromSearch": false + }, + { + "name": "status", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Status", + "options": [ + { + "value": "Active", + "label": "Active" + }, + { + "value": "Inactive", + "label": "Inactive" + } + ], + "hideFromSearch": false + }, + { + "name": "title", + "type": "SCALAR", + "dataType": "String", + "maxLength": 100, + "confidential": false, + "label": "Title", + "hideFromSearch": false + } + ] +} From 8e3d88144f89e860716450705b00810b3988a9ea Mon Sep 17 00:00:00 2001 From: Fayranne Lipton Date: Thu, 16 Apr 2020 17:57:51 -0400 Subject: [PATCH 05/11] update path --- .../com/bullhornsdk/data/api/mock/MockDataLoader.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/bullhornsdk/data/api/mock/MockDataLoader.groovy b/src/main/java/com/bullhornsdk/data/api/mock/MockDataLoader.groovy index 13a0d45e..df61d3f6 100644 --- a/src/main/java/com/bullhornsdk/data/api/mock/MockDataLoader.groovy +++ b/src/main/java/com/bullhornsdk/data/api/mock/MockDataLoader.groovy @@ -500,9 +500,9 @@ public class MockDataLoader { entityFiles.put(WorkersCompensation.class, "workerscompensation-data.txt"); entityFiles.put(WorkersCompensationRate.class, "workerscompensationrate-data.txt"); - entityFiles.put(BillingProfile.class, "billingprofile-data.txt"); - entityFiles.put(InvoiceTerm.class, "invoiceterm-data.txt"); - entityFiles.put(Location.class, "location-data.txt"); + entityFiles.put(BillingProfile.class, "paybill/billingprofile-data.txt"); + entityFiles.put(InvoiceTerm.class, "paybill/invoiceterm-data.txt"); + entityFiles.put(Location.class, "paybill/location-data.txt"); entityFiles.put(JobOrderCustomObjectInstance1.class, "customobjectinstances/jobordercustomobjectinstance1-data.txt"); entityFiles.put(JobOrderCustomObjectInstance2.class, "customobjectinstances/jobordercustomobjectinstance2-data.txt"); From 19d50fd1187c3db297911177d22bb15ad683d1a0 Mon Sep 17 00:00:00 2001 From: Fayranne Lipton Date: Thu, 16 Apr 2020 18:24:26 -0400 Subject: [PATCH 06/11] update --- .../meta/paybill/billingprofile-meta-data.txt | 9 ---- .../meta/paybill/invoiceterm-meta-data.txt | 45 ------------------- 2 files changed, 54 deletions(-) diff --git a/src/test/resources/testdata/rest/meta/paybill/billingprofile-meta-data.txt b/src/test/resources/testdata/rest/meta/paybill/billingprofile-meta-data.txt index 6f66e365..799baea5 100644 --- a/src/test/resources/testdata/rest/meta/paybill/billingprofile-meta-data.txt +++ b/src/test/resources/testdata/rest/meta/paybill/billingprofile-meta-data.txt @@ -745,15 +745,6 @@ "name": "id", "type": "ID", "dataType": "Integer" - }, - { - "name": "name", - "type": "SCALAR", - "dataType": "String", - "maxLength": 100, - "confidential": false, - "label": "Template Name", - "hideFromSearch": false } ] } diff --git a/src/test/resources/testdata/rest/meta/paybill/invoiceterm-meta-data.txt b/src/test/resources/testdata/rest/meta/paybill/invoiceterm-meta-data.txt index 80a6b72a..f570d22b 100644 --- a/src/test/resources/testdata/rest/meta/paybill/invoiceterm-meta-data.txt +++ b/src/test/resources/testdata/rest/meta/paybill/invoiceterm-meta-data.txt @@ -76,24 +76,6 @@ "name": "id", "type": "ID", "dataType": "Integer" - }, - { - "name": "alphabeticCode", - "type": "SCALAR", - "dataType": "String", - "maxLength": 3, - "confidential": false, - "label": "Alphabetic Code", - "hideFromSearch": false - }, - { - "name": "name", - "type": "SCALAR", - "dataType": "String", - "maxLength": 100, - "confidential": false, - "label": "Name", - "hideFromSearch": false } ] } @@ -483,24 +465,6 @@ "name": "id", "type": "ID", "dataType": "Integer" - }, - { - "name": "externalAccountNumber", - "type": "SCALAR", - "dataType": "String", - "maxLength": 100, - "confidential": false, - "label": "External Account Number", - "hideFromSearch": false - }, - { - "name": "externalAccountName", - "type": "SCALAR", - "dataType": "String", - "maxLength": 100, - "confidential": false, - "label": "External Account Name", - "hideFromSearch": false } ] } @@ -765,15 +729,6 @@ "confidential": false, "label": "effectiveEndDate", "hideFromSearch": false - }, - { - "name": "title", - "type": "SCALAR", - "dataType": "String", - "maxLength": 100, - "confidential": false, - "label": "Title", - "hideFromSearch": false } ] } From 4e9ae56922756ee609dbb31372579f027f5874af Mon Sep 17 00:00:00 2001 From: Fayranne Lipton Date: Thu, 16 Apr 2020 18:52:40 -0400 Subject: [PATCH 07/11] potential fix --- .../testdata/rest/paybill/billingprofile-data.txt | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/test/resources/testdata/rest/paybill/billingprofile-data.txt b/src/test/resources/testdata/rest/paybill/billingprofile-data.txt index 2fb98115..203e1a85 100644 --- a/src/test/resources/testdata/rest/paybill/billingprofile-data.txt +++ b/src/test/resources/testdata/rest/paybill/billingprofile-data.txt @@ -81,8 +81,7 @@ "effectiveEndDate": "2999-12-31", "externalID": null, "invoiceStatementMessageTemplate": { - "id": 1, - "name": "VACO" + "id": 1 }, "invoiceTerm": { "id": 26644, @@ -191,8 +190,7 @@ "effectiveEndDate": "2999-12-31", "externalID": null, "invoiceStatementMessageTemplate": { - "id": 1, - "name": "VACO" + "id": 1 }, "invoiceTerm": { "id": 26644, @@ -301,8 +299,7 @@ "effectiveEndDate": "2999-12-31", "externalID": null, "invoiceStatementMessageTemplate": { - "id": 1, - "name": "VACO" + "id": 1 }, "invoiceTerm": { "id": 26644, @@ -411,8 +408,7 @@ "effectiveEndDate": "2999-12-31", "externalID": null, "invoiceStatementMessageTemplate": { - "id": 1, - "name": "VACO" + "id": 1 }, "invoiceTerm": { "id": 26644, @@ -521,8 +517,7 @@ "effectiveEndDate": "2999-12-31", "externalID": null, "invoiceStatementMessageTemplate": { - "id": 1, - "name": "VACO" + "id": 1 }, "invoiceTerm": { "id": 26644, From 060e35018f9af5bc87396906da99fc7684b2da22 Mon Sep 17 00:00:00 2001 From: Fayranne Lipton Date: Thu, 16 Apr 2020 19:11:17 -0400 Subject: [PATCH 08/11] fix currency unit test --- .../rest/paybill/invoiceterm-data.txt | 20 +++++-------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/src/test/resources/testdata/rest/paybill/invoiceterm-data.txt b/src/test/resources/testdata/rest/paybill/invoiceterm-data.txt index 615150c7..c1b9b43a 100644 --- a/src/test/resources/testdata/rest/paybill/invoiceterm-data.txt +++ b/src/test/resources/testdata/rest/paybill/invoiceterm-data.txt @@ -11,9 +11,7 @@ "name": "Wolters Kluwer" }, "currencyUnit": { - "id": 166, - "alphabeticCode": "USD", - "name": "US Dollar" + "id": 166 }, "customDate1": null, "customDate2": null, @@ -84,9 +82,7 @@ "name": "Wolters Kluwer" }, "currencyUnit": { - "id": 166, - "alphabeticCode": "USD", - "name": "US Dollar" + "id": 166 }, "customDate1": null, "customDate2": null, @@ -157,9 +153,7 @@ "name": "Wolters Kluwer" }, "currencyUnit": { - "id": 166, - "alphabeticCode": "USD", - "name": "US Dollar" + "id": 166 }, "customDate1": null, "customDate2": null, @@ -230,9 +224,7 @@ "name": "Wolters Kluwer" }, "currencyUnit": { - "id": 166, - "alphabeticCode": "USD", - "name": "US Dollar" + "id": 166 }, "customDate1": null, "customDate2": null, @@ -303,9 +295,7 @@ "name": "Wolters Kluwer" }, "currencyUnit": { - "id": 166, - "alphabeticCode": "USD", - "name": "US Dollar" + "id": 166 }, "customDate1": null, "customDate2": null, From 229d51245fc07bd565071719a8f501a60dcd5231 Mon Sep 17 00:00:00 2001 From: Fayranne Lipton Date: Thu, 16 Apr 2020 19:31:16 -0400 Subject: [PATCH 09/11] syntax fix --- .../testdata/rest/paybill/invoiceterm-data.txt | 1 + .../resources/testdata/rest/paybill/location-data.txt | 11 ++++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/test/resources/testdata/rest/paybill/invoiceterm-data.txt b/src/test/resources/testdata/rest/paybill/invoiceterm-data.txt index c1b9b43a..a91e4ffb 100644 --- a/src/test/resources/testdata/rest/paybill/invoiceterm-data.txt +++ b/src/test/resources/testdata/rest/paybill/invoiceterm-data.txt @@ -358,5 +358,6 @@ "data": [] }, "waitForTimecards": false + } ] } diff --git a/src/test/resources/testdata/rest/paybill/location-data.txt b/src/test/resources/testdata/rest/paybill/location-data.txt index 1110be6f..61e1888d 100644 --- a/src/test/resources/testdata/rest/paybill/location-data.txt +++ b/src/test/resources/testdata/rest/paybill/location-data.txt @@ -5,7 +5,7 @@ "data": [ { "id": 1, -"address": { + "address": { "address1": null, "address2": null, "city": null, @@ -79,7 +79,7 @@ }, { "id": 2, -"address": { + "address": { "address1": null, "address2": null, "city": null, @@ -153,7 +153,7 @@ }, { "id": 3, -"address": { + "address": { "address1": null, "address2": null, "city": null, @@ -227,7 +227,7 @@ }, { "id": 4, -"address": { + "address": { "address1": null, "address2": null, "city": null, @@ -301,7 +301,7 @@ }, { "id": 5, -"address": { + "address": { "address1": null, "address2": null, "city": null, @@ -372,5 +372,6 @@ "total": 2, "data": [] } + } ] } From 958254c65f694d9541ed6ea3c9bbb8ebd06a8ae2 Mon Sep 17 00:00:00 2001 From: Fayranne Lipton Date: Thu, 16 Apr 2020 20:36:43 -0400 Subject: [PATCH 10/11] update --- .../resources/testdata/rest/paybill/billingprofile-data.txt | 2 +- src/test/resources/testdata/rest/paybill/invoiceterm-data.txt | 2 +- src/test/resources/testdata/rest/paybill/location-data.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/resources/testdata/rest/paybill/billingprofile-data.txt b/src/test/resources/testdata/rest/paybill/billingprofile-data.txt index 203e1a85..10d611ed 100644 --- a/src/test/resources/testdata/rest/paybill/billingprofile-data.txt +++ b/src/test/resources/testdata/rest/paybill/billingprofile-data.txt @@ -1,5 +1,5 @@ { - "total": 804, + "total": 5, "start": 0, "count": 5, "data": [ diff --git a/src/test/resources/testdata/rest/paybill/invoiceterm-data.txt b/src/test/resources/testdata/rest/paybill/invoiceterm-data.txt index a91e4ffb..bb4d77a5 100644 --- a/src/test/resources/testdata/rest/paybill/invoiceterm-data.txt +++ b/src/test/resources/testdata/rest/paybill/invoiceterm-data.txt @@ -1,5 +1,5 @@ { - "total": 804, + "total": 5, "start": 0, "count": 5, "data": [ diff --git a/src/test/resources/testdata/rest/paybill/location-data.txt b/src/test/resources/testdata/rest/paybill/location-data.txt index 61e1888d..c3835a4c 100644 --- a/src/test/resources/testdata/rest/paybill/location-data.txt +++ b/src/test/resources/testdata/rest/paybill/location-data.txt @@ -1,5 +1,5 @@ { - "total": 804, + "total": 5, "start": 0, "count": 5, "data": [ From 3d03be275fc7afb3257fdb3b07d5d986fd85cd15 Mon Sep 17 00:00:00 2001 From: Fayranne Lipton Date: Thu, 16 Apr 2020 20:54:25 -0400 Subject: [PATCH 11/11] add more test data --- .../rest/paybill/billingprofile-data.txt | 1639 ++++++++++++++++- .../rest/paybill/invoiceterm-data.txt | 1072 ++++++++++- .../testdata/rest/paybill/location-data.txt | 1114 ++++++++++- 3 files changed, 3819 insertions(+), 6 deletions(-) diff --git a/src/test/resources/testdata/rest/paybill/billingprofile-data.txt b/src/test/resources/testdata/rest/paybill/billingprofile-data.txt index 10d611ed..95590f92 100644 --- a/src/test/resources/testdata/rest/paybill/billingprofile-data.txt +++ b/src/test/resources/testdata/rest/paybill/billingprofile-data.txt @@ -1,7 +1,7 @@ { - "total": 5, + "total": 25, "start": 0, - "count": 5, + "count": 20, "data": [ { "id": 1, @@ -440,6 +440,1532 @@ } }, { + "id": 19, + "bccRecipients": { + "total": 0, + "data": [] + }, + "billingAttention": null, + "billingClientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "billingContact": { + "id": 2984265, + "firstName": "Marie ", + "lastName": "Croteau" + }, + "billingCorporateUser": null, + "billingLocation": { + "id": 22632, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "candidate": null, + "title": "Wolters Kluwer Billing Location", + "effectiveDate": "2020-01-10", + "effectiveEndDate": "2999-12-31", + "versionID": 22632, + "externalID": "3020186" + }, + "ccRecipients": { + "total": 0, + "data": [] + }, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587044327147, + "dateLastModified": 1587044327710, + "deliveryMethod": "Email", + "description": "Test Billing Profile 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "invoiceStatementMessageTemplate": { + "id": 1 + }, + "invoiceTerm": { + "id": 26644, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "title": "TEST Terms 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "versionID": 61370 + }, + "isDeleted": false, + "owner": { + "id": 3121287, + "firstName": "Bullhorn", + "lastName": "PS" + }, + "status": "Active", + "title": "TEST BP 1", + "toRecipients": { + "total": 1, + "data": [] + }, + "versionID": 27789, + "versions": { + "total": 1, + "data": [] + } + }, + { + "id": 18, + "bccRecipients": { + "total": 0, + "data": [] + }, + "billingAttention": null, + "billingClientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "billingContact": { + "id": 2984265, + "firstName": "Marie ", + "lastName": "Croteau" + }, + "billingCorporateUser": null, + "billingLocation": { + "id": 22632, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "candidate": null, + "title": "Wolters Kluwer Billing Location", + "effectiveDate": "2020-01-10", + "effectiveEndDate": "2999-12-31", + "versionID": 22632, + "externalID": "3020186" + }, + "ccRecipients": { + "total": 0, + "data": [] + }, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587044327147, + "dateLastModified": 1587044327710, + "deliveryMethod": "Email", + "description": "Test Billing Profile 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "invoiceStatementMessageTemplate": { + "id": 1 + }, + "invoiceTerm": { + "id": 26644, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "title": "TEST Terms 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "versionID": 61370 + }, + "isDeleted": false, + "owner": { + "id": 3121287, + "firstName": "Bullhorn", + "lastName": "PS" + }, + "status": "Active", + "title": "TEST BP 1", + "toRecipients": { + "total": 1, + "data": [] + }, + "versionID": 27789, + "versions": { + "total": 1, + "data": [] + } + }, + { + "id": 17, + "bccRecipients": { + "total": 0, + "data": [] + }, + "billingAttention": null, + "billingClientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "billingContact": { + "id": 2984265, + "firstName": "Marie ", + "lastName": "Croteau" + }, + "billingCorporateUser": null, + "billingLocation": { + "id": 22632, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "candidate": null, + "title": "Wolters Kluwer Billing Location", + "effectiveDate": "2020-01-10", + "effectiveEndDate": "2999-12-31", + "versionID": 22632, + "externalID": "3020186" + }, + "ccRecipients": { + "total": 0, + "data": [] + }, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587044327147, + "dateLastModified": 1587044327710, + "deliveryMethod": "Email", + "description": "Test Billing Profile 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "invoiceStatementMessageTemplate": { + "id": 1 + }, + "invoiceTerm": { + "id": 26644, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "title": "TEST Terms 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "versionID": 61370 + }, + "isDeleted": false, + "owner": { + "id": 3121287, + "firstName": "Bullhorn", + "lastName": "PS" + }, + "status": "Active", + "title": "TEST BP 1", + "toRecipients": { + "total": 1, + "data": [] + }, + "versionID": 27789, + "versions": { + "total": 1, + "data": [] + } + }, + { + "id": 16, + "bccRecipients": { + "total": 0, + "data": [] + }, + "billingAttention": null, + "billingClientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "billingContact": { + "id": 2984265, + "firstName": "Marie ", + "lastName": "Croteau" + }, + "billingCorporateUser": null, + "billingLocation": { + "id": 22632, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "candidate": null, + "title": "Wolters Kluwer Billing Location", + "effectiveDate": "2020-01-10", + "effectiveEndDate": "2999-12-31", + "versionID": 22632, + "externalID": "3020186" + }, + "ccRecipients": { + "total": 0, + "data": [] + }, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587044327147, + "dateLastModified": 1587044327710, + "deliveryMethod": "Email", + "description": "Test Billing Profile 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "invoiceStatementMessageTemplate": { + "id": 1 + }, + "invoiceTerm": { + "id": 26644, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "title": "TEST Terms 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "versionID": 61370 + }, + "isDeleted": false, + "owner": { + "id": 3121287, + "firstName": "Bullhorn", + "lastName": "PS" + }, + "status": "Active", + "title": "TEST BP 1", + "toRecipients": { + "total": 1, + "data": [] + }, + "versionID": 27789, + "versions": { + "total": 1, + "data": [] + } + }, + { + "id": 15, + "bccRecipients": { + "total": 0, + "data": [] + }, + "billingAttention": null, + "billingClientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "billingContact": { + "id": 2984265, + "firstName": "Marie ", + "lastName": "Croteau" + }, + "billingCorporateUser": null, + "billingLocation": { + "id": 22632, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "candidate": null, + "title": "Wolters Kluwer Billing Location", + "effectiveDate": "2020-01-10", + "effectiveEndDate": "2999-12-31", + "versionID": 22632, + "externalID": "3020186" + }, + "ccRecipients": { + "total": 0, + "data": [] + }, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587044327147, + "dateLastModified": 1587044327710, + "deliveryMethod": "Email", + "description": "Test Billing Profile 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "invoiceStatementMessageTemplate": { + "id": 1 + }, + "invoiceTerm": { + "id": 26644, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "title": "TEST Terms 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "versionID": 61370 + }, + "isDeleted": false, + "owner": { + "id": 3121287, + "firstName": "Bullhorn", + "lastName": "PS" + }, + "status": "Active", + "title": "TEST BP 1", + "toRecipients": { + "total": 1, + "data": [] + }, + "versionID": 27789, + "versions": { + "total": 1, + "data": [] + } + }, + { + "id": 14, + "bccRecipients": { + "total": 0, + "data": [] + }, + "billingAttention": null, + "billingClientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "billingContact": { + "id": 2984265, + "firstName": "Marie ", + "lastName": "Croteau" + }, + "billingCorporateUser": null, + "billingLocation": { + "id": 22632, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "candidate": null, + "title": "Wolters Kluwer Billing Location", + "effectiveDate": "2020-01-10", + "effectiveEndDate": "2999-12-31", + "versionID": 22632, + "externalID": "3020186" + }, + "ccRecipients": { + "total": 0, + "data": [] + }, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587044327147, + "dateLastModified": 1587044327710, + "deliveryMethod": "Email", + "description": "Test Billing Profile 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "invoiceStatementMessageTemplate": { + "id": 1 + }, + "invoiceTerm": { + "id": 26644, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "title": "TEST Terms 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "versionID": 61370 + }, + "isDeleted": false, + "owner": { + "id": 3121287, + "firstName": "Bullhorn", + "lastName": "PS" + }, + "status": "Active", + "title": "TEST BP 1", + "toRecipients": { + "total": 1, + "data": [] + }, + "versionID": 27789, + "versions": { + "total": 1, + "data": [] + } + }, + { + "id": 13, + "bccRecipients": { + "total": 0, + "data": [] + }, + "billingAttention": null, + "billingClientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "billingContact": { + "id": 2984265, + "firstName": "Marie ", + "lastName": "Croteau" + }, + "billingCorporateUser": null, + "billingLocation": { + "id": 22632, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "candidate": null, + "title": "Wolters Kluwer Billing Location", + "effectiveDate": "2020-01-10", + "effectiveEndDate": "2999-12-31", + "versionID": 22632, + "externalID": "3020186" + }, + "ccRecipients": { + "total": 0, + "data": [] + }, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587044327147, + "dateLastModified": 1587044327710, + "deliveryMethod": "Email", + "description": "Test Billing Profile 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "invoiceStatementMessageTemplate": { + "id": 1 + }, + "invoiceTerm": { + "id": 26644, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "title": "TEST Terms 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "versionID": 61370 + }, + "isDeleted": false, + "owner": { + "id": 3121287, + "firstName": "Bullhorn", + "lastName": "PS" + }, + "status": "Active", + "title": "TEST BP 1", + "toRecipients": { + "total": 1, + "data": [] + }, + "versionID": 27789, + "versions": { + "total": 1, + "data": [] + } + }, + { + "id": 12, + "bccRecipients": { + "total": 0, + "data": [] + }, + "billingAttention": null, + "billingClientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "billingContact": { + "id": 2984265, + "firstName": "Marie ", + "lastName": "Croteau" + }, + "billingCorporateUser": null, + "billingLocation": { + "id": 22632, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "candidate": null, + "title": "Wolters Kluwer Billing Location", + "effectiveDate": "2020-01-10", + "effectiveEndDate": "2999-12-31", + "versionID": 22632, + "externalID": "3020186" + }, + "ccRecipients": { + "total": 0, + "data": [] + }, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587044327147, + "dateLastModified": 1587044327710, + "deliveryMethod": "Email", + "description": "Test Billing Profile 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "invoiceStatementMessageTemplate": { + "id": 1 + }, + "invoiceTerm": { + "id": 26644, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "title": "TEST Terms 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "versionID": 61370 + }, + "isDeleted": false, + "owner": { + "id": 3121287, + "firstName": "Bullhorn", + "lastName": "PS" + }, + "status": "Active", + "title": "TEST BP 1", + "toRecipients": { + "total": 1, + "data": [] + }, + "versionID": 27789, + "versions": { + "total": 1, + "data": [] + } + }, + { + "id": 11, + "bccRecipients": { + "total": 0, + "data": [] + }, + "billingAttention": null, + "billingClientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "billingContact": { + "id": 2984265, + "firstName": "Marie ", + "lastName": "Croteau" + }, + "billingCorporateUser": null, + "billingLocation": { + "id": 22632, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "candidate": null, + "title": "Wolters Kluwer Billing Location", + "effectiveDate": "2020-01-10", + "effectiveEndDate": "2999-12-31", + "versionID": 22632, + "externalID": "3020186" + }, + "ccRecipients": { + "total": 0, + "data": [] + }, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587044327147, + "dateLastModified": 1587044327710, + "deliveryMethod": "Email", + "description": "Test Billing Profile 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "invoiceStatementMessageTemplate": { + "id": 1 + }, + "invoiceTerm": { + "id": 26644, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "title": "TEST Terms 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "versionID": 61370 + }, + "isDeleted": false, + "owner": { + "id": 3121287, + "firstName": "Bullhorn", + "lastName": "PS" + }, + "status": "Active", + "title": "TEST BP 1", + "toRecipients": { + "total": 1, + "data": [] + }, + "versionID": 27789, + "versions": { + "total": 1, + "data": [] + } + }, + { + "id": 10, + "bccRecipients": { + "total": 0, + "data": [] + }, + "billingAttention": null, + "billingClientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "billingContact": { + "id": 2984265, + "firstName": "Marie ", + "lastName": "Croteau" + }, + "billingCorporateUser": null, + "billingLocation": { + "id": 22632, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "candidate": null, + "title": "Wolters Kluwer Billing Location", + "effectiveDate": "2020-01-10", + "effectiveEndDate": "2999-12-31", + "versionID": 22632, + "externalID": "3020186" + }, + "ccRecipients": { + "total": 0, + "data": [] + }, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587044327147, + "dateLastModified": 1587044327710, + "deliveryMethod": "Email", + "description": "Test Billing Profile 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "invoiceStatementMessageTemplate": { + "id": 1 + }, + "invoiceTerm": { + "id": 26644, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "title": "TEST Terms 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "versionID": 61370 + }, + "isDeleted": false, + "owner": { + "id": 3121287, + "firstName": "Bullhorn", + "lastName": "PS" + }, + "status": "Active", + "title": "TEST BP 1", + "toRecipients": { + "total": 1, + "data": [] + }, + "versionID": 27789, + "versions": { + "total": 1, + "data": [] + } + }, + { + "id": 9, + "bccRecipients": { + "total": 0, + "data": [] + }, + "billingAttention": null, + "billingClientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "billingContact": { + "id": 2984265, + "firstName": "Marie ", + "lastName": "Croteau" + }, + "billingCorporateUser": null, + "billingLocation": { + "id": 22632, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "candidate": null, + "title": "Wolters Kluwer Billing Location", + "effectiveDate": "2020-01-10", + "effectiveEndDate": "2999-12-31", + "versionID": 22632, + "externalID": "3020186" + }, + "ccRecipients": { + "total": 0, + "data": [] + }, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587044327147, + "dateLastModified": 1587044327710, + "deliveryMethod": "Email", + "description": "Test Billing Profile 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "invoiceStatementMessageTemplate": { + "id": 1 + }, + "invoiceTerm": { + "id": 26644, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "title": "TEST Terms 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "versionID": 61370 + }, + "isDeleted": false, + "owner": { + "id": 3121287, + "firstName": "Bullhorn", + "lastName": "PS" + }, + "status": "Active", + "title": "TEST BP 1", + "toRecipients": { + "total": 1, + "data": [] + }, + "versionID": 27789, + "versions": { + "total": 1, + "data": [] + } + }, + { + "id": 8, + "bccRecipients": { + "total": 0, + "data": [] + }, + "billingAttention": null, + "billingClientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "billingContact": { + "id": 2984265, + "firstName": "Marie ", + "lastName": "Croteau" + }, + "billingCorporateUser": null, + "billingLocation": { + "id": 22632, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "candidate": null, + "title": "Wolters Kluwer Billing Location", + "effectiveDate": "2020-01-10", + "effectiveEndDate": "2999-12-31", + "versionID": 22632, + "externalID": "3020186" + }, + "ccRecipients": { + "total": 0, + "data": [] + }, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587044327147, + "dateLastModified": 1587044327710, + "deliveryMethod": "Email", + "description": "Test Billing Profile 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "invoiceStatementMessageTemplate": { + "id": 1 + }, + "invoiceTerm": { + "id": 26644, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "title": "TEST Terms 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "versionID": 61370 + }, + "isDeleted": false, + "owner": { + "id": 3121287, + "firstName": "Bullhorn", + "lastName": "PS" + }, + "status": "Active", + "title": "TEST BP 1", + "toRecipients": { + "total": 1, + "data": [] + }, + "versionID": 27789, + "versions": { + "total": 1, + "data": [] + } + }, + { + "id": 7, + "bccRecipients": { + "total": 0, + "data": [] + }, + "billingAttention": null, + "billingClientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "billingContact": { + "id": 2984265, + "firstName": "Marie ", + "lastName": "Croteau" + }, + "billingCorporateUser": null, + "billingLocation": { + "id": 22632, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "candidate": null, + "title": "Wolters Kluwer Billing Location", + "effectiveDate": "2020-01-10", + "effectiveEndDate": "2999-12-31", + "versionID": 22632, + "externalID": "3020186" + }, + "ccRecipients": { + "total": 0, + "data": [] + }, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587044327147, + "dateLastModified": 1587044327710, + "deliveryMethod": "Email", + "description": "Test Billing Profile 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "invoiceStatementMessageTemplate": { + "id": 1 + }, + "invoiceTerm": { + "id": 26644, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "title": "TEST Terms 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "versionID": 61370 + }, + "isDeleted": false, + "owner": { + "id": 3121287, + "firstName": "Bullhorn", + "lastName": "PS" + }, + "status": "Active", + "title": "TEST BP 1", + "toRecipients": { + "total": 1, + "data": [] + }, + "versionID": 27789, + "versions": { + "total": 1, + "data": [] + } + }, + { + "id": 6, + "bccRecipients": { + "total": 0, + "data": [] + }, + "billingAttention": null, + "billingClientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "billingContact": { + "id": 2984265, + "firstName": "Marie ", + "lastName": "Croteau" + }, + "billingCorporateUser": null, + "billingLocation": { + "id": 22632, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "candidate": null, + "title": "Wolters Kluwer Billing Location", + "effectiveDate": "2020-01-10", + "effectiveEndDate": "2999-12-31", + "versionID": 22632, + "externalID": "3020186" + }, + "ccRecipients": { + "total": 0, + "data": [] + }, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587044327147, + "dateLastModified": 1587044327710, + "deliveryMethod": "Email", + "description": "Test Billing Profile 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "invoiceStatementMessageTemplate": { + "id": 1 + }, + "invoiceTerm": { + "id": 26644, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "title": "TEST Terms 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "versionID": 61370 + }, + "isDeleted": false, + "owner": { + "id": 3121287, + "firstName": "Bullhorn", + "lastName": "PS" + }, + "status": "Active", + "title": "TEST BP 1", + "toRecipients": { + "total": 1, + "data": [] + }, + "versionID": 27789, + "versions": { + "total": 1, + "data": [] + } + }, + { "id": 5, "bccRecipients": { "total": 0, @@ -547,6 +2073,115 @@ "total": 1, "data": [] } + }, + { + "id": 20, + "bccRecipients": { + "total": 0, + "data": [] + }, + "billingAttention": null, + "billingClientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "billingContact": { + "id": 2984265, + "firstName": "Marie ", + "lastName": "Croteau" + }, + "billingCorporateUser": null, + "billingLocation": { + "id": 22632, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "candidate": null, + "title": "Wolters Kluwer Billing Location", + "effectiveDate": "2020-01-10", + "effectiveEndDate": "2999-12-31", + "versionID": 22632, + "externalID": "3020186" + }, + "ccRecipients": { + "total": 0, + "data": [] + }, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587044327147, + "dateLastModified": 1587044327710, + "deliveryMethod": "Email", + "description": "Test Billing Profile 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "invoiceStatementMessageTemplate": { + "id": 1 + }, + "invoiceTerm": { + "id": 26644, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "title": "TEST Terms 1", + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "versionID": 61370 + }, + "isDeleted": false, + "owner": { + "id": 3121287, + "firstName": "Bullhorn", + "lastName": "PS" + }, + "status": "Active", + "title": "TEST BP 1", + "toRecipients": { + "total": 1, + "data": [] + }, + "versionID": 27789, + "versions": { + "total": 1, + "data": [] + } } ] } diff --git a/src/test/resources/testdata/rest/paybill/invoiceterm-data.txt b/src/test/resources/testdata/rest/paybill/invoiceterm-data.txt index bb4d77a5..341b4000 100644 --- a/src/test/resources/testdata/rest/paybill/invoiceterm-data.txt +++ b/src/test/resources/testdata/rest/paybill/invoiceterm-data.txt @@ -1,7 +1,7 @@ { - "total": 5, + "total": 25, "start": 0, - "count": 5, + "count": 20, "data": [ { "id": 1, @@ -358,6 +358,1074 @@ "data": [] }, "waitForTimecards": false + }, + { + "id": 6, + "approvalRequired": false, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "currencyUnit": { + "id": 166 + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": "Weekly", + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587043620863, + "dateLastModified": 1587043620863, + "description": null, + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "generalLedgerAccountsReceivable": null, + "includeAttachments": true, + "invoiceApprovedTimecardsRequired": false, + "invoiceGroupBy": null, + "invoiceOn": null, + "invoiceSplitBy": null, + "invoiceStatementTemplate": { + "id": 1 + }, + "invoiceSummarizeBy": "billableCharge.candidate", + "isDeleted": false, + "isFirst": true, + "paymentTerms": "30", + "purchaseOrderRequired": false, + "remitInstructions": null, + "status": "Active", + "title": "TEST Terms 1", + "versionID": 61370, + "versions": { + "total": 1, + "data": [] + }, + "waitForTimecards": false + }, + { + "id": 7, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "currencyUnit": { + "id": 166 + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": "Weekly", + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587043620863, + "dateLastModified": 1587043620863, + "description": null, + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "generalLedgerAccountsReceivable": null, + "includeAttachments": true, + "invoiceApprovedTimecardsRequired": false, + "invoiceGroupBy": null, + "invoiceOn": null, + "invoiceSplitBy": null, + "invoiceStatementTemplate": { + "id": 1 + }, + "invoiceSummarizeBy": "billableCharge.candidate", + "isDeleted": false, + "isFirst": true, + "paymentTerms": "30", + "purchaseOrderRequired": false, + "remitInstructions": null, + "status": "Active", + "title": "TEST Terms 1", + "versionID": 61370, + "versions": { + "total": 1, + "data": [] + }, + "waitForTimecards": false + }, + { + "id": 8, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "currencyUnit": { + "id": 166 + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": "Weekly", + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587043620863, + "dateLastModified": 1587043620863, + "description": null, + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "generalLedgerAccountsReceivable": null, + "includeAttachments": true, + "invoiceApprovedTimecardsRequired": false, + "invoiceGroupBy": null, + "invoiceOn": null, + "invoiceSplitBy": null, + "invoiceStatementTemplate": { + "id": 1 + }, + "invoiceSummarizeBy": "billableCharge.candidate", + "isDeleted": false, + "isFirst": true, + "paymentTerms": "30", + "purchaseOrderRequired": false, + "remitInstructions": null, + "status": "Active", + "title": "TEST Terms 1", + "versionID": 61370, + "versions": { + "total": 1, + "data": [] + }, + "waitForTimecards": false + }, + { + "id": 9, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "currencyUnit": { + "id": 166 + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": "Weekly", + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587043620863, + "dateLastModified": 1587043620863, + "description": null, + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "generalLedgerAccountsReceivable": null, + "includeAttachments": true, + "invoiceApprovedTimecardsRequired": false, + "invoiceGroupBy": null, + "invoiceOn": null, + "invoiceSplitBy": null, + "invoiceStatementTemplate": { + "id": 1 + }, + "invoiceSummarizeBy": "billableCharge.candidate", + "isDeleted": false, + "isFirst": true, + "paymentTerms": "30", + "purchaseOrderRequired": false, + "remitInstructions": null, + "status": "Active", + "title": "TEST Terms 1", + "versionID": 61370, + "versions": { + "total": 1, + "data": [] + }, + "waitForTimecards": false + }, + { + "id": 10, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "currencyUnit": { + "id": 166 + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": "Weekly", + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587043620863, + "dateLastModified": 1587043620863, + "description": null, + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "generalLedgerAccountsReceivable": null, + "includeAttachments": true, + "invoiceApprovedTimecardsRequired": false, + "invoiceGroupBy": null, + "invoiceOn": null, + "invoiceSplitBy": null, + "invoiceStatementTemplate": { + "id": 1 + }, + "invoiceSummarizeBy": "billableCharge.candidate", + "isDeleted": false, + "isFirst": true, + "paymentTerms": "30", + "purchaseOrderRequired": false, + "remitInstructions": null, + "status": "Active", + "title": "TEST Terms 1", + "versionID": 61370, + "versions": { + "total": 1, + "data": [] + }, + "waitForTimecards": false + }, + { + "id": 11, + "approvalRequired": false, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "currencyUnit": { + "id": 166 + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": "Weekly", + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587043620863, + "dateLastModified": 1587043620863, + "description": null, + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "generalLedgerAccountsReceivable": null, + "includeAttachments": true, + "invoiceApprovedTimecardsRequired": false, + "invoiceGroupBy": null, + "invoiceOn": null, + "invoiceSplitBy": null, + "invoiceStatementTemplate": { + "id": 1 + }, + "invoiceSummarizeBy": "billableCharge.candidate", + "isDeleted": false, + "isFirst": true, + "paymentTerms": "30", + "purchaseOrderRequired": false, + "remitInstructions": null, + "status": "Active", + "title": "TEST Terms 1", + "versionID": 61370, + "versions": { + "total": 1, + "data": [] + }, + "waitForTimecards": false + }, + { + "id": 12, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "currencyUnit": { + "id": 166 + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": "Weekly", + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587043620863, + "dateLastModified": 1587043620863, + "description": null, + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "generalLedgerAccountsReceivable": null, + "includeAttachments": true, + "invoiceApprovedTimecardsRequired": false, + "invoiceGroupBy": null, + "invoiceOn": null, + "invoiceSplitBy": null, + "invoiceStatementTemplate": { + "id": 1 + }, + "invoiceSummarizeBy": "billableCharge.candidate", + "isDeleted": false, + "isFirst": true, + "paymentTerms": "30", + "purchaseOrderRequired": false, + "remitInstructions": null, + "status": "Active", + "title": "TEST Terms 1", + "versionID": 61370, + "versions": { + "total": 1, + "data": [] + }, + "waitForTimecards": false + }, + { + "id": 13, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "currencyUnit": { + "id": 166 + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": "Weekly", + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587043620863, + "dateLastModified": 1587043620863, + "description": null, + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "generalLedgerAccountsReceivable": null, + "includeAttachments": true, + "invoiceApprovedTimecardsRequired": false, + "invoiceGroupBy": null, + "invoiceOn": null, + "invoiceSplitBy": null, + "invoiceStatementTemplate": { + "id": 1 + }, + "invoiceSummarizeBy": "billableCharge.candidate", + "isDeleted": false, + "isFirst": true, + "paymentTerms": "30", + "purchaseOrderRequired": false, + "remitInstructions": null, + "status": "Active", + "title": "TEST Terms 1", + "versionID": 61370, + "versions": { + "total": 1, + "data": [] + }, + "waitForTimecards": false + }, + { + "id": 14, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "currencyUnit": { + "id": 166 + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": "Weekly", + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587043620863, + "dateLastModified": 1587043620863, + "description": null, + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "generalLedgerAccountsReceivable": null, + "includeAttachments": true, + "invoiceApprovedTimecardsRequired": false, + "invoiceGroupBy": null, + "invoiceOn": null, + "invoiceSplitBy": null, + "invoiceStatementTemplate": { + "id": 1 + }, + "invoiceSummarizeBy": "billableCharge.candidate", + "isDeleted": false, + "isFirst": true, + "paymentTerms": "30", + "purchaseOrderRequired": false, + "remitInstructions": null, + "status": "Active", + "title": "TEST Terms 1", + "versionID": 61370, + "versions": { + "total": 1, + "data": [] + }, + "waitForTimecards": false + }, + { + "id": 15, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "currencyUnit": { + "id": 166 + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": "Weekly", + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587043620863, + "dateLastModified": 1587043620863, + "description": null, + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "generalLedgerAccountsReceivable": null, + "includeAttachments": true, + "invoiceApprovedTimecardsRequired": false, + "invoiceGroupBy": null, + "invoiceOn": null, + "invoiceSplitBy": null, + "invoiceStatementTemplate": { + "id": 1 + }, + "invoiceSummarizeBy": "billableCharge.candidate", + "isDeleted": false, + "isFirst": true, + "paymentTerms": "30", + "purchaseOrderRequired": false, + "remitInstructions": null, + "status": "Active", + "title": "TEST Terms 1", + "versionID": 61370, + "versions": { + "total": 1, + "data": [] + }, + "waitForTimecards": false + }, + { + "id": 16, + "approvalRequired": false, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "currencyUnit": { + "id": 166 + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": "Weekly", + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587043620863, + "dateLastModified": 1587043620863, + "description": null, + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "generalLedgerAccountsReceivable": null, + "includeAttachments": true, + "invoiceApprovedTimecardsRequired": false, + "invoiceGroupBy": null, + "invoiceOn": null, + "invoiceSplitBy": null, + "invoiceStatementTemplate": { + "id": 1 + }, + "invoiceSummarizeBy": "billableCharge.candidate", + "isDeleted": false, + "isFirst": true, + "paymentTerms": "30", + "purchaseOrderRequired": false, + "remitInstructions": null, + "status": "Active", + "title": "TEST Terms 1", + "versionID": 61370, + "versions": { + "total": 1, + "data": [] + }, + "waitForTimecards": false + }, + { + "id": 17, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "currencyUnit": { + "id": 166 + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": "Weekly", + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587043620863, + "dateLastModified": 1587043620863, + "description": null, + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "generalLedgerAccountsReceivable": null, + "includeAttachments": true, + "invoiceApprovedTimecardsRequired": false, + "invoiceGroupBy": null, + "invoiceOn": null, + "invoiceSplitBy": null, + "invoiceStatementTemplate": { + "id": 1 + }, + "invoiceSummarizeBy": "billableCharge.candidate", + "isDeleted": false, + "isFirst": true, + "paymentTerms": "30", + "purchaseOrderRequired": false, + "remitInstructions": null, + "status": "Active", + "title": "TEST Terms 1", + "versionID": 61370, + "versions": { + "total": 1, + "data": [] + }, + "waitForTimecards": false + }, + { + "id": 18, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "currencyUnit": { + "id": 166 + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": "Weekly", + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587043620863, + "dateLastModified": 1587043620863, + "description": null, + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "generalLedgerAccountsReceivable": null, + "includeAttachments": true, + "invoiceApprovedTimecardsRequired": false, + "invoiceGroupBy": null, + "invoiceOn": null, + "invoiceSplitBy": null, + "invoiceStatementTemplate": { + "id": 1 + }, + "invoiceSummarizeBy": "billableCharge.candidate", + "isDeleted": false, + "isFirst": true, + "paymentTerms": "30", + "purchaseOrderRequired": false, + "remitInstructions": null, + "status": "Active", + "title": "TEST Terms 1", + "versionID": 61370, + "versions": { + "total": 1, + "data": [] + }, + "waitForTimecards": false + }, + { + "id": 19, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "currencyUnit": { + "id": 166 + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": "Weekly", + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587043620863, + "dateLastModified": 1587043620863, + "description": null, + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "generalLedgerAccountsReceivable": null, + "includeAttachments": true, + "invoiceApprovedTimecardsRequired": false, + "invoiceGroupBy": null, + "invoiceOn": null, + "invoiceSplitBy": null, + "invoiceStatementTemplate": { + "id": 1 + }, + "invoiceSummarizeBy": "billableCharge.candidate", + "isDeleted": false, + "isFirst": true, + "paymentTerms": "30", + "purchaseOrderRequired": false, + "remitInstructions": null, + "status": "Active", + "title": "TEST Terms 1", + "versionID": 61370, + "versions": { + "total": 1, + "data": [] + }, + "waitForTimecards": false + }, + { + "id": 20, + "clientCorporation": { + "id": 391265, + "name": "Wolters Kluwer" + }, + "currencyUnit": { + "id": 166 + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": "Weekly", + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1587043620863, + "dateLastModified": 1587043620863, + "description": null, + "effectiveDate": "2020-04-16", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "generalLedgerAccountsReceivable": null, + "includeAttachments": true, + "invoiceApprovedTimecardsRequired": false, + "invoiceGroupBy": null, + "invoiceOn": null, + "invoiceSplitBy": null, + "invoiceStatementTemplate": { + "id": 1 + }, + "invoiceSummarizeBy": "billableCharge.candidate", + "isDeleted": false, + "isFirst": true, + "paymentTerms": "30", + "purchaseOrderRequired": false, + "remitInstructions": null, + "status": "Active", + "title": "TEST Terms 1", + "versionID": 61370, + "versions": { + "total": 1, + "data": [] + }, + "waitForTimecards": false } ] } diff --git a/src/test/resources/testdata/rest/paybill/location-data.txt b/src/test/resources/testdata/rest/paybill/location-data.txt index c3835a4c..395bccb3 100644 --- a/src/test/resources/testdata/rest/paybill/location-data.txt +++ b/src/test/resources/testdata/rest/paybill/location-data.txt @@ -1,7 +1,7 @@ { - "total": 5, + "total": 25, "start": 0, - "count": 5, + "count": 20, "data": [ { "id": 1, @@ -299,6 +299,80 @@ "data": [] } }, + { + "id": 6, + "address": { + "address1": null, + "address2": null, + "city": null, + "state": null, + "stateID": null, + "stateName": null, + "zip": null, + "countryID": 1, + "countryName": "United States", + "countryCode": "US" + }, + "candidate": null, + "clientCorporation": { + "id": 13448, + "name": "Capital One - Raleigh" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1585139881740, + "dateLastModified": 1585139881740, + "description": null, + "effectiveDate": "2020-03-26", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "isBillTo": false, + "isDeleted": false, + "isSoldTo": false, + "isWorkSite": false, + "owner": { + "id": 2034545, + "firstName": "Bullhorn", + "lastName": "Support" + }, + "status": "Active", + "title": "New Profile Test", + "versionID": 26641, + "versions": { + "total": 2, + "data": [] + } + }, { "id": 5, "address": { @@ -372,6 +446,1042 @@ "total": 2, "data": [] } + }, + { + "id": 7, + "address": { + "address1": null, + "address2": null, + "city": null, + "state": null, + "stateID": null, + "stateName": null, + "zip": null, + "countryID": 1, + "countryName": "United States", + "countryCode": "US" + }, + "candidate": null, + "clientCorporation": { + "id": 13448, + "name": "Capital One - Raleigh" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1585139881740, + "dateLastModified": 1585139881740, + "description": null, + "effectiveDate": "2020-03-26", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "isBillTo": false, + "isDeleted": false, + "isSoldTo": false, + "isWorkSite": false, + "owner": { + "id": 2034545, + "firstName": "Bullhorn", + "lastName": "Support" + }, + "status": "Active", + "title": "New Profile Test", + "versionID": 26641, + "versions": { + "total": 2, + "data": [] + } + }, + { + "id": 8, + "address": { + "address1": null, + "address2": null, + "city": null, + "state": null, + "stateID": null, + "stateName": null, + "zip": null, + "countryID": 1, + "countryName": "United States", + "countryCode": "US" + }, + "candidate": null, + "clientCorporation": { + "id": 13448, + "name": "Capital One - Raleigh" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1585139881740, + "dateLastModified": 1585139881740, + "description": null, + "effectiveDate": "2020-03-26", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "isBillTo": false, + "isDeleted": false, + "isSoldTo": false, + "isWorkSite": false, + "owner": { + "id": 2034545, + "firstName": "Bullhorn", + "lastName": "Support" + }, + "status": "Active", + "title": "New Profile Test", + "versionID": 26641, + "versions": { + "total": 2, + "data": [] + } + }, + { + "id": 9, + "address": { + "address1": null, + "address2": null, + "city": null, + "state": null, + "stateID": null, + "stateName": null, + "zip": null, + "countryID": 1, + "countryName": "United States", + "countryCode": "US" + }, + "candidate": null, + "clientCorporation": { + "id": 13448, + "name": "Capital One - Raleigh" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1585139881740, + "dateLastModified": 1585139881740, + "description": null, + "effectiveDate": "2020-03-26", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "isBillTo": false, + "isDeleted": false, + "isSoldTo": false, + "isWorkSite": false, + "owner": { + "id": 2034545, + "firstName": "Bullhorn", + "lastName": "Support" + }, + "status": "Active", + "title": "New Profile Test", + "versionID": 26641, + "versions": { + "total": 2, + "data": [] + } + }, + { + "id": 10, + "address": { + "address1": null, + "address2": null, + "city": null, + "state": null, + "stateID": null, + "stateName": null, + "zip": null, + "countryID": 1, + "countryName": "United States", + "countryCode": "US" + }, + "candidate": null, + "clientCorporation": { + "id": 13448, + "name": "Capital One - Raleigh" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1585139881740, + "dateLastModified": 1585139881740, + "description": null, + "effectiveDate": "2020-03-26", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "isBillTo": false, + "isDeleted": false, + "isSoldTo": false, + "isWorkSite": false, + "owner": { + "id": 2034545, + "firstName": "Bullhorn", + "lastName": "Support" + }, + "status": "Active", + "title": "New Profile Test", + "versionID": 26641, + "versions": { + "total": 2, + "data": [] + } + }, + { + "id": 11, + "address": { + "address1": null, + "address2": null, + "city": null, + "state": null, + "stateID": null, + "stateName": null, + "zip": null, + "countryID": 1, + "countryName": "United States", + "countryCode": "US" + }, + "candidate": null, + "clientCorporation": { + "id": 13448, + "name": "Capital One - Raleigh" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1585139881740, + "dateLastModified": 1585139881740, + "description": null, + "effectiveDate": "2020-03-26", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "isBillTo": false, + "isDeleted": false, + "isSoldTo": false, + "isWorkSite": false, + "owner": { + "id": 2034545, + "firstName": "Bullhorn", + "lastName": "Support" + }, + "status": "Active", + "title": "New Profile Test", + "versionID": 26641, + "versions": { + "total": 2, + "data": [] + } + }, + { + "id": 12, + "address": { + "address1": null, + "address2": null, + "city": null, + "state": null, + "stateID": null, + "stateName": null, + "zip": null, + "countryID": 1, + "countryName": "United States", + "countryCode": "US" + }, + "candidate": null, + "clientCorporation": { + "id": 13448, + "name": "Capital One - Raleigh" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1585139881740, + "dateLastModified": 1585139881740, + "description": null, + "effectiveDate": "2020-03-26", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "isBillTo": false, + "isDeleted": false, + "isSoldTo": false, + "isWorkSite": false, + "owner": { + "id": 2034545, + "firstName": "Bullhorn", + "lastName": "Support" + }, + "status": "Active", + "title": "New Profile Test", + "versionID": 26641, + "versions": { + "total": 2, + "data": [] + } + }, + { + "id": 13, + "address": { + "address1": null, + "address2": null, + "city": null, + "state": null, + "stateID": null, + "stateName": null, + "zip": null, + "countryID": 1, + "countryName": "United States", + "countryCode": "US" + }, + "candidate": null, + "clientCorporation": { + "id": 13448, + "name": "Capital One - Raleigh" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1585139881740, + "dateLastModified": 1585139881740, + "description": null, + "effectiveDate": "2020-03-26", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "isBillTo": false, + "isDeleted": false, + "isSoldTo": false, + "isWorkSite": false, + "owner": { + "id": 2034545, + "firstName": "Bullhorn", + "lastName": "Support" + }, + "status": "Active", + "title": "New Profile Test", + "versionID": 26641, + "versions": { + "total": 2, + "data": [] + } + }, + { + "id": 14, + "address": { + "address1": null, + "address2": null, + "city": null, + "state": null, + "stateID": null, + "stateName": null, + "zip": null, + "countryID": 1, + "countryName": "United States", + "countryCode": "US" + }, + "candidate": null, + "clientCorporation": { + "id": 13448, + "name": "Capital One - Raleigh" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1585139881740, + "dateLastModified": 1585139881740, + "description": null, + "effectiveDate": "2020-03-26", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "isBillTo": false, + "isDeleted": false, + "isSoldTo": false, + "isWorkSite": false, + "owner": { + "id": 2034545, + "firstName": "Bullhorn", + "lastName": "Support" + }, + "status": "Active", + "title": "New Profile Test", + "versionID": 26641, + "versions": { + "total": 2, + "data": [] + } + }, + { + "id": 15, + "address": { + "address1": null, + "address2": null, + "city": null, + "state": null, + "stateID": null, + "stateName": null, + "zip": null, + "countryID": 1, + "countryName": "United States", + "countryCode": "US" + }, + "candidate": null, + "clientCorporation": { + "id": 13448, + "name": "Capital One - Raleigh" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1585139881740, + "dateLastModified": 1585139881740, + "description": null, + "effectiveDate": "2020-03-26", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "isBillTo": false, + "isDeleted": false, + "isSoldTo": false, + "isWorkSite": false, + "owner": { + "id": 2034545, + "firstName": "Bullhorn", + "lastName": "Support" + }, + "status": "Active", + "title": "New Profile Test", + "versionID": 26641, + "versions": { + "total": 2, + "data": [] + } + }, + { + "id": 16, + "address": { + "address1": null, + "address2": null, + "city": null, + "state": null, + "stateID": null, + "stateName": null, + "zip": null, + "countryID": 1, + "countryName": "United States", + "countryCode": "US" + }, + "candidate": null, + "clientCorporation": { + "id": 13448, + "name": "Capital One - Raleigh" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1585139881740, + "dateLastModified": 1585139881740, + "description": null, + "effectiveDate": "2020-03-26", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "isBillTo": false, + "isDeleted": false, + "isSoldTo": false, + "isWorkSite": false, + "owner": { + "id": 2034545, + "firstName": "Bullhorn", + "lastName": "Support" + }, + "status": "Active", + "title": "New Profile Test", + "versionID": 26641, + "versions": { + "total": 2, + "data": [] + } + }, + { + "id": 17, + "address": { + "address1": null, + "address2": null, + "city": null, + "state": null, + "stateID": null, + "stateName": null, + "zip": null, + "countryID": 1, + "countryName": "United States", + "countryCode": "US" + }, + "candidate": null, + "clientCorporation": { + "id": 13448, + "name": "Capital One - Raleigh" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1585139881740, + "dateLastModified": 1585139881740, + "description": null, + "effectiveDate": "2020-03-26", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "isBillTo": false, + "isDeleted": false, + "isSoldTo": false, + "isWorkSite": false, + "owner": { + "id": 2034545, + "firstName": "Bullhorn", + "lastName": "Support" + }, + "status": "Active", + "title": "New Profile Test", + "versionID": 26641, + "versions": { + "total": 2, + "data": [] + } + }, + { + "id": 18, + "address": { + "address1": null, + "address2": null, + "city": null, + "state": null, + "stateID": null, + "stateName": null, + "zip": null, + "countryID": 1, + "countryName": "United States", + "countryCode": "US" + }, + "candidate": null, + "clientCorporation": { + "id": 13448, + "name": "Capital One - Raleigh" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1585139881740, + "dateLastModified": 1585139881740, + "description": null, + "effectiveDate": "2020-03-26", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "isBillTo": false, + "isDeleted": false, + "isSoldTo": false, + "isWorkSite": false, + "owner": { + "id": 2034545, + "firstName": "Bullhorn", + "lastName": "Support" + }, + "status": "Active", + "title": "New Profile Test", + "versionID": 26641, + "versions": { + "total": 2, + "data": [] + } + }, + { + "id": 19, + "address": { + "address1": null, + "address2": null, + "city": null, + "state": null, + "stateID": null, + "stateName": null, + "zip": null, + "countryID": 1, + "countryName": "United States", + "countryCode": "US" + }, + "candidate": null, + "clientCorporation": { + "id": 13448, + "name": "Capital One - Raleigh" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1585139881740, + "dateLastModified": 1585139881740, + "description": null, + "effectiveDate": "2020-03-26", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "isBillTo": false, + "isDeleted": false, + "isSoldTo": false, + "isWorkSite": false, + "owner": { + "id": 2034545, + "firstName": "Bullhorn", + "lastName": "Support" + }, + "status": "Active", + "title": "New Profile Test", + "versionID": 26641, + "versions": { + "total": 2, + "data": [] + } + }, + { + "id": 20, + "address": { + "address1": null, + "address2": null, + "city": null, + "state": null, + "stateID": null, + "stateName": null, + "zip": null, + "countryID": 1, + "countryName": "United States", + "countryCode": "US" + }, + "candidate": null, + "clientCorporation": { + "id": 13448, + "name": "Capital One - Raleigh" + }, + "customDate1": null, + "customDate2": null, + "customDate3": null, + "customFloat1": null, + "customFloat2": null, + "customFloat3": null, + "customInt1": null, + "customInt2": null, + "customInt3": null, + "customText1": null, + "customText10": null, + "customText11": null, + "customText12": null, + "customText13": null, + "customText14": null, + "customText15": null, + "customText16": null, + "customText17": null, + "customText18": null, + "customText19": null, + "customText2": null, + "customText20": null, + "customText3": null, + "customText4": null, + "customText5": null, + "customText6": null, + "customText7": null, + "customText8": null, + "customText9": null, + "customTextBlock1": null, + "customTextBlock2": null, + "customTextBlock3": null, + "dateAdded": 1585139881740, + "dateLastModified": 1585139881740, + "description": null, + "effectiveDate": "2020-03-26", + "effectiveEndDate": "2999-12-31", + "externalID": null, + "isBillTo": false, + "isDeleted": false, + "isSoldTo": false, + "isWorkSite": false, + "owner": { + "id": 2034545, + "firstName": "Bullhorn", + "lastName": "Support" + }, + "status": "Active", + "title": "New Profile Test", + "versionID": 26641, + "versions": { + "total": 2, + "data": [] + } } ] }