From 3e27bf903787f80fb20ada9e766d2c9f772f8d93 Mon Sep 17 00:00:00 2001 From: Alyssa Bryant Date: Fri, 30 Apr 2021 09:15:52 -0500 Subject: [PATCH 1/2] BH-70675 adds bill master sync batch info --- source/includes/_services.md | 31 ++++++++ .../includes/entityref/paybill/_billmaster.md | 33 ++++++--- .../entityref/paybill/_billmastersyncbatch.md | 73 +++++++++++++++++++ 3 files changed, 127 insertions(+), 10 deletions(-) create mode 100644 source/includes/entityref/paybill/_billmastersyncbatch.md diff --git a/source/includes/_services.md b/source/includes/_services.md index 834dc433..9c17bd14 100644 --- a/source/includes/_services.md +++ b/source/includes/_services.md @@ -321,3 +321,34 @@ curl -X POST \ Parameter | Required | Description ------ | -------- | ----- BhRestToken | yes | Token that represents a session established by the login process. Must be sent with all subsequent requests to the API. The session key can be provided in the BhRestToken query string, a cookie, or an HTTP header. + +## PUT /services/BillMasterSyncBatch + +Allows the API user to sync the Invoice Term information for one or more BillMasters. + +``` shell +curl -X PUT \ + https://rest.bullhorn.com/rest-services/e999/services/BillMasterSyncBatch + +# Example Request +{ + "billableChargeIds": [1,2,3] +} + +# Example Response +{ + "changedEntityType": "BillMasterSyncBatch", + "changedEntityId": 123, + "changeType": "INSERT", + "data": { + } +} +``` + +### HTTP Request + +`{corpToken}/services/RevenueRecognition/UpdateTransactionExportStatus` + +Parameter | Required | Description +------ | -------- | ----- +BhRestToken | yes | Token that represents a session established by the login process. Must be sent with all subsequent requests to the API. The session key can be provided in the BhRestToken query string, a cookie, or an HTTP header. \ No newline at end of file diff --git a/source/includes/entityref/paybill/_billmaster.md b/source/includes/entityref/paybill/_billmaster.md index 31506e0e..8753eff6 100644 --- a/source/includes/entityref/paybill/_billmaster.md +++ b/source/includes/entityref/paybill/_billmaster.md @@ -89,34 +89,47 @@ Read-only entity that represents a BillMaster record. X + billMasterStatus + To-one association + BillMasterStatus. Options are: + + + + + + canInvoice Boolean Indicates whether can invoice. - + chargeTypeLookup To-one association ChargeTypeLookup - options are Timesheet or Expense Report. X X - + dateAdded Timestamp X X - + dateLastModified Timestamp X X - + earnCode To-one association

Associated EarnCode.

@@ -130,14 +143,14 @@ Read-only entity that represents a BillMaster record. X - + externalID String (100) X - + location To-one association Location @@ -156,14 +169,14 @@ Read-only entity that represents a BillMaster record. X - + owner To-one association CorporateUser X - + payBillCycle To-one association PayBillCycle - this is the associated billing cycle. @@ -175,14 +188,14 @@ Read-only entity that represents a BillMaster record. X - + transactionDate Date

Transaction date

X - + transactionStatus To-one association TransactionStatus. Options are: diff --git a/source/includes/entityref/paybill/_billmastersyncbatch.md b/source/includes/entityref/paybill/_billmastersyncbatch.md new file mode 100644 index 00000000..f5809293 --- /dev/null +++ b/source/includes/entityref/paybill/_billmastersyncbatch.md @@ -0,0 +1,73 @@ +# Pay and Bill - BillMasterSyncBatch + +Read-only entity that represents a BillMasterSyncBatch. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
BillMasterSyncBatch fieldsTypeDescriptionNot nullRead-only
idIntegerUnique identifier for this entity.XX
batchStatus

To-one association

+

The associated BatchStatusLookup representing the status of the batch.

+

Default fields:

+
    +
  • id
  • +
+
X
billMasters

To-many association

+

Associated list of BillMasters.

+

Default fields:

+
    +
  • id
  • +
+
 X
dateAddedTimestampTimestamp representing when this batch was addedXX
dateLastModifiedTimestampTimestamp representing when this batch was last modifiedXX
+ + From 58e6a773e73699a0db6618d4600de6971b226f96 Mon Sep 17 00:00:00 2001 From: Alyssa Bryant Date: Fri, 30 Apr 2021 09:55:08 -0500 Subject: [PATCH 2/2] BH-70675 fixes HTTP request url for service --- source/includes/_services.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/includes/_services.md b/source/includes/_services.md index 9c17bd14..bcc09506 100644 --- a/source/includes/_services.md +++ b/source/includes/_services.md @@ -316,7 +316,7 @@ curl -X POST \ ### HTTP Request -`{corpToken}/services/RevenueRecognition/UpdateTransactionExportStatus` +`{corpToken}/services/BillMasterSyncBatch` Parameter | Required | Description ------ | -------- | -----