All URIs are relative to /
Method | HTTP request | Description |
---|---|---|
deleteReservaPaymentItem | DELETE /api/reserva_payments/{id} | Removes the ReservaPayment resource. |
getReservaPaymentCollection | GET /api/reserva_payments | Retrieves the collection of ReservaPayment resources. |
getReservaPaymentItem | GET /api/reserva_payments/{id} | Retrieves a ReservaPayment resource. |
patchReservaPaymentItem | PATCH /api/reserva_payments/{id} | Updates the ReservaPayment resource. |
postReservaPaymentCollection | POST /api/reserva_payments | Creates a ReservaPayment resource. |
putReservaPaymentItem | PUT /api/reserva_payments/{id} | Replaces the ReservaPayment resource. |
deleteReservaPaymentItem(id)
Removes the ReservaPayment resource.
Removes the ReservaPayment resource.
import { SwaggerJsClient } from "swagger-js-client";
let apiInstance = new SwaggerJsClient.ReservaPaymentApi();
let id = "id_example"; // String | Resource identifier
apiInstance.deleteReservaPaymentItem(id, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully.");
}
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | Resource identifier |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
InlineResponse20017 getReservaPaymentCollection(opts)
Retrieves the collection of ReservaPayment resources.
Retrieves the collection of ReservaPayment resources.
import { SwaggerJsClient } from "swagger-js-client";
let apiInstance = new SwaggerJsClient.ReservaPaymentApi();
let opts = {
page: 1, // Number | The collection page number
};
apiInstance.getReservaPaymentCollection(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
page | Number | The collection page number | [optional] [default to 1] |
No authorization required
- Content-Type: Not defined
- Accept: application/ld+json, application/json, text/html
ReservaPaymentJsonld getReservaPaymentItem(id)
Retrieves a ReservaPayment resource.
Retrieves a ReservaPayment resource.
import { SwaggerJsClient } from "swagger-js-client";
let apiInstance = new SwaggerJsClient.ReservaPaymentApi();
let id = "id_example"; // String | Resource identifier
apiInstance.getReservaPaymentItem(id, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | Resource identifier |
No authorization required
- Content-Type: Not defined
- Accept: application/ld+json, application/json, text/html
ReservaPaymentJsonld patchReservaPaymentItem(body, id)
Updates the ReservaPayment resource.
Updates the ReservaPayment resource.
import { SwaggerJsClient } from "swagger-js-client";
let apiInstance = new SwaggerJsClient.ReservaPaymentApi();
let body = new SwaggerJsClient.ReservaPayment(); // ReservaPayment | The updated ReservaPayment resource
let id = "id_example"; // String | Resource identifier
apiInstance.patchReservaPaymentItem(body, id, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
body | ReservaPayment | The updated ReservaPayment resource | |
id | String | Resource identifier |
No authorization required
- Content-Type: application/merge-patch+json
- Accept: application/ld+json, application/json, text/html
ReservaPaymentJsonld postReservaPaymentCollection(body)
Creates a ReservaPayment resource.
Creates a ReservaPayment resource.
import { SwaggerJsClient } from "swagger-js-client";
let apiInstance = new SwaggerJsClient.ReservaPaymentApi();
let body = new SwaggerJsClient.ReservaPaymentJsonld(); // ReservaPaymentJsonld | The new ReservaPayment resource
apiInstance.postReservaPaymentCollection(body, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
body | ReservaPaymentJsonld | The new ReservaPayment resource |
No authorization required
- Content-Type: application/ld+json, application/json, text/html
- Accept: application/ld+json, application/json, text/html
ReservaPaymentJsonld putReservaPaymentItem(body, id)
Replaces the ReservaPayment resource.
Replaces the ReservaPayment resource.
import { SwaggerJsClient } from "swagger-js-client";
let apiInstance = new SwaggerJsClient.ReservaPaymentApi();
let body = new SwaggerJsClient.ReservaPaymentJsonld(); // ReservaPaymentJsonld | The updated ReservaPayment resource
let id = "id_example"; // String | Resource identifier
apiInstance.putReservaPaymentItem(body, id, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
body | ReservaPaymentJsonld | The updated ReservaPayment resource | |
id | String | Resource identifier |
No authorization required
- Content-Type: application/ld+json, application/json, text/html
- Accept: application/ld+json, application/json, text/html