HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/BusinessCardAdminRequest HTTP/1.1
Host: api2.exactmedicare.com
Content-Type: text/jsv
Content-Length: length
{
BusinessCard:
[
{
CardId: 0,
AgentId: 0,
NumRows: 0,
Name: String,
Title: String,
Phone: String,
Fax: String,
Cell: String,
Email: String,
Address: String,
License: String,
SubmittedDate: 0001-01-01,
OrderedDate: 0001-01-01,
ProofApprovedDate: 0001-01-01,
AdminApproved: String,
AdminApprovedDate: 0001-01-01,
Quantity: 0,
Notes: String,
ShippingAddressId: 0,
BusinessCardFrontTypeId: 0,
BusinessCardBackTypeId: 0,
ArtURL: String,
OrderedURL: String,
OrderedAddress:
{
ID: 0,
AddressTypeID: 0,
AddressContact: String,
AttentionTo: String,
AddressLine1: String,
AddressLine2: String,
AddressLine3: String,
AddressCity: String,
AddressState: String,
AddressZip: String,
AddressCountry: String,
PhoneNumber: String,
FaxNumber: String,
UID: 00000000000000000000000000000000,
Name: String
},
OrderedUser: String
}
]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
},
BusinessCard:
[
{
CardId: 0,
AgentId: 0,
NumRows: 0,
Name: String,
Title: String,
Phone: String,
Fax: String,
Cell: String,
Email: String,
Address: String,
License: String,
SubmittedDate: 0001-01-01,
OrderedDate: 0001-01-01,
ProofApprovedDate: 0001-01-01,
AdminApproved: String,
AdminApprovedDate: 0001-01-01,
Quantity: 0,
Notes: String,
ShippingAddressId: 0,
BusinessCardFrontTypeId: 0,
BusinessCardBackTypeId: 0,
ArtURL: String,
OrderedURL: String,
OrderedAddress:
{
ID: 0,
AddressTypeID: 0,
AddressContact: String,
AttentionTo: String,
AddressLine1: String,
AddressLine2: String,
AddressLine3: String,
AddressCity: String,
AddressState: String,
AddressZip: String,
AddressCountry: String,
PhoneNumber: String,
FaxNumber: String,
UID: 00000000000000000000000000000000,
Name: String
},
OrderedUser: String
}
]
}