All URIs are relative to /
Method | HTTP request | Description |
---|---|---|
deletePeriodoItem | DELETE /api/periodos/{id} | Removes the Periodo resource. |
getPeriodoCollection | GET /api/periodos | Retrieves the collection of Periodo resources. |
getPeriodoItem | GET /api/periodos/{id} | Retrieves a Periodo resource. |
patchPeriodoItem | PATCH /api/periodos/{id} | Updates the Periodo resource. |
postPeriodoCollection | POST /api/periodos | Creates a Periodo resource. |
putPeriodoItem | PUT /api/periodos/{id} | Replaces the Periodo resource. |
deletePeriodoItem(id)
Removes the Periodo resource.
Removes the Periodo resource.
import { SwaggerJsClient } from "swagger-js-client";
let apiInstance = new SwaggerJsClient.PeriodoApi();
let id = "id_example"; // String | Resource identifier
apiInstance.deletePeriodoItem(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
InlineResponse20012 getPeriodoCollection(opts)
Retrieves the collection of Periodo resources.
Retrieves the collection of Periodo resources.
import { SwaggerJsClient } from "swagger-js-client";
let apiInstance = new SwaggerJsClient.PeriodoApi();
let opts = {
page: 1, // Number | The collection page number
};
apiInstance.getPeriodoCollection(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
PeriodoJsonld getPeriodoItem(id)
Retrieves a Periodo resource.
Retrieves a Periodo resource.
import { SwaggerJsClient } from "swagger-js-client";
let apiInstance = new SwaggerJsClient.PeriodoApi();
let id = "id_example"; // String | Resource identifier
apiInstance.getPeriodoItem(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
PeriodoJsonld patchPeriodoItem(body, id)
Updates the Periodo resource.
Updates the Periodo resource.
import { SwaggerJsClient } from "swagger-js-client";
let apiInstance = new SwaggerJsClient.PeriodoApi();
let body = new SwaggerJsClient.Periodo(); // Periodo | The updated Periodo resource
let id = "id_example"; // String | Resource identifier
apiInstance.patchPeriodoItem(body, id, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
body | Periodo | The updated Periodo resource | |
id | String | Resource identifier |
No authorization required
- Content-Type: application/merge-patch+json
- Accept: application/ld+json, application/json, text/html
PeriodoJsonld postPeriodoCollection(body)
Creates a Periodo resource.
Creates a Periodo resource.
import { SwaggerJsClient } from "swagger-js-client";
let apiInstance = new SwaggerJsClient.PeriodoApi();
let body = new SwaggerJsClient.PeriodoJsonld(); // PeriodoJsonld | The new Periodo resource
apiInstance.postPeriodoCollection(body, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
body | PeriodoJsonld | The new Periodo resource |
No authorization required
- Content-Type: application/ld+json, application/json, text/html
- Accept: application/ld+json, application/json, text/html
PeriodoJsonld putPeriodoItem(body, id)
Replaces the Periodo resource.
Replaces the Periodo resource.
import { SwaggerJsClient } from "swagger-js-client";
let apiInstance = new SwaggerJsClient.PeriodoApi();
let body = new SwaggerJsClient.PeriodoJsonld(); // PeriodoJsonld | The updated Periodo resource
let id = "id_example"; // String | Resource identifier
apiInstance.putPeriodoItem(body, id, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
body | PeriodoJsonld | The updated Periodo 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