The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/R_Brands HTTP/1.1
Host: regapi.pumpalarm.com
Content-Type: text/jsv
Content-Length: length
{
Ids:
[
0
],
BrandTypeIds:
[
0
],
BrandNames:
[
String
],
BrandName: String,
Names:
[
String
],
Name: String,
StartIndex: 0,
NumberOfRecords: 0,
OnlyRecordsCount: False,
SortBy: String,
DescOrder: False,
LoadCompleteInfo: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
[
{
Id: 0,
ParentBrandId: 0,
Name: String,
BrandTypeId: 0,
BrandName: String,
LogoUrl: String,
LicenseUrl: String,
ActivationUrl: String,
CompanyInfo:
{
Name: String,
Url: String,
LogoUrl: String,
Street: String,
City: String,
State: String,
Zip: String,
Phone: String,
Email: String,
CustomerSupportPhoneNumber: String,
CustomerSupportEmail: String,
CustomerSupportHours: String
},
InvoicedEmailTemplate: String,
PaymentConfirmationEmailTemplate: String,
ReceiptEmailTemplate: String,
RtuActivatedEmailTemplate: String,
RtuDeactivatedEmailTemplate: String,
CreditCardWarning1EmailTemplate: String,
CreditCardWarning2EmailTemplate: String,
CreditCardWarning3EmailTemplate: String,
CreditCardUpdateUrl: String,
PaymentFailureEmailTemplate: String,
Dunning1EmailTemplate: String,
Dunning2EmailTemplate: String,
Dunning3EmailTemplate: String,
Dunning4EmailTemplate: String,
DunningUpdateUrl: String,
RefundEmailTemplate: String,
TransferUnitEmailTemplate: String,
ResetCustomerPasswordEmailTemplate: String,
TotalNumberOfRecords: 0
}
]