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 .jsv suffix or ?format=jsv

HTTP + JSV

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/jsv
Content-Type: text/jsv
Content-Length: length

{
	customerId: 00000000000000000000000000000000,
	batchFileDefinitionId: 0,
	batchRecordPropertyReducerMaps: 
	[
		{
			batchRecordPropertyId: 0,
			batchRecordPropertyReducerId: 0,
			createdById: 00000000000000000000000000000000,
			dateCreated: 0001-01-01
		}
	],
	batchRecordPropertyFieldMaps: 
	[
		{
			batchRecordPropertyId: 0,
			batchFileDefinitionFieldId: 0,
			createdById: 00000000000000000000000000000000,
			dateCreated: 0001-01-01
		}
	]
}