wagefiler
Click here for a complete list of operations.
GetUnconfirmedBatchCost
The GetUnconfirmedBatchCost API retrieves the cost of a one or more batches that have not been confirmed yet
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /WageFilerWS/WageFiler.asmx HTTP/1.1
Host: www.wagefiler.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://localhost/WageFiler/WageFiler/GetUnconfirmedBatchCost"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetUnconfirmedBatchCost xmlns="http://localhost/WageFiler/WageFiler/">
<request>
<UserID>string</UserID>
<Password>string</Password>
<BatchOIDs>
<string>string</string>
<string>string</string>
</BatchOIDs>
<PrepaidCodes>
<string>string</string>
<string>string</string>
</PrepaidCodes>
<PromoCode>string</PromoCode>
<ExcludeSalesTax>boolean</ExcludeSalesTax>
</request>
</GetUnconfirmedBatchCost>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetUnconfirmedBatchCostResponse xmlns="http://localhost/WageFiler/WageFiler/">
<GetUnconfirmedBatchCostResult>
<ErrorCode>int</ErrorCode>
<ErrorDetail>string</ErrorDetail>
<TotalCost>string</TotalCost>
<InvoiceDetailForBatches>
<BatchInvoiceDetail>
<BatchOID>string</BatchOID>
<Cost>string</Cost>
<InvServices xsi:nil="true" />
</BatchInvoiceDetail>
<BatchInvoiceDetail>
<BatchOID>string</BatchOID>
<Cost>string</Cost>
<InvServices xsi:nil="true" />
</BatchInvoiceDetail>
</InvoiceDetailForBatches>
<PrepaidCodeUsage>
<PrepaidUsage>
<Code>string</Code>
<Used>decimal</Used>
<Remaining>decimal</Remaining>
<Unlimited>boolean</Unlimited>
</PrepaidUsage>
<PrepaidUsage>
<Code>string</Code>
<Used>decimal</Used>
<Remaining>decimal</Remaining>
<Unlimited>boolean</Unlimited>
</PrepaidUsage>
</PrepaidCodeUsage>
<PromoCodeUsage>decimal</PromoCodeUsage>
<ExpectedCost>string</ExpectedCost>
<ExpectedCharge>string</ExpectedCharge>
</GetUnconfirmedBatchCostResult>
</GetUnconfirmedBatchCostResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /WageFilerWS/WageFiler.asmx HTTP/1.1
Host: www.wagefiler.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetUnconfirmedBatchCost xmlns="http://localhost/WageFiler/WageFiler/">
<request>
<UserID>string</UserID>
<Password>string</Password>
<BatchOIDs>
<string>string</string>
<string>string</string>
</BatchOIDs>
<PrepaidCodes>
<string>string</string>
<string>string</string>
</PrepaidCodes>
<PromoCode>string</PromoCode>
<ExcludeSalesTax>boolean</ExcludeSalesTax>
</request>
</GetUnconfirmedBatchCost>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetUnconfirmedBatchCostResponse xmlns="http://localhost/WageFiler/WageFiler/">
<GetUnconfirmedBatchCostResult>
<ErrorCode>int</ErrorCode>
<ErrorDetail>string</ErrorDetail>
<TotalCost>string</TotalCost>
<InvoiceDetailForBatches>
<BatchInvoiceDetail>
<BatchOID>string</BatchOID>
<Cost>string</Cost>
<InvServices xsi:nil="true" />
</BatchInvoiceDetail>
<BatchInvoiceDetail>
<BatchOID>string</BatchOID>
<Cost>string</Cost>
<InvServices xsi:nil="true" />
</BatchInvoiceDetail>
</InvoiceDetailForBatches>
<PrepaidCodeUsage>
<PrepaidUsage>
<Code>string</Code>
<Used>decimal</Used>
<Remaining>decimal</Remaining>
<Unlimited>boolean</Unlimited>
</PrepaidUsage>
<PrepaidUsage>
<Code>string</Code>
<Used>decimal</Used>
<Remaining>decimal</Remaining>
<Unlimited>boolean</Unlimited>
</PrepaidUsage>
</PrepaidCodeUsage>
<PromoCodeUsage>decimal</PromoCodeUsage>
<ExpectedCost>string</ExpectedCost>
<ExpectedCharge>string</ExpectedCharge>
</GetUnconfirmedBatchCostResult>
</GetUnconfirmedBatchCostResponse>
</soap12:Body>
</soap12:Envelope>