BootView WebApi

<back to all web services

CreateCustomerPartner

The following routes are available for this service:
POST/customers/{customerId}/partners/{partnerId}Creates a new partner for this customer.The combination of customer id and partner id uniquely identifies this partner.
CreateCustomerPartner Parameters:
NameParameterData TypeRequiredDescription
CustomerIdpathGuidYesThe Customer Id.
PartnerIdpathGuidYesThe Partner Id.
PartnerMunicipalityCodebodystringYesThe Municipality Code of the Partner.
IsRealTimeBillsbodyboolYesWhether the Partner uses real time bills.
IsRealTimeBootsbodyboolYesWhether the Partner uses real time boots.
ConnectionProfilebodystringNoThe connection profile of the Partner.
dbprefixbodystringNoThe prefix in the database for the Partner.
IsRealTimePaymentsbodyboolYesWhether the Partner receives real time payments.
LoadBootEligibleTicketsOnlybodyboolYesWhether the Partner loads boot eligible tickets only.
IsRealTimeReleasesbodyboolNoWhether the Partner uses real time releases.
IsRealTimeTowsbodyboolNoWhether the Partner uses real time towing.
IsRealTimeNoticesbodyboolNoWhether the Partner uses real time notices.
IsRealTimeAddressUpdatebodyboolNoWhether the Partner uses real time address updates.
IsRealTimeTowDispatchbodyboolNoWhether the Partner uses real time tow dispatch.
IsRealTimeBootReturnsbodyboolNoWhether the Partner uses real time boot returns.
IsRealTimePaymentPlanbodyboolNoWhether the Partner uses real time payment plan.
CanCreateBillsForFeesbodyboolYesWhether the Partner can create bills for fees.
PartnerServicesbodyList<CustomerPartnerService>NoAn array of objects representing the services of the partner.
CustomerPartnerService Parameters:
NameParameterData TypeRequiredDescription
IdformGuidNo
PartnerIdformGuid?No
CustomerIdformGuid?No
ServiceNameformstringNo
UserIdformstringNo
PasswordformstringNo

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}/partners/{partnerId} HTTP/1.1 
Host: api.paylock.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	partnerMunicipalityCode: String,
	isRealTimeBills: False,
	isRealTimeBoots: False,
	connectionProfile: String,
	dbprefix: String,
	isRealTimePayments: False,
	loadBootEligibleTicketsOnly: False,
	isRealTimeReleases: False,
	isRealTimeTows: False,
	isRealTimeNotices: False,
	isRealTimeAddressUpdate: False,
	isRealTimeTowDispatch: False,
	isRealTimeBootReturns: False,
	isRealTimePaymentPlan: False,
	canCreateBillsForFees: False,
	partnerServices: 
	[
		{
			partnerId: 00000000000000000000000000000000,
			customerId: 00000000000000000000000000000000,
			serviceName: String,
			userId: String,
			password: String
		}
	]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

00000000-0000-0000-0000-000000000000