POST Goat/BookGoat
Request Information
URI Parameters
None.
Body Parameters
GoatBookModelName | Description | Type | Additional 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": "93cec089-475d-4864-a3b8-f89b60a6e66a", "BreedId": "ee29b204-93c4-418e-9a81-92ea3c50963d", "WeightId": "d5e3b833-a0a2-4ab1-a538-756d237cb2ef", "PaymentPercentage": "sample string 3", "PayableAmount": "sample string 4", "PaymentMode": 1, "GoatAddress": "sample string 5", "GoatQuantity": 1, "BookedOn": "2024-12-23T04:10:09.5647347+05:30", "Description": "sample string 6", "GoatType": "sample string 7", "Breed": "sample string 8", "GoatWeight": "sample string 9", "GoatName_Quantity": "sample string 10", "UserId": "1fa43620-a06a-4250-b3ec-3f9e864dfc16", "BreedPrice": "sample string 11", "Deliverycity": "sample string 12", "CreatedDate": "2024-12-23T04:10:09.5647347+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-23T04:10:09.5647347+05:30</BookedOn> <Breed>sample string 8</Breed> <BreedId>ee29b204-93c4-418e-9a81-92ea3c50963d</BreedId> <BreedPrice>sample string 11</BreedPrice> <CreatedDate>2024-12-23T04:10:09.5647347+05:30</CreatedDate> <Deliverycity>sample string 12</Deliverycity> <Description>sample string 6</Description> <GoatAddress>sample string 5</GoatAddress> <GoatId>93cec089-475d-4864-a3b8-f89b60a6e66a</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>1fa43620-a06a-4250-b3ec-3f9e864dfc16</UserId> <WeightId>d5e3b833-a0a2-4ab1-a538-756d237cb2ef</WeightId> <walletAmountApplied>sample string 13</walletAmountApplied> </GoatBookModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.