POST GoatFarming/JoinGoatFarming

Request Information

URI Parameters

None.

Body Parameters

BookedGoatFarmingModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Userid

globally unique identifier

None.

GoatFarmingId

globally unique identifier

None.

BookedDate

date

None.

BookedPart

string

None.

RemainingPartOfLot

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "0fe783b8-d213-492b-a46d-dcfda214c9a7",
  "Userid": "a59a4275-86f9-4638-b8c6-5fca7bb9b67f",
  "GoatFarmingId": "b203b773-25ad-4f9d-a83d-511288f113c9",
  "BookedDate": "2024-12-23T04:09:03.0632741+05:30",
  "BookedPart": "sample string 4",
  "RemainingPartOfLot": 1
}

application/xml, text/xml

Sample:
<BookedGoatFarmingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ONPETApi.Models">
  <BookedDate>2024-12-23T04:09:03.0632741+05:30</BookedDate>
  <BookedPart>sample string 4</BookedPart>
  <GoatFarmingId>b203b773-25ad-4f9d-a83d-511288f113c9</GoatFarmingId>
  <Id>0fe783b8-d213-492b-a46d-dcfda214c9a7</Id>
  <RemainingPartOfLot>1</RemainingPartOfLot>
  <Userid>a59a4275-86f9-4638-b8c6-5fca7bb9b67f</Userid>
</BookedGoatFarmingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.