Last updated 1 month ago
Success
The CustumFieldConfiguration for the request.
const response = await fetch('https://api.younium.com/CustomFieldConfigurations', { method: 'GET', headers: {}, }); const data = await response.json();
{ "pageNumber": 0, "pageSize": 0, "totalPages": 0, "totalCount": 0, "nextPage": "https://example.com", "previousPage": "https://example.com", "firstPage": "https://example.com", "lastPage": "https://example.com", "data": [ { "id": "123e4567-e89b-12d3-a456-426614174000", "key": "text", "name": "text", "defaultValue": "text", "fieldType": {}, "entity": {}, "list": "text", "typeEntity": {}, "entityObject": "text" } ] }
const response = await fetch('https://api.younium.com/CustomFieldConfigurations/{id}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "id": "123e4567-e89b-12d3-a456-426614174000", "key": "text", "name": "text", "defaultValue": "text", "fieldType": {}, "entity": {}, "list": "text", "typeEntity": {}, "entityObject": "text" }
const response = await fetch('https://api.younium.com/CustomFieldConfigurations/{entity}/{key}', { method: 'GET', headers: {}, }); const data = await response.json();
const response = await fetch('https://api.younium.com/CustomFieldConfigurations/{id}', { method: 'PATCH', headers: { "Content-Type": "application/merge-patch+json" }, body: JSON.stringify({}), }); const data = await response.json();
{ "type": "text", "title": "text", "status": 0, "detail": "text", "instance": "text" }
const response = await fetch('https://api.younium.com/CustomFieldConfigurations/{entity}/{key}', { method: 'PATCH', headers: { "Content-Type": "application/merge-patch+json" }, body: JSON.stringify({}), }); const data = await response.json();
const response = await fetch('https://api.younium.com/CustomFieldConfigurations', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "fieldType": {} }), }); const data = await response.json();