POST api/Farms/postFarmExistUser

Ingresar finca de usuario ya registrado.

Request Information

URI Parameters

None.

Body Parameters

Farm
NameDescriptionTypeAdditional information
id

integer

None.

company_code

string

None.

name

string

None.

address

string

None.

kml_file_path

string

None.

map_file

string

None.

coordinates

string

None.

id_owner

integer

None.

status

byte

None.

id_country

integer

None.

owner

string

None.

area

string

None.

height

string

None.

map_kml

string

None.

Request Formats

application/json, text/json

Sample:
{
  "map_kml": "sample string 1",
  "id": 1,
  "company_code": "sample string 2",
  "name": "sample string 3",
  "address": "sample string 4",
  "kml_file_path": "sample string 5",
  "map_file": "sample string 6",
  "coordinates": "sample string 7",
  "id_owner": 8,
  "status": 64,
  "id_country": 10,
  "owner": "sample string 11",
  "area": "sample string 12",
  "height": "sample string 13"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional 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": {}
}