LVReddy
  1. Sample APIs
LVReddy
  • 🐶 Walk through Apidog
  • Sample APIs
    • Find pet by ID
      GET
    • Add a new pet to the store
      POST
    • Update an existing pet
      PUT
    • Deletes a pet
      DELETE
    • Finds Pets by status
      GET
  • Vendor Managment
    • Update Vendor Basic Info
      PUT
    • Update Vendor Document
      PUT
    • Update Deposit Info
      PUT
    • Add daily milk sale
      POST
    • Fetch Daily sales by vendor
      GET
    • Fetch Specific daily milk sale
      GET
    • Update daily milk sale
      PUT
    • Delete daily sale
      DELETE
    • Bulk Upload Milk Sales
      PUT
    • Fetch daily sales milk by date
      GET
    • Add Payment
      POST
    • Update Payment
      POST
    • Fetch Vendor Payments
      GET
    • Fetch Vendor Payments By Id
      GET
    • Fetch payment by id
      GET
    • Delete
      DELETE
    • Create Milk price change
      POST
    • Update milk price changes
      PUT
    • Fetch milk price revisions
      GET
    • Fetch milk price revision
      GET
    • Delete Milk price revision
      DELETE
    • Regenrate vendor bill
      PUT
    • Archive Vendor
      DELETE
    • Restore Vendor
      GET
    • Fetch Daily sales
      GET
  • Employee
    • Payroll
      • Salary Generation
      • Fetch Salaries
      • Fetch Advances
    • Attendance
      • Fetch attnedances
    • Fetch milk progress report
  • Animal
    • Fetch gender wise animal
    • Untitled Endpoint
    • Animal Register
    • mature the calf
  • Green Fooder
    • Lease Land
      • Add Lease Land
      • Fetch Lease Land
      • Fetch lease by id
    • Crop
      • Add Crops
      • Fetch crops
      • Update crop
      • Delete crop
    • Lease
      • Updated Lease
      • Fetch lease by id
      • Add Lease
      • Fetch Leases
      • Delete Lease
    • yields
      • Untitled Endpoint
    • Expense
      • Add Expense
      • Update Expense
      • Fetch expenses
      • Expense by id
      • Untitled Endpoint
      • Fetch expenses by land id
    • Purchase Info
      • Add Purchase
      • Fetch Purchases
      • Fetch Specific purchase
      • Delete Purchase
    • Sale info
      • Update sale
      • Add Sale
      • Fetch Sales
      • Fetch Specific sale
      • Delete Sale
  • Purchase Dry Fooder
    • Add Dry Fooder
    • Update dry fooder purchase info
    • Update dry fooder farmer info
    • Fetch fooders
    • Fetch dry - fooder by id
    • Add expense
    • Update Expense
    • Fetch expense
  • Concentrate Dry Fooder
    • Add Concentrate Dry Fooder
    • Update Concentrate Dry Fooder Copy
    • Fetch Concentrate Dry Fooders
    • Fetch Concentrate Dry Fooders By Id
    • Delete Concentrate Dry Fooder Id
    • Fetch Concentrate Dry Fooders Stocks
    • Add Concentrate Dry Fooder Usage
    • Update Concentrate Dry Fooder Usage
    • Delete Concentrate Dry Fooder Id Daily usage
    • Add feed global settings
    • Update feed global settings
    • Fetch Concentrate Dry Fooders
    • Add feed management global setting
    • Add feed management global setting Copy
  • Settings
    • Update Admin
    • Fetch Admin Details
  • Milk
    • Fetch all milk records
    • Bulk Milk
    • fetch milk by animal id and date
  • Outlet
    • Add Production Unit
    • Add Outlet
    • Fetch outlets
    • Fetch specific outlet
    • Update outlet
    • Fetch outlet list
    • Add Product
    • Fetch products
    • Fetch specific product
    • Update Product
    • Remove Product
    • Fetch Product List
    • Add Daily Production
    • Update Daily production
    • Fetch daily productions
    • Fetch specific daily production
    • Remove Daily Productions
    • Add Outlet Stock
    • Update Stock
    • Remove Outlet stock
    • Fetch daily stocks
    • Fetch specific daily stock
    • Add Outlet Sales
    • Update outlet sale
    • Remove Outlet sale
    • Fetch sales
    • Add Outlet Customer
    • Update Outlet
    • Fetch daily customers
    • Fetch specific customer
    • Fetch customers list
    • Add Outlet Customer Payment
    • Update Customer Payment
    • Fetch customer outlet payments
    • Fetch specific customer Copy
    • Delete Customer Payment
    • Add Outlet Customer Payment Copy
    • Update Payment
    • Fetch outlet payments
    • Fetch specific outlet payment
    • Delete Outlet Payment
    • Daily Production bulk
    • Fetch daily production
    • Outlet Stocks Bulk
    • Fetch outlet stocks
    • Outlet Stocks Bulk Copy
    • Fetch outlet sales
    • Add Price revision
    • Update Price revision
    • Delete Outlet Payment Copy
    • Fetch product price revisions
    • Fetch specific product price revision
    • Regenrate vendor bill Copy
    • Fetch Bills
    • Approve outlet bills
    • Regenrate outlet customer
    • Approve customer outlet bills
    • Fetch Production Inventories
    • Fetch customer Bills
    • Fetch specific product Copy
    • Archive Outlet
    • Fetch Outlet Inventories
    • Raw milk usage bulk
    • fetch raw milk usage by date
    • Raw milk wastage bulk
    • fetch raw milk wastage by date
    • Fetch outlets ledgers
    • Fetch outlets ledgers by outletId
    • Fetch outstanding balanec
  • General Expenses
    • Add General Expenses
    • Fetch General Expenses
    • Fetch General Expenses By Id
    • Update General Expenses
    • Delete General Expenses
    • Regenerate monthly expenses
    • fetch consolidated expenses monthly
  • General Goods Sale
    • Regenerate monthly sales Copy
    • Fetch consolidated goods sales
    • Add General Good Sale
    • Fetch General Goods sale
    • Fetch General Goods sales By Id
    • Update General Goods sales
    • Delete General Goods sales
  • Profit and Loss
    • Regenerate monthly profit and loss
    • Fetch profit and loss
  • payroll
    • Bulk Salary
    • fetch salary by month
  • Reports
  • Test
    • Test Api
  • insurance
    • Add animal insurance
    • Update animal insurance
    • Fetch all animal insurances
    • Fetch the insurance by id
    • delete insurance
  • SubAdmin
    • Add Subadmin
    • Update Subadmin Copy
    • Fetch subadmins
    • Fetch subadmin by id
    • Patch Subadmin
  • Unsecured Liabilities
    • Create Lender
    • Update Lender
    • Fetch Lenders
    • Fetch Lenders By id
    • Fetch Lenders stats
    • Delete lender
    • Create Lending TXN
    • Update Lending TXN
    • Fetch Loans
    • Fetch Loan By id
    • Delete loan
    • Create Repayment
    • Update Repayment
    • Delete repayment
    • Fetch Repayments
    • Fetch Loan By id Copy
    • Presigned url
    • Fetch lending_txn_ids
    • Fetch Lenders By id Copy
    • Fetch Loan By id report
  1. Sample APIs

Find pet by ID

GET
/pet/{petId}
pet

Request

Path Params
petId
string 
required
pet ID
Example:
1

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/pet/1'

Responses

🟢200OK
application/json
Body
code
integer 
required
status code
>= 0<= 0
data
object (Pet) 
required
pet details
id
integer <int64>
required
Pet ID
>= 1
category
object (Category) 
required
group
name
string 
required
name
Example:
doggie
photoUrls
array[string]
required
image URL
tags
array[object (Tag) {2}] 
required
tag
status
enum<string> 
required
Pet Sales Status
Allowed values:
availablependingsold
Example
{
    "code": 0,
    "data": {
        "name": "Hello Kitty",
        "photoUrls": [
            "http://dummyimage.com/400x400"
        ],
        "id": 3,
        "category": {
            "id": 71,
            "name": "Cat"
        },
        "tags": [
            {
                "id": 22,
                "name": "Cat"
            }
        ],
        "status": "sold"
    }
}
🟠404Record not found
🟠400Invalid input
Modified at 2024-08-06 10:10:34
Previous
🐶 Walk through Apidog
Next
Add a new pet to the store
Built with