GET | /customers/{customerId}/bootlateststatus | Gets a list of the given customer's boots with the latest status of each boot. Only returns the list if this user has access to this customer. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CustomerId | path | Guid | Yes | The customer id |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /customers/{customerId}/bootlateststatus HTTP/1.1 Host: api.paylock.com Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ArrayOfBoot_Latest_Status xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PayLock.BootView.Pocos"> <Boot_Latest_Status> <_x003C_Boot_History_Id_x003E_k__BackingField>00000000-0000-0000-0000-000000000000</_x003C_Boot_History_Id_x003E_k__BackingField> <_x003C_Boot_Id_x003E_k__BackingField>00000000-0000-0000-0000-000000000000</_x003C_Boot_Id_x003E_k__BackingField> <_x003C_Boot_Location_Date_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_Boot_Location_Date_x003E_k__BackingField> <_x003C_Boot_Location_x003E_k__BackingField>00000000-0000-0000-0000-000000000000</_x003C_Boot_Location_x003E_k__BackingField> <_x003C_Boot_Revision_Id_x003E_k__BackingField>00000000-0000-0000-0000-000000000000</_x003C_Boot_Revision_Id_x003E_k__BackingField> <_x003C_Boot_Serial_Number_x003E_k__BackingField>String</_x003C_Boot_Serial_Number_x003E_k__BackingField> <_x003C_Boot_Status_Id_x003E_k__BackingField>0</_x003C_Boot_Status_Id_x003E_k__BackingField> <_x003C_Boot_Unlock_Code_1_x003E_k__BackingField>String</_x003C_Boot_Unlock_Code_1_x003E_k__BackingField> <_x003C_Boot_Unlock_Code_2_x003E_k__BackingField>String</_x003C_Boot_Unlock_Code_2_x003E_k__BackingField> <_x003C_Boot_Unlock_Code_3_x003E_k__BackingField>String</_x003C_Boot_Unlock_Code_3_x003E_k__BackingField> <_x003C_Boot_Unlock_Code_4_x003E_k__BackingField>String</_x003C_Boot_Unlock_Code_4_x003E_k__BackingField> <_x003C_Boot_Version_Id_x003E_k__BackingField>00000000-0000-0000-0000-000000000000</_x003C_Boot_Version_Id_x003E_k__BackingField> <_x003C_Customer_Id_x003E_k__BackingField>00000000-0000-0000-0000-000000000000</_x003C_Customer_Id_x003E_k__BackingField> <_x003C_Damaged_x003E_k__BackingField>false</_x003C_Damaged_x003E_k__BackingField> <_x003C_Date_Created_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_Date_Created_x003E_k__BackingField> <_x003C_Date_Last_Code_Reset_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_Date_Last_Code_Reset_x003E_k__BackingField> <_x003C_Firmware_Version_Id_x003E_k__BackingField>00000000-0000-0000-0000-000000000000</_x003C_Firmware_Version_Id_x003E_k__BackingField> <_x003C_Is_Active_x003E_k__BackingField>false</_x003C_Is_Active_x003E_k__BackingField> <_x003C_Last_Status_Change_Date_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_Last_Status_Change_Date_x003E_k__BackingField> <_x003C_Last_Used_Code_x003E_k__BackingField>0</_x003C_Last_Used_Code_x003E_k__BackingField> <_x003C_Lot_Num_x003E_k__BackingField>0</_x003C_Lot_Num_x003E_k__BackingField> <_x003C_Sub_Customer_x003E_k__BackingField>String</_x003C_Sub_Customer_x003E_k__BackingField> <_x003C_boot_boot_record_id_x003E_k__BackingField>00000000-0000-0000-0000-000000000000</_x003C_boot_boot_record_id_x003E_k__BackingField> <_x003C_boot_status_date_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_boot_status_date_x003E_k__BackingField> <_x003C_boot_status_label_x003E_k__BackingField>String</_x003C_boot_status_label_x003E_k__BackingField> <_x003C_boot_status_note_x003E_k__BackingField>String</_x003C_boot_status_note_x003E_k__BackingField> </Boot_Latest_Status> </ArrayOfBoot_Latest_Status>