POST Goat/AddGoatBreed

Request Information

URI Parameters

None.

Body Parameters

GoatBookModel
NameDescriptionTypeAdditional information
GoatId

globally unique identifier

None.

BreedId

globally unique identifier

None.

WeightId

globally unique identifier

None.

PaymentPercentage

string

None.

PayableAmount

string

None.

PaymentMode

integer

None.

GoatAddress

string

None.

GoatQuantity

integer

None.

BookedOn

date

None.

Description

string

None.

GoatType

string

None.

Breed

string

None.

GoatWeight

string

None.

GoatName_Quantity

string

None.

UserId

globally unique identifier

None.

BreedPrice

string

None.

Deliverycity

string

None.

CreatedDate

date

None.

walletAmountApplied

string

None.

TotalAmount

string

None.

Request Formats

application/json, text/json

Sample:
{
  "GoatId": "d8e91cc6-5ddd-4bfe-b485-27ecfca9a013",
  "BreedId": "12932483-c382-4b31-889e-84cb67f3d2e7",
  "WeightId": "8c0162cc-bc37-419a-b380-2632243731b4",
  "PaymentPercentage": "sample string 3",
  "PayableAmount": "sample string 4",
  "PaymentMode": 1,
  "GoatAddress": "sample string 5",
  "GoatQuantity": 1,
  "BookedOn": "2024-12-23T03:34:50.2153184+05:30",
  "Description": "sample string 6",
  "GoatType": "sample string 7",
  "Breed": "sample string 8",
  "GoatWeight": "sample string 9",
  "GoatName_Quantity": "sample string 10",
  "UserId": "1eacc330-428e-4aae-a213-d63b9ae9e5d9",
  "BreedPrice": "sample string 11",
  "Deliverycity": "sample string 12",
  "CreatedDate": "2024-12-23T03:34:50.2153184+05:30",
  "walletAmountApplied": "sample string 13",
  "TotalAmount": "sample string 14"
}

application/xml, text/xml

Sample:
<GoatBookModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ONPETApi.Models">
  <BookedOn>2024-12-23T03:34:50.2153184+05:30</BookedOn>
  <Breed>sample string 8</Breed>
  <BreedId>12932483-c382-4b31-889e-84cb67f3d2e7</BreedId>
  <BreedPrice>sample string 11</BreedPrice>
  <CreatedDate>2024-12-23T03:34:50.2153184+05:30</CreatedDate>
  <Deliverycity>sample string 12</Deliverycity>
  <Description>sample string 6</Description>
  <GoatAddress>sample string 5</GoatAddress>
  <GoatId>d8e91cc6-5ddd-4bfe-b485-27ecfca9a013</GoatId>
  <GoatName_Quantity>sample string 10</GoatName_Quantity>
  <GoatQuantity>1</GoatQuantity>
  <GoatType>sample string 7</GoatType>
  <GoatWeight>sample string 9</GoatWeight>
  <PayableAmount>sample string 4</PayableAmount>
  <PaymentMode>1</PaymentMode>
  <PaymentPercentage>sample string 3</PaymentPercentage>
  <TotalAmount>sample string 14</TotalAmount>
  <UserId>1eacc330-428e-4aae-a213-d63b9ae9e5d9</UserId>
  <WeightId>8c0162cc-bc37-419a-b380-2632243731b4</WeightId>
  <walletAmountApplied>sample string 13</walletAmountApplied>
</GoatBookModel>

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.