BootView WebApi

<back to all web services

CreateTowRecord

The following routes are available for this service:
POST/towrecordsCreates a new Tow Record.
CreateTowRecord Parameters:
NameParameterData TypeRequiredDescription
CustomerIdbodyGuidYesThe Customer Id.
BootIdbodyGuidNoThe Boot Record Id.
AttemptIdbodyGuidNoThe Collection Attempt Id.
LicenseTagbodystringYesThe License Tag.
ColorbodystringYesThe vehicle color.
MakeModelbodystringYesThe vehicle make/model.
LicenseStatebodystringYesThe License State.
PlateTypebodystringNoThe Plate Type.
TowedDatebodystringNoThe Towed Date.
TowedTimebodystringNoThe TowedTime.
AttemptTypebodyintNoThe Collection Record Attempt Type
LocationbodystringYesThe Boot Record Id.
TowCompanyIdbodyGuidYesThe Tow Company Id.
OfficerIdbodyGuidYesThe Officer Id.
ParkingAreaIdbodyGuidYesThe Parking Area Id.
BootReturnLocationbodyGuidNoThe Boot Record Id.
BootReturnNotebodystringNoThe Boot Return Note.
BootReturnStatusbodyintNoThe Boot Return Status.
IsBootDamagedbodyboolNoWhether the boot is damaged.
BootDamageNotebodystringNoThe Boot Damage Note.
BootDamageTypesbodyList<BootDamageType>NoThe damage types that apply to the boot.
DamageType Parameters:
NameParameterData TypeRequiredDescription
DamageTypeIdformintNo
DamageTypeNameformstringNo
CreateTowRecordResult Parameters:
NameParameterData TypeRequiredDescription
CollectionAttemptIdformGuidNo

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /towrecords HTTP/1.1 
Host: api.paylock.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"customerId":"00000000000000000000000000000000","bootId":"00000000000000000000000000000000","attemptId":"00000000000000000000000000000000","licenseTag":"String","color":"String","makeModel":"String","licenseState":"String","plateType":"String","towedDate":"\/Date(-62135596800000-0000)\/","towedTime":"\/Date(-62135596800000-0000)\/","attemptType":0,"location":"String","towCompanyId":"00000000000000000000000000000000","officerId":"00000000000000000000000000000000","parkingAreaId":"00000000000000000000000000000000","bootReturnLocation":"00000000000000000000000000000000","bootReturnNote":"String","bootReturnStatus":0,"isBootDamaged":false,"bootDamageNote":"String","bootDamageTypes":[{"damageTypeId":0,"damageTypeName":"String"}]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"collectionAttemptId":"00000000000000000000000000000000"}