BootView WebApi

<back to all web services

CreateCustomerBatchFileDefinitionProperties

The following routes are available for this service:
POST/customers/{customerId}/batchfiledefinitions/{batchFileDefinitionId}/batchrecordpropertiesCreates mappings for batch record properties to batch record property reducers and to batch file definition fields.
CreateCustomerBatchFileDefinitionProperties Parameters:
NameParameterData TypeRequiredDescription
CustomerIdpathGuidYesThe Customer Id.
BatchFileDefinitionIdpathintYesThe Batch File Definition Id.
BatchRecordPropertyReducerMapsbodyList<BatchRecordPropertyReducerMap>YesA list of mappings between batch record property and batch record property reducer.
BatchRecordPropertyFieldMapsbodyList<BatchRecordPropertyFieldMap>YesA list of mappings between batch record property and batch file definition field.
BatchRecordPropertyReducerMap Parameters:
NameParameterData TypeRequiredDescription
BatchRecordPropertyIdformintNo
BatchRecordPropertyReducerIdformintNo
CreatedByIdformGuidNo
DateCreatedformDateTimeNo
BatchRecordPropertyFieldMap Parameters:
NameParameterData TypeRequiredDescription
BatchRecordPropertyIdformintNo
BatchFileDefinitionFieldIdformintNo
CreatedByIdformGuidNo
DateCreatedformDateTimeNo

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 /customers/{customerId}/batchfiledefinitions/{batchFileDefinitionId}/batchrecordproperties HTTP/1.1 
Host: api.paylock.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"customerId":"00000000-0000-0000-0000-000000000000","batchFileDefinitionId":0,"batchRecordPropertyReducerMaps":[{"batchRecordPropertyId":0,"batchRecordPropertyReducerId":0,"createdById":"00000000-0000-0000-0000-000000000000","dateCreated":"\/Date(-62135596800000-0000)\/"}],"batchRecordPropertyFieldMaps":[{"batchRecordPropertyId":0,"batchFileDefinitionFieldId":0,"createdById":"00000000-0000-0000-0000-000000000000","dateCreated":"\/Date(-62135596800000-0000)\/"}]}