API v1 Reference

Remove Catalog

Deletes a catalog.

REST

Request

https://api.neoncrm.com/neonws/services/api/store/removeCatalog?userSessionId=[session id]&catalogId=29

Response

{
    "RemoveCatalogResponse": {
        "operationResult": "SUCCESS",
        "responseMessage": "Catalog removed",
        "responseDateTime": "2013-02-17T17:08:06.194-06:00"
    }
}

SOAP

Request

<soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:neon="http://www.z2systems.com/schemas/neonws/">
   <soapenv:header>
       <soapenv:body>
          <neon:removecatalogrequest>
            <usersessionid>T1361787273065</usersessionid>
            <catalogid>32</catalogid>
          </neon:removecatalogrequest>
       </soapenv:body>
    </soapenv:header>
</soapenv:envelope>

Response

<soap:envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:body>
      <ns2:removecatalogresponse xmlns:ns2="http://www.z2systems.com/schemas/neonws/">
         <operationresult>SUCCESS</operationresult>
         <responsemessage>Catalog removed</responsemessage>
         <responsedatetime>2013-02-25T04:19:30.660-06:00</responsedatetime>
      </ns2:removecatalogresponse>
   </soap:body>
</soap:envelope>

Request Parameters

Name Required Description
catalogId Yes Catalog ID

Error Codes

Code Text Description
12002 Catalog id is required.
12003 Catalog id is invalid.