POST api/marker
Request Information
URI Parameters
None.
Body Parameters
AjouterObservationModel| Name | Description | Type | Additional information |
|---|---|---|---|
| mission_id | integer |
None. |
|
| marker_name_id | integer |
None. |
|
| marker_type_id | integer |
None. |
|
| on_time | date |
None. |
|
| off_time | date |
None. |
|
| photos | Collection of string |
None. |
|
| lat | decimal number |
None. |
|
| lon | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"mission_id": 1,
"marker_name_id": 2,
"marker_type_id": 3,
"on_time": "2025-12-11T02:18:33.7698611+01:00",
"off_time": "2025-12-11T02:18:33.7698611+01:00",
"photos": [
"sample string 1",
"sample string 2"
],
"lat": 6.1,
"lon": 7.1
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
MarkerModel| Name | Description | Type | Additional information |
|---|---|---|---|
| marker_id | integer |
None. |
|
| mission_id | integer |
None. |
|
| name | string |
None. |
|
| marker_name_id | integer |
None. |
|
| type | string |
None. |
|
| marker_type_id | integer |
None. |
|
| marker_value | integer |
None. |
|
| area_id | integer |
None. |
|
| details | string |
None. |
|
| on_time | date |
None. |
|
| off_time | date |
None. |
|
| coordonnees | string |
None. |
|
| icone | string |
None. |
|
| category | string |
None. |
|
| markerImageModels | Collection of MarkerImageModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"marker_id": 1,
"mission_id": 1,
"name": "sample string 2",
"marker_name_id": 1,
"type": "sample string 3",
"marker_type_id": 1,
"marker_value": 1,
"area_id": 1,
"details": "sample string 4",
"on_time": "2025-12-11T02:18:33.7698611+01:00",
"off_time": "2025-12-11T02:18:33.7698611+01:00",
"coordonnees": "sample string 5",
"icone": "sample string 6",
"category": "sample string 7",
"markerImageModels": [
{
"marker_image_id": 1,
"marker_id": 2,
"marker_image_numero": 3
},
{
"marker_image_id": 1,
"marker_id": 2,
"marker_image_numero": 3
}
]
}