HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/ContactFullRequest HTTP/1.1
Host: vghost.bulwarkpestcontrol.com
Content-Type: text/jsv
Content-Length: length
{
Contact_Id: 0,
ActiveOnly: False,
DataObj:
[
{
Contact:
{
Id: 0,
FirstName: String,
MiddleName: String,
LastName: String,
Deleted: False
},
Emails:
[
{
Id: 0,
Email: String,
Contact_Id: 0,
EmailType_Id: 0,
Deleted: False,
ModifiedOn: "0001-01-01T00:00:00.0000000Z",
Confirmed: False,
ConfirmedOn: "0001-01-01T00:00:00.0000000Z"
}
],
Addresses:
[
{
Id: 0,
Contact_Id: 0,
Address: String,
City: String,
State_Id: 0,
Zip: String,
AddressType_Id: 0,
Deleted: False
}
],
PhoneNumbers:
[
{
Id: 0,
Contact_Id: 0,
Title: String,
PhoneNumberType_Id: 0,
Number: String,
Extension: String,
CanText: False,
CanEmail: False,
Priority: 0,
Deleted: 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
{
Contact_Id: 0,
ActiveOnly: False,
DataObj:
[
{
Contact:
{
Id: 0,
FirstName: String,
MiddleName: String,
LastName: String,
Deleted: False
},
Emails:
[
{
Id: 0,
Email: String,
Contact_Id: 0,
EmailType_Id: 0,
Deleted: False,
ModifiedOn: "0001-01-01T00:00:00.0000000Z",
Confirmed: False,
ConfirmedOn: "0001-01-01T00:00:00.0000000Z"
}
],
Addresses:
[
{
Id: 0,
Contact_Id: 0,
Address: String,
City: String,
State_Id: 0,
Zip: String,
AddressType_Id: 0,
Deleted: False
}
],
PhoneNumbers:
[
{
Id: 0,
Contact_Id: 0,
Title: String,
PhoneNumberType_Id: 0,
Number: String,
Extension: String,
CanText: False,
CanEmail: False,
Priority: 0,
Deleted: False
}
]
}
],
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
}
}