Quantcast
Channel: Topic Tag: xml | WordPress.org
Viewing all articles
Browse latest Browse all 3201

API upload

$
0
0

I need to use these two files to update API to a database.

Need to know how to run from the 2 files from wordpress 4.6

Please give simple exact instructions on how to do it.

Thank you in advance for your help.

Keith

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>
<AddDistributorResponse xmlns=”http://www.prodigix.com/”>
<AddDistributorResult>
<Success>boolean</Success>
<Message>string</Message>
</AddDistributorResult>
</AddDistributorResponse>
</soap:Body>
</soap:Envelope>
=============================
POST /ws/distributorws.asmx HTTP/1.1
Host: ultraprimesources.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: “http://www.prodigix.com/AddDistributor”

<?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:Header>
<AuthHeader Domain=”http://ultraprimesources.com” xmlns=”http://www.prodigix.com/”>
<AuthorizationKey>04521c95-4e8c-42ed-90c2-6ea981fc0f11</AuthorizationKey>
</AuthHeader>
</soap:Header>
<soap:Body>
<AddDistributor xmlns=”http://www.prodigix.com/”>
<Distributor>

<LName>TestButler</LName>

<FName>TestTiffany</FName>

<Email>testbutler@me.com</Email>

<SSN>999445555</SSN>

<HomePhone>3144793204</HomePhone>

<BillLine1>24 Test Pass Court</BillLine1>

<BillCity>St. Charles</BillCity>

<BillState>mo</BillState>

<BillPostalCode>63304</BillPostalCode>

<BillCountry>usa</BillCountry>

<ShipLine1>24 Creek Pass Court</ShipLine1>

<ShipLine2>string</ShipLine2>

<ShipCity>St. Charles</ShipCity>

<ShipState>mo</ShipState>

<ShipPostalCode>63304</ShipPostalCode>

<ShipCountry>usa</ShipCountry>

</Distributor>

<DistBusinessCenter>

<SponsorID>33</SponsorID>

</DistBusinessCenter>

<ReplicatedSite>

<DistID>TT33</DistID>

<Url>tt33</Url>

<ErrorMessage>string</ErrorMessage>
</ReplicatedSite>
<DistPreferences />
</AddDistributor>
</soap:Body>
</soap:Envelope>


Viewing all articles
Browse latest Browse all 3201

Trending Articles