Title: API upload
Last modified: September 1, 2016

---

# API upload

 *  [keithcashseo](https://wordpress.org/support/users/keithcashseo/)
 * (@keithcashseo)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/api-upload/)
 * 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&#8221](http://www.w3.org/2001/XMLSchema-instance&#8221);
   xmlns:xsd=”[http://www.w3.org/2001/XMLSchema&#8221](http://www.w3.org/2001/XMLSchema&#8221);
   xmlns:soap=”[http://schemas.xmlsoap.org/soap/envelope/”&gt](http://schemas.xmlsoap.org/soap/envelope/”&gt);
   <soap:Body> <AddDistributorResponse xmlns=”[http://www.prodigix.com/”&gt](http://www.prodigix.com/”&gt);
   <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&#8221](http://www.prodigix.com/AddDistributor&#8221);
 * <?xml version=”1.0″ encoding=”utf-8″?>
    <soap:Envelope xmlns:xsi=”[http://www.w3.org/2001/XMLSchema-instance&#8221](http://www.w3.org/2001/XMLSchema-instance&#8221);
   xmlns:xsd=”[http://www.w3.org/2001/XMLSchema&#8221](http://www.w3.org/2001/XMLSchema&#8221);
   xmlns:soap=”[http://schemas.xmlsoap.org/soap/envelope/”&gt](http://schemas.xmlsoap.org/soap/envelope/”&gt);
   <soap:Header> <AuthHeader Domain=”[http://ultraprimesources.com&#8221](http://ultraprimesources.com&#8221);
   xmlns=”[http://www.prodigix.com/”&gt](http://www.prodigix.com/”&gt); <AuthorizationKey
   >04521c95-4e8c-42ed-90c2-6ea981fc0f11</AuthorizationKey> </AuthHeader> </soap:
   Header> <soap:Body> <AddDistributor xmlns=”[http://www.prodigix.com/”&gt](http://www.prodigix.com/”&gt);
   <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>

The topic ‘API upload’ is closed to new replies.

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [database update](https://wordpress.org/support/topic-tag/database-update/)
 * [soap](https://wordpress.org/support/topic-tag/soap/)
 * [xml](https://wordpress.org/support/topic-tag/xml/)

 * 0 replies
 * 1 participant
 * Last reply from: [keithcashseo](https://wordpress.org/support/users/keithcashseo/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/api-upload/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
