CheckCardStatus
This method will check and return the current status of a card. This method accepts an object of type InstallCardRequest and sends back the object with the updated information in it.
Required Input Parameters
Field | Data Type | Required | Description |
Security Code | GUID | Yes | Assigned by InstallerNet |
ProgramID | INT | Yes | Assigned by InstallerNet |
InstallCardID | VarChar(14) | Yes |
|
Output Parameters
Field | Data Type | Description |
Security Code | GUID | Assigned by InstallerNet |
ProgramID | INT | Assigned by InstallerNet |
TransactionID | VarChar(14) | Client Transaction number |
Customer Information | Class |
|
CustInfo.FirstName | VARCHAR(50) |
|
CustInfo.LastName | VARCHAR(50) |
|
CustInfo.Address | VARCHAR(50) | Shipping address |
CustInfo.Address2 | VARCHAR(50) | Shipping address 2 |
CustInfo.City | VARCHAR(50) | Shipping City |
CustInfo.State | CHAR(2) | Shipping State |
CustInfo.ZipCode | VARCHAR(10) | Shipping Zip Code |
CustInfo.Country | VARCHAR(5) | Shipping Country - USA or CAN |
CustInfo.Phone | VARCHAR(12) | Shipping phone |
CustInfo.AltPhone | VARCHAR(12) | Shipping alternate phone |
CustInfo.Email | VARCHAR(50) | Required if Delivery Method is electronic |
PurchaseDate | DateTime |
|
CardModel | VarChar(20) | InstallerNet's card model number |
ShippingMethod | VarChar(50) | Shipping method if delivery is phyiscal |
DeliveryMethod | CHAR(1) | "E" = Electronic |
ReceiptNumber | VarChar(50) |
|
Cost | MONEY | Client cost for card |
LineItem | INT | Line item on the customer's invoice |
ClientProductNumber | VarChar(50) | Client's product number |
InstallCardID | Varchar(14) | InstallCard number |
Errors | Class | If no errors were encountered, the class will include one message with error code of 0. |
Error.Code | INT | Code that describes the error that occurred during processing |
Error.Message | VARCHAR(100) | Message that corresponds to the code returned |
CardStatus | VARCHAR(10) | Assigned, Open, Closed, or Completed. |