{
"id": 2935,
"limitName": "王五",
"limitType": 2,
"limitField": 0,
"timeOfTheWeek": [
"string"
],
"timeOfTheDay": [
{
"index": 0,
"startTime": "string",
"endTime": "string"
}
],
"limitModel": 0,
"limitCompany": "string",
"limitStatus": 1,
"startTime": "2019-08-24T14:15:22Z",
"endTime": "2019-08-24T14:15:22Z",
"limitObject": [
{
"id": 0,
"userId": "string",
"accountId": "string",
"mobile": "string",
"vin": "string",
"companyId": "string",
"limitType": 0,
"limitId": 0,
"tenantId": "string"
}
],
"limitStation": [
{
"id": 0,
"limitId": 0,
"stationId": "string",
"stationName": "string",
"tenantId": "string"
}
],
"limitPipe": [
{
"id": 0,
"limitId": 0,
"cpId": "string",
"pipeSn": "string",
"tenantId": "string"
}
],
"tenantId": "string",
"createTime": "2019-08-24T14:15:22Z",
"updateTime": "2019-08-24T14:15:22Z",
"createBy": "string",
"updateBy": "string"
}
curl --location --request POST '/admin-api/charging/limitation/create' \
--header 'Authorization: {{authorization}}' \
--header 'Accept-Language: zh-CN' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 2935,
"limitName": "王五",
"limitType": 2,
"limitField": 0,
"timeOfTheWeek": [
"string"
],
"timeOfTheDay": [
{
"index": 0,
"startTime": "string",
"endTime": "string"
}
],
"limitModel": 0,
"limitCompany": "string",
"limitStatus": 1,
"startTime": "2019-08-24T14:15:22Z",
"endTime": "2019-08-24T14:15:22Z",
"limitObject": [
{
"id": 0,
"userId": "string",
"accountId": "string",
"mobile": "string",
"vin": "string",
"companyId": "string",
"limitType": 0,
"limitId": 0,
"tenantId": "string"
}
],
"limitStation": [
{
"id": 0,
"limitId": 0,
"stationId": "string",
"stationName": "string",
"tenantId": "string"
}
],
"limitPipe": [
{
"id": 0,
"limitId": 0,
"cpId": "string",
"pipeSn": "string",
"tenantId": "string"
}
],
"tenantId": "string",
"createTime": "2019-08-24T14:15:22Z",
"updateTime": "2019-08-24T14:15:22Z",
"createBy": "string",
"updateBy": "string"
}'
{
"code": 0,
"data": 0,
"msg": "string"
}