Retrieve the list of type of forms available

First you need to select a type of form that best describes your case. You can list the different types of forms like so :

var client = new RestClient("https://api.medicys-conventionnel.fr/api/form/GetAll");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
var client = new RestClient("https://staging-api.medicys-conventionnel.fr/api/form/GetAll");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Retrieve the list of available options for the selected type of form

From the list of type of form, pick the one that best suits your case. Then get the different options available for that specific form using the corresponding FormId

var client = new RestClient("https://api.medicys-conventionnel.fr/api/form/GetDescription?Id=937c33a4-c36e-4b00-ba8b-c3fe89dc3efc");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
var client = new RestClient("https://staging-api.medicys-conventionnel.fr/api/form/GetDescription?Id=937c33a4-c36e-4b00-ba8b-c3fe89dc3efc");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Create the description

From the list of options available, pick the one that best suits your case. Then you can add a description of the litigation to the case, using the correct PartyId, FormId and OptionId

var client = new RestClient("https://api.medicys-conventionnel.fr/api/form/CreateDescription");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddParameter("text/plain", "{\"FileId\": \"27FF7826-0DED-4101-9FB4-81991117B656\",\"FormId\": \"937c33a4-c36e-4b00-ba8b-c3fe89dc3efc\",\"PartyId\": \"4B2D72C1-5B55-441F-BA03-3F4383219DCC\",\"AdditionalInformation\": \"Mon litige 2\",\"AnswerOptions\": {\"17d78ce3-963e-46d7-8e64-d1f272aebcb8\": \"Le paiement de pension alimentaire\"}}",  ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
var client = new RestClient("https://staging-api.medicys-conventionnel.fr/api/form/CreateDescription");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddParameter("text/plain", "{\"FileId\": \"27FF7826-0DED-4101-9FB4-81991117B656\",\"FormId\": \"937c33a4-c36e-4b00-ba8b-c3fe89dc3efc\",\"PartyId\": \"4B2D72C1-5B55-441F-BA03-3F4383219DCC\",\"AdditionalInformation\": \"Mon litige 2\",\"AnswerOptions\": {\"17d78ce3-963e-46d7-8e64-d1f272aebcb8\": \"Le paiement de pension alimentaire\"}}",  ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Retrieve the list of proposal for a specific form

Use the selected FormId to retrieve a list of the different proposals available

var client = new RestClient("https://api.medicys-conventionnel.fr/api/form/GetProposition?id=937c33a4-c36e-4b00-ba8b-c3fe89dc3efc");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
var client = new RestClient("https://staging-api.medicys-conventionnel.fr/api/form/GetProposition?id=937c33a4-c36e-4b00-ba8b-c3fe89dc3efc");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Create the proposal

From the list of proposal, pick the one that best suits your case. Then you can add a proposal using the correct PartyId, FormId and OptionId

var client = new RestClient("https://api.medicys-conventionnel.fr/api/form/CreateProposition");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddParameter("text/plain", "{\"FileId\": \"27FF7826-0DED-4101-9FB4-81991117B656\",\"FormId\": \"937c33a4-c36e-4b00-ba8b-c3fe89dc3efc\",\"PartyId\": \"4B2D72C1-5B55-441F-BA03-3F4383219DCC\",\"PartyType\": \"Party1\",\"AdditionalInformation\": \"Additional info\",\"ProposalReason\": \"Mes raisons\",\"ModifiedDate\": \"2020-05-29T16:50:20.879Z\",\"AnswerOptions\": {\"e0cd0617-cda3-455a-bc62-4afd73daf2f7\": \"Un paiement en une seule fois\"}}",  ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
var client = new RestClient("https://staging-api.medicys-conventionnel.fr/api/form/CreateProposition");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddParameter("text/plain", "{\"FileId\": \"27FF7826-0DED-4101-9FB4-81991117B656\",\"FormId\": \"937c33a4-c36e-4b00-ba8b-c3fe89dc3efc\",\"PartyId\": \"4B2D72C1-5B55-441F-BA03-3F4383219DCC\",\"PartyType\": \"Party1\",\"AdditionalInformation\": \"Additional info\",\"ProposalReason\": \"Mes raisons\",\"ModifiedDate\": \"2020-05-29T16:50:20.879Z\",\"AnswerOptions\": {\"e0cd0617-cda3-455a-bc62-4afd73daf2f7\": \"Un paiement en une seule fois\"}}",  ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);