Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- Pickup Availability Request -->
- <?xml version="1.0" encoding="UTF-8"?>
- <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://fedex.com/ws/pickup/v3">
- <SOAP-ENV:Body>
- <ns1:PickupAvailabilityRequest>
- <ns1:WebAuthenticationDetail>
- <ns1:UserCredential>
- <ns1:Key>...</ns1:Key>
- <ns1:Password>...</ns1:Password>
- </ns1:UserCredential>
- </ns1:WebAuthenticationDetail>
- <ns1:ClientDetail>
- <ns1:AccountNumber>...</ns1:AccountNumber>
- <ns1:MeterNumber>...</ns1:MeterNumber>
- </ns1:ClientDetail>
- <ns1:TransactionDetail>
- <ns1:CustomerTransactionId>*** Pickup Availability Request v3 using PHP ***</ns1:CustomerTransactionId>
- </ns1:TransactionDetail>
- <ns1:Version>
- <ns1:ServiceId>disp</ns1:ServiceId>
- <ns1:Major>3</ns1:Major>
- <ns1:Intermediate>0</ns1:Intermediate>
- <ns1:Minor>0</ns1:Minor>
- </ns1:Version>
- <ns1:PickupAddress>
- <ns1:StreetLines>...</ns1:StreetLines>
- <ns1:City>...</ns1:City>
- <ns1:StateOrProvinceCode>CA</ns1:StateOrProvinceCode>
- <ns1:PostalCode>90247</ns1:PostalCode>
- <ns1:CountryCode>US</ns1:CountryCode>
- </ns1:PickupAddress>
- <ns1:PickupRequestType>SAME_DAY</ns1:PickupRequestType>
- <ns1:DispatchDate>2013-04-02</ns1:DispatchDate>
- <ns1:PackageReadyTime>13:00:00</ns1:PackageReadyTime>
- <ns1:CustomerCloseTime>20:00:00</ns1:CustomerCloseTime>
- <ns1:Carriers>FDXG</ns1:Carriers>
- <ns1:ShipmentAttributes>
- <ns1:Dimensions>
- <ns1:Length>150</ns1:Length>
- <ns1:Width>150</ns1:Width>
- <ns1:Height>150</ns1:Height>
- <ns1:Units>CM</ns1:Units>
- </ns1:Dimensions>
- <ns1:Weight>
- <ns1:Units>LB</ns1:Units>
- <ns1:Value>90</ns1:Value>
- </ns1:Weight>
- </ns1:ShipmentAttributes>
- </ns1:PickupAvailabilityRequest>
- </SOAP-ENV:Body>
- </SOAP-ENV:Envelope>
- <!-- Pickup Availability response -->
- <?xml version="1.0" encoding="UTF-8"?>
- <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
- <env:Header xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
- <soapenv:Body>
- <v3:PickupAvailabilityReply xmlns:v3="http://fedex.com/ws/pickup/v3">
- <v3:HighestSeverity xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">SUCCESS</v3:HighestSeverity>
- <v3:Notifications xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <v3:Severity>SUCCESS</v3:Severity>
- <v3:Source>disp</v3:Source>
- <v3:Code>0000</v3:Code>
- <v3:Message>Success</v3:Message>
- <v3:LocalizedMessage>Success</v3:LocalizedMessage>
- </v3:Notifications>
- <ns1:TransactionDetail xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://fedex.com/ws/pickup/v3">
- <ns1:CustomerTransactionId>*** Pickup Availability Request v3 using PHP ***</ns1:CustomerTransactionId>
- </ns1:TransactionDetail>
- <ns1:Version xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://fedex.com/ws/pickup/v3">
- <ns1:ServiceId>disp</ns1:ServiceId>
- <ns1:Major>3</ns1:Major>
- <ns1:Intermediate>0</ns1:Intermediate>
- <ns1:Minor>0</ns1:Minor>
- </ns1:Version>
- <v3:RequestTimestamp xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">2013-03-26T11:58:37</v3:RequestTimestamp>
- <v3:Options xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <v3:Carrier>FDXG</v3:Carrier>
- <v3:ScheduleDay>SAME_DAY</v3:ScheduleDay>
- <v3:Available>true</v3:Available>
- <v3:PickupDate>2013-04-02</v3:PickupDate>
- <v3:CutOffTime>16:00:00</v3:CutOffTime>
- <v3:AccessTime>PT2H0M</v3:AccessTime>
- <v3:ResidentialAvailable>true</v3:ResidentialAvailable>
- </v3:Options>
- <v3:Options xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <v3:Carrier>FDXG</v3:Carrier>
- <v3:ScheduleDay>SAME_DAY</v3:ScheduleDay>
- <v3:Available>true</v3:Available>
- <v3:PickupDate>2013-04-03</v3:PickupDate>
- <v3:CutOffTime>16:00:00</v3:CutOffTime>
- <v3:AccessTime>PT2H0M</v3:AccessTime>
- <v3:ResidentialAvailable>true</v3:ResidentialAvailable>
- </v3:Options>
- <v3:Options xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <v3:Carrier>FDXG</v3:Carrier>
- <v3:ScheduleDay>SAME_DAY</v3:ScheduleDay>
- <v3:Available>true</v3:Available>
- <v3:PickupDate>2013-04-04</v3:PickupDate>
- <v3:CutOffTime>16:00:00</v3:CutOffTime>
- <v3:AccessTime>PT2H0M</v3:AccessTime>
- <v3:ResidentialAvailable>true</v3:ResidentialAvailable>
- </v3:Options>
- </v3:PickupAvailabilityReply>
- </soapenv:Body>
- </soapenv:Envelope>
- <!-- Pickup Request -->
- <?xml version="1.0" encoding="UTF-8"?>
- <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://fedex.com/ws/pickup/v3">
- <SOAP-ENV:Body>
- <ns1:CreatePickupRequest>
- <ns1:WebAuthenticationDetail>
- <ns1:UserCredential>
- <ns1:Key>...</ns1:Key>
- <ns1:Password>...</ns1:Password>
- </ns1:UserCredential>
- </ns1:WebAuthenticationDetail>
- <ns1:ClientDetail>
- <ns1:AccountNumber>...</ns1:AccountNumber>
- <ns1:MeterNumber>...</ns1:MeterNumber>
- </ns1:ClientDetail>
- <ns1:TransactionDetail>
- <ns1:CustomerTransactionId>*** Create Pickup Request v3 using PHP ***</ns1:CustomerTransactionId>
- </ns1:TransactionDetail>
- <ns1:Version>
- <ns1:ServiceId>disp</ns1:ServiceId>
- <ns1:Major>3</ns1:Major>
- <ns1:Intermediate>0</ns1:Intermediate>
- <ns1:Minor>0</ns1:Minor>
- </ns1:Version>
- <ns1:OriginDetail>
- <ns1:UseAccountAddress>true</ns1:UseAccountAddress>
- <ns1:PickupLocation>
- <ns1:Contact>
- <ns1:PersonName>...</ns1:PersonName>
- <ns1:CompanyName>...</ns1:CompanyName>
- <ns1:PhoneNumber>...</ns1:PhoneNumber>
- </ns1:Contact>
- <ns1:Address>
- <ns1:StreetLines>...</ns1:StreetLines>
- <ns1:City>...</ns1:City>
- <ns1:StateOrProvinceCode>CA</ns1:StateOrProvinceCode>
- <ns1:PostalCode>90247</ns1:PostalCode>
- <ns1:CountryCode>US</ns1:CountryCode>
- </ns1:Address>
- </ns1:PickupLocation>
- <ns1:PackageLocation>FRONT</ns1:PackageLocation>
- <ns1:BuildingPartDescription>3B</ns1:BuildingPartDescription>
- <ns1:ReadyTimestamp>2013-04-02T13:00:00</ns1:ReadyTimestamp>
- <ns1:CompanyCloseTime>20:00:00</ns1:CompanyCloseTime>
- </ns1:OriginDetail>
- <ns1:PackageCount>2</ns1:PackageCount>
- <ns1:TotalWeight>
- <ns1:Units>LB</ns1:Units>
- <ns1:Value>90</ns1:Value>
- </ns1:TotalWeight>
- <ns1:CarrierCode>FDXG</ns1:CarrierCode>
- </ns1:CreatePickupRequest>
- </SOAP-ENV:Body>
- </SOAP-ENV:Envelope>
- <!-- Pickup Response -->
- <?xml version="1.0" encoding="UTF-8"?>
- <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
- <env:Header xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
- <soapenv:Body>
- <v3:CreatePickupReply xmlns:v3="http://fedex.com/ws/pickup/v3">
- <v3:HighestSeverity xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">ERROR</v3:HighestSeverity>
- <v3:Notifications xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <v3:Severity>ERROR</v3:Severity>
- <v3:Source>disp</v3:Source>
- <v3:Code>5044</v3:Code>
- <v3:Message>Ready Time after Cutoff Time</v3:Message>
- <v3:LocalizedMessage>Ready Time after Cutoff Time</v3:LocalizedMessage>
- </v3:Notifications>
- <ns1:TransactionDetail xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://fedex.com/ws/pickup/v3">
- <ns1:CustomerTransactionId>*** Create Pickup Request v3 using PHP ***</ns1:CustomerTransactionId>
- </ns1:TransactionDetail>
- <ns1:Version xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://fedex.com/ws/pickup/v3">
- <ns1:ServiceId>disp</ns1:ServiceId>
- <ns1:Major>3</ns1:Major>
- <ns1:Intermediate>0</ns1:Intermediate>
- <ns1:Minor>0</ns1:Minor>
- </ns1:Version>
- </v3:CreatePickupReply>
- </soapenv:Body>
- </soapenv:Envelope>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement