Last updated 2 months ago
Created
Success
const response = await fetch('https://api.younium.com/PaymentTerms', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "days": 0, "description": "text", "name": "text" }), }); const data = await response.json();
{ "type": "text", "title": "text", "status": 0, "detail": "text", "instance": "text" }
const response = await fetch('https://api.younium.com/PaymentTerms/{id}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "id": "123e4567-e89b-12d3-a456-426614174000", "description": "text", "name": "text", "termType": {}, "days": 0 }
const response = await fetch('https://api.younium.com/PaymentTerms', { 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", "description": "text", "name": "text", "termType": {}, "days": 0 } ] }