BootView WebApi

<back to all web services

UpdateCustomerBatchFileDefinition

The following routes are available for this service:
PUT/customers/{customerId}/batchfiledefinitions/{id}Updates an existing batch file definition for a given customer. Fails if this user does not have access to this customer or if the batch file definition doesn't exist.
UpdateCustomerBatchFileDefinition Parameters:
NameParameterData TypeRequiredDescription
CustomerIdpathGuidYesThe Customer Id.
IdpathintYesThe Batch File Definition Id.
BatchTypeIdbodyintYesThe Batch Type Id.
BatchFileTypeIdbodyintYesThe Batch File Type Id.
BatchFileLayoutTypeIdbodyintYesThe Batch File Layout Type Id.
NamebodystringYesThe name of the batch file definition.
FileNamebodystringYesThe file name of the batch file definition.
FolderbodystringYesThe folder of the batch file definition.
DelimiterbodyintNoThe delimiter used in the batch file definition.
DateCreatedbodyDateTimeNoThe date/time the definition was created.
CreatedByIdbodyGuidNoThe creator of the batch file definition.
IsActivebodyboolYesWhether the batch file definition is active or not.
HotlistLineAppenderIdbodyintNoThe hotlist line appender id.
BatchFileDefinitionFieldsbodyList<CustomerBatchFileDefinitionField>NoAn array of objects representing the fields of the batch file definition.
ScofflawImportProcessIdbodyintYesThe Scofflaw Batch Process Type Id.
CustomerBatchFileDefinitionField Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
BatchFileDefinitionIdformintNo
NameformstringNo
DescriptionformstringNo
LengthformintNo
QuotedformboolNo
FieldIndexformintNo
CreatedByIdformGuidNo
DateCreatedformDateTimeNo
BatchFileDefinitionFieldConvertersformList<BatchFileDefinitionFieldConverter>No
BatchFileDefinitionFieldConverter Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
ClassNameformstringNo
DescriptionformstringNo

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/UpdateCustomerBatchFileDefinition HTTP/1.1 
Host: api.paylock.com 
Content-Type: text/csv
Content-Length: length

{"customerId":"00000000000000000000000000000000","id":0,"batchTypeId":0,"batchFileTypeId":0,"batchFileLayoutTypeId":0,"name":"String","fileName":"String","folder":"String","delimiter":0,"dateCreated":"\/Date(-62135596800000-0000)\/","createdById":"00000000000000000000000000000000","isActive":false,"hotlistLineAppenderId":0,"batchFileDefinitionFields":[{"id":0,"batchFileDefinitionId":0,"name":"String","description":"String","length":0,"quoted":false,"fieldIndex":0,"createdById":"00000000000000000000000000000000","dateCreated":"\/Date(-62135596800000-0000)\/","batchFileDefinitionFieldConverters":[{"id":0,"name":"String","className":"String","description":"String"}]}],"scofflawImportProcessId":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

0