How to make API calls to return items?

  • akacfa_test

    22 messages

    Belgique

    Hello,

    We need some help to use the REST API. We have our items listed under "akacfa" account.
    We have requested an API key and got 2 keys and 2 additional users (akacfa_dev, akacfa_test).
    So now we have 3 accounts with 2 API keys.

    We have managed to download the Delcampe categories without any problem using either of the keys.
    But we are unable to retrieve the items of the "akacfa" user.
    I think that we are trying to get the items from the "akacfa_dev" or from the "akacfa_test" and of course they do not have any item.
    How can we access to the items of the "akacfa" account?
    Should we connect somhow the accounts and keys?

    For example:
    Lien (http)

    Result:
    <Delcampe_Notification>
    <Notification_Token/>
    <Notification_Datetime>2019-01-06 21:41:21</Notification_Datetime>
    <Notification_Data>
    <Headers>
    <Ressource>item-fixedprice-opened</Ressource>
    <Action>GET</Action>
    <Status>200</Status>
    </Headers>
    <body>
    </body>
    </Notification_Data>
    </Delcampe_Notification>

    Thank you for your help,
    Gergely
  • Compte supprimé
    Administrateur
    Compte supprimé

    0 message

    Belgique

    Les informations ne sont plus disponibles car le compte de cet utilisateur est supprimé (Règlement RGPD)
  • akacfa_test

    22 messages

    Belgique

    Dear Benjamin,

    Thank you your reply!
    Basically I use the same PHP code / classes in my side to get the categories and the items also.
    Because I get HTTP code 200 with empty body after calling the "rest.delcampe.net/item/fixedprice/opened" URI
    can you help me to check your side what is happening?

    For example I made calls using
    "rest.delcampe.net/item/fixedprice/opened?token=b9cb7ac74a7d7dc832a08a6dec9435e5" URI.
    at 2019-01-13 20:45:25, 2019-01-13 20:46:43, 2019-01-13 20:52:28
    This are the times from the response header "<Notification_Datetime>".
    The token is not valid already when I post this message.

    Anyway if it helps, please send me a contact email to my registered email address where I can post our code.

    Thank you and best regards,
    Gergely
  • Compte supprimé
    Administrateur
    Compte supprimé

    0 message

    Belgique

    Les informations ne sont plus disponibles car le compte de cet utilisateur est supprimé (Règlement RGPD)
  • akacfa_test

    22 messages

    Belgique

    Dear Benjamin,

    Thank you!
    It works now. :)

    Best regards,
    Gergely

Rejoignez la communauté des collectionneurs !

S'inscrire Se connecter