HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/ServiceTestRequest HTTP/1.1
Host: vghost.bulwarkpestcontrol.com
Content-Type: text/jsv
Content-Length: length
{
Id: 0,
DataObj:
[
{
Id: 0,
Customer_Id: 0,
ServiceType_Id: 0,
Finish: "0001-01-01T00:00:00.0000000Z",
Billing: String,
Method: String,
Account_Id: 0,
IsCharge: 0,
Charge: 0,
PaymentAmount: 0,
UseISDiscount: False,
Discount: 0,
ZeroBill: False,
SoldBy_Id: 0,
ConfirmedBy_Id: 0,
Confirmee: String,
ReferredBy_Id: 0,
PayScale: 0,
SaleType_Id: 0,
SaleSubType_Id: 0,
ISPayout: 0,
MinimumTargetOverride: 0,
ContractValue: 0,
CommissionMax: 0,
CommissionDue: 0,
CommissionPaid: 0,
Active: False,
PriceIncrease: 0,
Linked: False,
ReferredBy: String,
StartTime2: String,
EndTime2: String,
WelcomedBy_Id: 0,
IS7TP: False,
StandardTargetOverride: 0,
ChargebackDaysOverride: 0,
ChargebackTerminationOverride: False,
ModifiedOn: "0001-01-01T00:00:00.0000000Z",
IS5TP: False,
Prorated: False
}
],
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Id: 0,
DataObj:
[
{
Id: 0,
Customer_Id: 0,
ServiceType_Id: 0,
Finish: "0001-01-01T00:00:00.0000000Z",
Billing: String,
Method: String,
Account_Id: 0,
IsCharge: 0,
Charge: 0,
PaymentAmount: 0,
UseISDiscount: False,
Discount: 0,
ZeroBill: False,
SoldBy_Id: 0,
ConfirmedBy_Id: 0,
Confirmee: String,
ReferredBy_Id: 0,
PayScale: 0,
SaleType_Id: 0,
SaleSubType_Id: 0,
ISPayout: 0,
MinimumTargetOverride: 0,
ContractValue: 0,
CommissionMax: 0,
CommissionDue: 0,
CommissionPaid: 0,
Active: False,
PriceIncrease: 0,
Linked: False,
ReferredBy: String,
StartTime2: String,
EndTime2: String,
WelcomedBy_Id: 0,
IS7TP: False,
StandardTargetOverride: 0,
ChargebackDaysOverride: 0,
ChargebackTerminationOverride: False,
ModifiedOn: "0001-01-01T00:00:00.0000000Z",
IS5TP: False,
Prorated: False
}
],
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
}
}