POST api/contract/save

Request Information

URI Parameters

None.

Body Parameters

ContractModel
NameDescriptionTypeAdditional information
lawyerId

string

None.

contractId

integer

None.

contractName

string

None.

contractCategoryId

integer

None.

categoryName

string

None.

contractIndustryId

integer

None.

industryName

string

None.

coverUrl

string

None.

downloadUrl

string

None.

Request Formats

application/json, text/json

Sample:
{
  "lawyerId": "sample string 1",
  "contractId": 2,
  "contractName": "sample string 3",
  "contractCategoryId": 4,
  "categoryName": "sample string 5",
  "contractIndustryId": 6,
  "industryName": "sample string 7",
  "coverUrl": "sample string 8",
  "downloadUrl": "sample string 9"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Result
NameDescriptionTypeAdditional 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
}