"statusCode": 404, "message": "Resource not found"

Hi, I am trying to invoke an action using the API through an URL from Xendit, this is the test payload:

{
    "data": {
        "id": "ewc_95d47d3a-db03-4b4b-9b6c-71077157cbc8",
        "basket": null,
        "status": "SUCCEEDED",
        "actions": {
            "mobile_web_checkout_url": "",
            "desktop_web_checkout_url": "",
            "mobile_deeplink_checkout_url": "https://wsa.uat.wallet.airpay.co.id/universal-link/wallet/pay?deep_and_deferred=1&token=dFhkbmR1bTBIamhWwFfJaB-n_6eGjr1eAHnlwWEJDsEpIU_-8m0QS5Tb1nFp_ZEtGrgHWKV8LuV6rwVL2COCVw"
        },
        "created": "2020-10-21T13:57:43.355897Z",
        "updated": "2020-10-21T13:57:43.730483Z",
        "currency": "IDR",
        "metadata": {
            "branch_code": "senayan_372"
        },
        "voided_at": null,
        "capture_now": true,
        "customer_id": null,
        "callback_url": "https://webhook.site/5eebb675-6102-453a-a81c-de95fb08bc77",
        "channel_code": "ID_SHOPEEPAY",
        "failure_code": null,
        "reference_id": "test-payload",
        "charge_amount": 20000,
        "capture_amount": 20000,
        "checkout_method": "ONE_TIME_PAYMENT",
        "payment_method_id": null,
        "channel_properties": {
            "success_redirect_url": "https://google.com"
        },
        "is_redirect_required": true
    },
    "event": "ewallet.capture",
    "created": "2020-10-21T13:59:14.536400713Z",
    "business_id": "59e0daf7049b567510c63f67"
}

I have already make API
https://api.appsheet.com/api/v2/apps/ebc30b68-4b4e-49ae-842e-28e376392481/tables/Order%20Form/Action...

but the response is

{ "statusCode": 404, "message": "Resource not found" }

Please kindly help me

0 6 1,826
6 REPLIES 6

Steve
Platinum 4
Platinum 4

That URL is incomplete.

Dear Steve,
I have make correction according to your information:
https://api.appsheet.com/api/v2/apps/ebc30b68-4b4e-49ae-842e-28e376392481/tables/status/Action?appli...

{
โ€œActionโ€: โ€œeditโ€,
โ€œPropertiesโ€: {
โ€œLocaleโ€: โ€œen-USโ€,
โ€œLocationโ€: โ€œ47.623098, -122.330184โ€,
โ€œTimezoneโ€: โ€œPacific Standard Timeโ€,
โ€œUserSettingsโ€: {
โ€œOption 1โ€: โ€œvalue1โ€,
โ€œOption 2โ€: โ€œvalue2โ€
}
{
โ€œeditโ€: {
{
{
โ€œidโ€: โ€œ{{119668154__id}}โ€,
โ€œeventโ€: โ€œ{{119668154__event}}โ€,
โ€œphoneโ€: โ€œ{{119668154__phone}}โ€,
โ€œamountโ€: {{119668154__amount}}1,
โ€œstatusโ€: โ€œ{{119668154__status}}โ€,
โ€œcreatedโ€: โ€œ{{119668154__created}}โ€,
โ€œbusiness_idโ€: โ€œ{{119668154__business_id}}โ€,
โ€œexternal_idโ€: โ€œ{{119668154__external_id}}โ€,
โ€œewallet_typeโ€: โ€œ{{119668154__ewallet_type}}โ€
}

But still not working, please kindly help me

Each โ€˜{{โ€™ should be << and each }} should be >>.

Dear Steve,
https://api.appsheet.com/api/v2/apps/ebc30b68-4b4e-49ae-842e-28e376392481/tables/status/Action?appli...

the body:
{
โ€œActionโ€: โ€œEditโ€,
โ€œPropertiesโ€: {
โ€œLocaleโ€: โ€œen-USโ€,
โ€œLocationโ€: โ€œ47.623098, -122.330184โ€,
โ€œTimezoneโ€: โ€œPacific Standard Timeโ€,
โ€œRunAsUserEmailโ€: โ€œYourEmail@google.comโ€
},
โ€œRowsโ€: [
{
โ€œIDโ€: โ€œ<<[ID]>>โ€,
โ€œEventโ€: โ€œ<<[Event]>>โ€,
โ€œPhoneโ€: โ€œ<<[Phone]>>โ€,
โ€œAmountโ€: โ€œ<<[Amount]>>โ€,
โ€œStatusโ€: โ€œ<<[Status]>>โ€,
โ€œCreatedโ€: โ€œ<<[Created]>>โ€,
โ€œBusiness_Idโ€: โ€œ<<[Business_Id]>>โ€,
โ€œExternal_Idโ€: โ€œ<<[External_Id]>>โ€,
โ€œewallet_typeโ€: โ€œ<<[ewallet_type]>>โ€
}
]
}

but the error is still the same:

{ โ€œstatusCodeโ€: 404, โ€œmessageโ€: โ€œResource not foundโ€ }

3X_0_5_0512d9bdfa72fda9600dc97eb3c54478080de3dd.jpeg

Youโ€™ve reached the end of my familiarity with the API. For more help, I have to direct you to support@appsheet.com.

Dear steve,
I am so sorry, because i have only a little knowledge about API,

The API is for callback url from Xendit, but it seem it will be very hard for me to make it,

So iโ€™m using other ways, invoke Xendit with Zapier to directly invoke my worksheet, then I invoke the data recieve by email for notify.

So now the payment gateway and the call back all handle well.

Anyway thank you so much for your help, i really appreciate it.

Top Labels in this Space