BootView WebApi

<back to all web services

UpdateMergeHistory

The following routes are available for this service:
PUT/collectionattemptmerge/{id}Updates items in a collection attempt with items merged from another collection attempt
UpdateMergeHistory Parameters:
NameParameterData TypeRequiredDescription
IdpathGuidYesThe id of the source from which the item is being merged.
MergeItemTypebodyMergeTypeYesType of item being merged
MergeTargetTypebodyMergeTypeYesType of item being merged to
MergeTargetFromIdbodyGuidYesThe id of the target to which the item is being merged.
MergeTargetToIdbodyGuidYesThe id of the target to which the item is being merged.
MergeItemIdsbodyList<Guid>YesA list of bill ids that are being merged

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/UpdateMergeHistory HTTP/1.1 
Host: api.paylock.com 
Content-Type: text/csv
Content-Length: length

{"id":"00000000000000000000000000000000","mergeItemType":"Unknown","mergeTargetType":"Unknown","mergeTargetFromId":"00000000000000000000000000000000","mergeTargetToId":"00000000000000000000000000000000","mergeItemIds":["00000000000000000000000000000000"]}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

false