POST api/Voiture/AddCarWarning
Request Information
URI Parameters
None.
Body Parameters
AddCarWarningViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| FCompId | integer |
None. |
|
| FSectionId | integer |
None. |
|
| FSectionName | string |
None. |
|
| FCarType | integer |
None. |
|
| FLicensePlate | string |
None. |
|
| FWarnigngType | integer |
None. |
|
| FWarnigngName | string |
None. |
|
| FStartDate | date |
None. |
|
| FEndDate | date |
None. |
|
| FWarningDays | integer |
None. |
|
| FTelList | string |
None. |
|
| FWarningContent | string |
None. |
|
| FRemark | string |
None. |
|
| FOptId | integer |
None. |
|
| FOptName | string |
None. |
|
| FOptTime | date |
None. |
|
| FCarID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"FCompId": 1,
"FSectionId": 1,
"FSectionName": "sample string 1",
"FCarType": 1,
"FLicensePlate": "sample string 2",
"FWarnigngType": 1,
"FWarnigngName": "sample string 3",
"FStartDate": "2025-12-06 13:42:00",
"FEndDate": "2025-12-06 13:42:00",
"FWarningDays": 1,
"FTelList": "sample string 4",
"FWarningContent": "sample string 5",
"FRemark": "sample string 6",
"FOptId": 1,
"FOptName": "sample string 7",
"FOptTime": "2025-12-06 13:42:00",
"FCarID": 8
}
application/xml, text/xml
Sample:
<AddCarWarningViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity.ViewModel"> <FCarID>8</FCarID> <FCarType>1</FCarType> <FCompId>1</FCompId> <FEndDate>2025-12-06T13:42:00.560145+08:00</FEndDate> <FLicensePlate>sample string 2</FLicensePlate> <FOptId>1</FOptId> <FOptName>sample string 7</FOptName> <FOptTime>2025-12-06T13:42:00.560145+08:00</FOptTime> <FRemark>sample string 6</FRemark> <FSectionId>1</FSectionId> <FSectionName>sample string 1</FSectionName> <FStartDate>2025-12-06T13:42:00.560145+08:00</FStartDate> <FTelList>sample string 4</FTelList> <FWarnigngName>sample string 3</FWarnigngName> <FWarnigngType>1</FWarnigngType> <FWarningContent>sample string 5</FWarningContent> <FWarningDays>1</FWarningDays> </AddCarWarningViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
MessageModelOfInt32| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | integer |
None. |
|
| Success | boolean |
None. |
|
| Msg | string |
None. |
|
| Response | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 200,
"Success": true,
"Msg": "sample string 3",
"Response": 4
}
application/xml, text/xml
Sample:
<MessageModelOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity"> <Msg>sample string 3</Msg> <Response>4</Response> <Status>200</Status> <Success>true</Success> </MessageModelOfint>