POST api/backend/savePlaintiff
Request Information
URI Parameters
None.
Body Parameters
PlaintiffModel| Name | Description | Type | Additional information |
|---|---|---|---|
| plaintiffId | integer |
None. |
|
| plaintiffName | string |
None. |
|
| plaintiffSex | string |
None. |
|
| plaintiffNation | string |
None. |
|
| plaintiffPhone | string |
None. |
|
| plaintiffAddress | string |
None. |
|
| plaintiffProvince | string |
None. |
|
| plaintiffCity | string |
None. |
|
| plaintiffIDNumber | string |
None. |
|
| plaintiffProvinceId | integer |
None. |
|
| plaintiffCityId | integer |
None. |
|
| plaintiffType | string |
None. |
|
| plaintiffCompanyName | string |
None. |
|
| plaintiffSocialCode | string |
None. |
|
| accountId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"plaintiffId": 1,
"plaintiffName": "sample string 2",
"plaintiffSex": "sample string 3",
"plaintiffNation": "sample string 4",
"plaintiffPhone": "sample string 5",
"plaintiffAddress": "sample string 6",
"plaintiffProvince": "sample string 7",
"plaintiffCity": "sample string 8",
"plaintiffIDNumber": "sample string 9",
"plaintiffProvinceId": 1,
"plaintiffCityId": 1,
"plaintiffType": "sample string 10",
"plaintiffCompanyName": "sample string 11",
"plaintiffSocialCode": "sample string 12",
"accountId": 13
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| data | Object |
None. |
|
| error | string |
None. |
|
| code | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"data": {},
"error": "sample string 3",
"code": 4
}