All URIs are relative to /
Method | HTTP request | Description |
---|---|---|
deleteClienteItem | DELETE /api/clientes/{clienteid} | Removes the Cliente resource. |
getClienteCollection | GET /api/clientes | Retrieves the collection of Cliente resources. |
getClienteItem | GET /api/clientes/{clienteid} | Retrieves a Cliente resource. |
patchClienteItem | PATCH /api/clientes/{clienteid} | Updates the Cliente resource. |
postClienteCollection | POST /api/clientes | Creates a Cliente resource. |
putClienteItem | PUT /api/clientes/{clienteid} | Replaces the Cliente resource. |
deleteClienteItem(clienteid)
Removes the Cliente resource.
Removes the Cliente resource.
import { SwaggerJsClient } from "swagger-js-client";
let apiInstance = new SwaggerJsClient.ClienteApi();
let clienteid = "clienteid_example"; // String | Resource identifier
apiInstance.deleteClienteItem(clienteid, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully.");
}
});
Name | Type | Description | Notes |
---|---|---|---|
clienteid | String | Resource identifier |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
InlineResponse2003 getClienteCollection(opts)
Retrieves the collection of Cliente resources.
Retrieves the collection of Cliente resources.
import { SwaggerJsClient } from "swagger-js-client";
let apiInstance = new SwaggerJsClient.ClienteApi();
let opts = {
page: 1, // Number | The collection page number
};
apiInstance.getClienteCollection(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
ClienteJsonld getClienteItem(clienteid)
Retrieves a Cliente resource.
Retrieves a Cliente resource.
import { SwaggerJsClient } from "swagger-js-client";
let apiInstance = new SwaggerJsClient.ClienteApi();
let clienteid = "clienteid_example"; // String | Resource identifier
apiInstance.getClienteItem(clienteid, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
clienteid | String | Resource identifier |
No authorization required
- Content-Type: Not defined
- Accept: application/ld+json, application/json, text/html
ClienteJsonld patchClienteItem(body, clienteid)
Updates the Cliente resource.
Updates the Cliente resource.
import { SwaggerJsClient } from "swagger-js-client";
let apiInstance = new SwaggerJsClient.ClienteApi();
let body = new SwaggerJsClient.Cliente(); // Cliente | The updated Cliente resource
let clienteid = "clienteid_example"; // String | Resource identifier
apiInstance.patchClienteItem(body, clienteid, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
body | Cliente | The updated Cliente resource | |
clienteid | String | Resource identifier |
No authorization required
- Content-Type: application/merge-patch+json
- Accept: application/ld+json, application/json, text/html
ClienteJsonld postClienteCollection(body)
Creates a Cliente resource.
Creates a Cliente resource.
import { SwaggerJsClient } from "swagger-js-client";
let apiInstance = new SwaggerJsClient.ClienteApi();
let body = new SwaggerJsClient.ClienteJsonld(); // ClienteJsonld | The new Cliente resource
apiInstance.postClienteCollection(body, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
body | ClienteJsonld | The new Cliente resource |
No authorization required
- Content-Type: application/ld+json, application/json, text/html
- Accept: application/ld+json, application/json, text/html
ClienteJsonld putClienteItem(body, clienteid)
Replaces the Cliente resource.
Replaces the Cliente resource.
import { SwaggerJsClient } from "swagger-js-client";
let apiInstance = new SwaggerJsClient.ClienteApi();
let body = new SwaggerJsClient.ClienteJsonld(); // ClienteJsonld | The updated Cliente resource
let clienteid = "clienteid_example"; // String | Resource identifier
apiInstance.putClienteItem(body, clienteid, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log("API called successfully. Returned data: " + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
body | ClienteJsonld | The updated Cliente resource | |
clienteid | String | Resource identifier |
No authorization required
- Content-Type: application/ld+json, application/json, text/html
- Accept: application/ld+json, application/json, text/html