CollectionTimes (V2)

This function allows you to get the available collection dates for a quote you have already requested.

Input Fields

Field Name Required? Description Example
ShipAction YES This tells our system which function you require CollectionTimes
Username YES You must specify your username testuser
APIKey YES This is available from your P4D account page HJ1E6DOTRDXAOL4LWBB
QuoteID YES This must be a valid QuoteID returned by GetQuote 7t12X7WEK3BY2D
ItemID YES This must be a valid OptionID returned by GetQuote CITYLINK_NEXT

Example Output

stdClass Object
(
    [ShipAction] => CollectionTimes
    [Status] => Success
    [RequestDate] => 2012-12-17 18:00:44
    [Username] => testuser
    [CollectionTimes] => Array
        (
            [0] => stdClass Object
                (
                    [date] => 2012-12-18
                    [cutoff] => If you book before 11pm on Monday
                )

            [1] => stdClass Object
                (
                    [date] => 2012-12-19
                    [cutoff] => If you book before 11pm on Tuesday
                )

            [2] => stdClass Object
                (
                    [date] => 2012-12-20
                    [cutoff] => If you book before 11pm on Wednesday
                )

            [3] => stdClass Object
                (
                    [date] => 2012-12-21
                    [cutoff] => If you book before 11pm on Thursday
                )

            [4] => stdClass Object
                (
                    [date] => 2012-12-27
                    [cutoff] => If you book before 11pm on Wednesday
                )

        )

)