public HttpResponseMessage FulfillmentGet([FromUri] FulfillmentGetRequest request) { ApiStart(nameof(ShopifyController), nameof(FulfillmentGet), CURRENT_TIME); API_RESPONSE_BODY = SHOPIFY_BAL.FulfillmentGet(request); ApiEnd(nameof(ShopifyController), nameof(FulfillmentGet), CURRENT_TIME, API_RESPONSE_BODY); return(Request.ConstructHttpResult(API_RESPONSE_BODY)); }
public ApiResponseBody FulfillmentGet(FulfillmentGetRequest request) { try { var response = new FulfillmentGetResponse() { }; //CHIEN: here //https://shopify.dev/tutorials/manage-fulfillments-with-fulfillment-and-fulfillmentservice-resources#create-a-fulfillment //https://docs.microsoft.com/en-us/aspnet/web-api/overview/advanced/calling-a-web-api-from-a-net-client return(ConstructSuccessResponse(response, GLOBE)); } catch (Exception ex) { PublicError(ex); return(ConstructInternalServerErrorResponse(new FulfillmentGetResponse(), GLOBE)); } }