POST api/Crops/putCrop
Modifica el nombre un cultivo de la lista de cultivos que permite el banco hipotecario.
Request Information
URI Parameters
None.
Body Parameters
Crop| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| name | string |
None. |
|
| status | byte |
None. |
|
| created_at | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"name": "sample string 2",
"status": 64,
"created_at": "2025-12-09T18:50:02.9125446+00:00"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| message | string |
None. |
|
| hasError | boolean |
None. |
|
| exception | Exception |
None. |
|
| model | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"message": "sample string 2",
"hasError": true,
"exception": {
"ClassName": "System.Exception",
"Message": null,
"Data": null,
"InnerException": null,
"HelpURL": "sample string 1",
"StackTraceString": null,
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": 3,
"Source": "sample string 2",
"WatsonBuckets": null
},
"model": {}
}