Results 1 to 3 of 3

Thread: Set setredirecturl for the park domain using Cpanel & WHM API 2

  1. #1
    Registered User
    Join Date
    Oct 2012
    Posts
    3
    cPanel Access Level

    Website Owner

    Question Set setredirecturl for the park domain using Cpanel & WHM API 2

    Hey Hi All,

    Please help us to "Set setredirecturl for the park domain using Cpanel & WHM API 2".
    Thanks

    Regards,
    Developers

  2. #2
    Integration Developer cPanelDavidN's Avatar
    Join Date
    Dec 2009
    Location
    Houston, TX
    Posts
    570

    Default Re: Set setredirecturl for the park domain using Cpanel & WHM API 2

    Hi B2Dev,

    API2 does not provide the setredirecturl functions. It is only available as an API1 call (documented here: Park Module Documentation).

    FWIW: API1 is not the predecesor to API2. It is true that many API1 functions have an analogous API2 function. However, because they are different APIs it cannot be assumed that there will always be such parity. Related information can be found in a blog article, Introduction to cPanel & WHM APIs | cPanel Blog

    Regards,
    -DavidN
    David Neimeyer
    Integration Developer

    sdk.cpanel.net
    APIs: XML-API API1 & API2
    Check Out: Developer Downloads Integration Blog
    Need Support? Support Ticket Developer Forum Feature Requests

  3. #3
    Registered User
    Join Date
    Oct 2012
    Posts
    3
    cPanel Access Level

    Website Owner

    Default Re: Set setredirecturl for the park domain using Cpanel & WHM API 2

    Hi DavidN,

    We have tried API1 call for setredirecturl functions, but we did not succeeded. We have got following response.
    ----- starts-------
    Array
    (
    [apiversion] => 1
    [type] => event
    [module] => Park
    [func] => setredirecturl
    [source] => module
    [data] => Array
    (
    [result] => nowhere (Redirection Disabled!)

    )

    [event] => Array
    (
    [result] => 1
    )

    )
    ------ ends-------

Similar Threads

  1. Replies: 5
    Last Post: 04-11-2014, 11:15 AM
  2. Replies: 5
    Last Post: 09-09-2011, 12:24 PM
  3. Bulk Domain Park API?
    By cpisites in forum cPanel Developers
    Replies: 1
    Last Post: 05-23-2010, 07:03 AM
  4. Parked domains set to unlimited, but can't park a domain
    By MediaServe in forum General Discussion
    Replies: 5
    Last Post: 03-08-2007, 12:24 PM
bargain