const response = await fetch('/api/services/app/DC_Votes/CreateOrEdit', {
method: 'POST',
headers: {
"Content-Type": "application/json-patch+json"
},
body: JSON.stringify({
"dC_ProjectListId": "123e4567-e89b-12d3-a456-426614174000",
"voteDescription": "text",
"voteEndDate": "2024-04-29T15:05:40.573Z",
"voteExpiresDate": "2024-04-29T15:05:40.573Z",
"voteName": "text"
}),
});
const data = await response.json();