Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

GET /api/pets – gets all pets
GET /api/pets/{pet_id} – gets a specific pet

Code Block
GET /api/pets/4916

{
    "addons": [
        {
            "cost": "0.00",
            "deleted": false,
            "id": -3,
            "is_required": true,
            "name": "AKC Reunite Enrollment",
            "price": "0.00",
            "product": {
                "id": 20003,
                "name": "AKC Reunite Enrollment "
            },
            "product_id": 20003
        },
        {
            "cost": "0.00",
            "deleted": false,
            "id": -2,
            "is_required": true,
            "name": "AKC Pedigree Registration",
            "price": "99.99",
            "product": {
                "id": 20002,
                "name": "AKC Pedigree Registration "
            },
            "product_id": 20002
        }
    ],
    "band": "",
    "breed": {
        "aliases": [
            "Rott",
            "Rottie"
        ],
        "custom_fields": {
            "Height": "[36287,61235)",
            "Weight": "[559,686)"
        },
        "deleted": false,
        "description": "The Rottweiler is a robust working breed of great strength descended from the mastiffs of the Roman legions. A gentle playmate and protector within the family circle, the Rottie observes the outside world with a self-assured aloofness.",
        "display_behavior": "Only if Available",
        "display_name": "Rottweiler",
        "id": -137,
        "is_temp": false,
        "slug": "rottweilers"
    },
    "changed_at": "2021-02-18T16:55:50.913462-05:00",
    "color_markings": "Color / Markings",
    "cost": "375.00",
    "currently_at_entity_id": 7,
    "custom_fields": null,
    "deleted": false,
    "gender": "Female",
    "id": 4916,
    "identifiers": "Identifiers",
    "images": [
        {
            "deleted": false,
            "description": "Female Rottweiler Puppy for sale",
            "file": {
                "basename": "male-or-female-rottie",
                "checksum": [
                    144,
...
                    133
                ],
                "content_type": {
                    "extensions": [
                        "jpg",
                        "jpeg",
                        "jpe",
                        "jfif"
                    ],
                    "id": 15,
                    "name": "image/jpeg"
                },
                "content_type_id": 15,
                "description": "Female Rottweiler Puppy for sale",
                "extension": "jpg",
                "id": 16498,
                "stored_at": "2021-02-18T16:55:07.462052-05:00"
            },
            "id": 6870,
            "image": {
                "id": 16498
            },
            "sort_order": 0,
            "tags": null
        },
        {
            "deleted": false,
            "description": "Female Rottweiler Puppy for sale",
            "file": {
                "basename": "german-rottweiler-puppies-for-sale-females",
                "checksum": [
                    141,
...
                    69
                ],
                "content_type": {
                    "extensions": [
                        "jpg",
                        "jpeg",
                        "jpe",
                        "jfif"
                    ],
                    "id": 15,
                    "name": "image/jpeg"
                },
                "content_type_id": 15,
                "description": "Female Rottweiler Puppy for sale",
                "extension": "jpg",
                "id": 16499,
                "stored_at": "2021-02-18T16:55:21.200542-05:00"
            },
            "id": 6871,
            "image": {
                "id": 16499
            },
            "sort_order": 1,
            "tags": null
        },
        {
            "deleted": false,
            "description": "Female Rottweiler Puppy for sale",
            "file": {
                "basename": "4889201_large-resize",
                "checksum": [
                    36,
...
                    91
                ],
                "content_type": {
                    "extensions": [
                        "jpg",
                        "jpeg",
                        "jpe",
                        "jfif"
                    ],
                    "id": 15,
                    "name": "image/jpeg"
                },
                "content_type_id": 15,
                "description": "Female Rottweiler Puppy for sale",
                "extension": "webp",
                "id": 16500,
                "stored_at": "2021-02-18T16:55:40.245084-05:00"
            },
            "id": 6872,
            "image": {
                "id": 16500
            },
            "sort_order": 2,
            "tags": null
        }
    ],
    "imported_identifier": null,
    "is_marketing_notes_enabled": null,
    "location": {
        "attrs": null,
        "available_pets_count": 11,
        "deleted": false,
        "entity": {
            "address_1": "100 Independence Way",
            "address_2": "",
            "attributes": {},
            "businessname": "Foo Fighters - business",
            "city": "Danvers",
            "contact_numbers": {
                "Office": "(101)557-3166"
            },
            "created_at": "2016-09-28T17:31:28.732279-04:00",
            "deleted": false,
            "emails": {
                "Home": "FF1234@pinogy.com"
            },
            "firstname": "",
            "id": 7,
            "is_active": true,
            "iso_code": "MA",
            "lastname": "",
            "name": "Foo Fighters - business",
            "notes": "",
            "postal_code": "01923",
            "region_fullname": "Massachusetts",
            "role_ids": [
                -2
            ],
            "role_names": [
                "Location"
            ],
            "smart_search": "Foo Fighters - business   Foo Fighters - business Location Danvers 100 Independence Way  Massachusetts MA 1015573166 (101)557-3166 FF1234@pinogy.com Foo Fighters - public FF 123123",
            "sub_state": "",
            "tax_exempt": false,
            "url": ""
        },
        "id": 7,
        "is_enabled": true,
        "is_primary_store": false,
        "is_public": true,
        "latitude": "0",
        "logo": null,
        "longitude": "0",
        "marketing_phone": null,
        "max_safety_stock_days": 21,
        "min_safety_stock_days": 7,
        "open_hours": {
            "Friday": [
                "10:00 AM",
                "9:00 PM"
            ],
            "Monday": [
                "10:00 AM",
                "9:00 PM"
            ],
            "Saturday": [
                "10:00 AM",
                "9:00 PM"
            ],
            "Sunday": [
                "11:00 AM",
                "6:00 PM"
            ],
            "Thursday": [
                "10:00 AM",
                "9:00 PM"
            ],
            "Tuesday": [
                "10:00 AM",
                "9:00 PM"
            ],
            "Wednesday": [
                "10:00 AM",
                "9:00 PM"
            ]
        },
        "pricing_group": {
            "deleted": false,
            "id": 1,
            "name": "PrcGrp #1"
        },
        "receipt_name": "Foo Fighters - public",
        "report_code": "FF",
        "show_regional": true,
        "slug": "foo-fighters-public",
        "social_links": {},
        "updated_at": "2016-09-28T17:31:28.732279-04:00",
        "warehouse_location_ids": [
            28267
        ],
        "website_url": "www.foofighters.com"
    },
    "location_id": 7,
    "marketing_notes": "",
    "medical_condition_events": [
        {
            "diagnosed_on": "2021-02-16",
            "id": 1213,
            "medical_condition_id": -19,
            "notes": "Cherry Eye Medical Condition"
        }
    ],
    "microchip_ids": [
        4918
    ],
    "microchip_nums": [
        "999999999999999"
    ],
    "name": "Christine",
    "notes": "",
    "price": "1000.00",
    "received_by_client_at": "2021-02-18T16:47:51.476121-05:00",
    "received_by_location_at": "2021-02-18T16:47:51.476121-05:00",
    "registry_records": [
        {
            "id": 4781,
            "number": "01",
            "registry_id": -1
        }
    ],
    "sale_price": null,
    "sold_price": null,
    "transaction_closed_at": null,
    "transaction_id": null,
    "treatment_events": [
        {
            "daterange": "[2021-02-17,2021-02-18]",
            "frequency": 2,
            "id": 72717,
            "notes": "Albon Metro Mix Treatment",
            "treatment_id": 27
        }
    ],
    "weight": 2272,
    "weighted_on": "2021-02-18",
    "weights": [
        {
            "id": 3394,
            "weighed_on": "2021-02-18",
            "weight": 2272
        },
        {
            "id": 3393,
            "weighed_on": "2021-02-12",
            "weight": 1818
        },
        {
            "id": 3392,
            "weighed_on": "2021-02-05",
            "weight": 1363
        }
    ]
}


GET /api/pets/{pet_id}/media – images and videos; videos paid feature add ons

Code Block
GET /api/pets/4916/media

{
    "count": 3,
    "objects": [
        {
            "deleted": false,
            "description": "Female Rottweiler Puppy for sale",
            "file": {
                "basename": "german-rottweiler-puppies-for-sale-females",
                "checksum": [
                    141,
...
                    69
                ],
                "content_type": {
                    "extensions": [
                        "jpg",
                        "jpeg",
                        "jpe",
                        "jfif"
                    ],
                    "id": 15,
                    "name": "image/jpeg"
                },
                "content_type_id": 15,
                "description": "Female Rottweiler Puppy for sale",
                "extension": "jpg",
                "id": 16499,
                "stored_at": "2021-02-18T16:55:21.200542-05:00"
            },
            "id": 6871,
            "image": {
                "id": 16499
            },
            "pet": {
                "id": 4916
            },
            "sort_order": 1,
            "tags": null,
            "type": "image"
        },
        {
            "deleted": false,
            "description": "Female Rottweiler Puppy for sale",
            "file": {
                "basename": "4889201_large-resize",
                "checksum": [
                    36,
...
                    91
                ],
                "content_type": {
                    "extensions": [
                        "jpg",
                        "jpeg",
                        "jpe",
                        "jfif"
                    ],
                    "id": 15,
                    "name": "image/jpeg"
                },
                "content_type_id": 15,
                "description": "Female Rottweiler Puppy for sale",
                "extension": "webp",
                "id": 16500,
                "stored_at": "2021-02-18T16:55:40.245084-05:00"
            },
            "id": 6872,
            "image": {
                "id": 16500
            },
            "pet": {
                "id": 4916
            },
            "sort_order": 2,
            "tags": null,
            "type": "image"
        },
        {
            "deleted": false,
            "description": "Female Rottweiler Puppy for sale",
            "file": {
                "basename": "male-or-female-rottie",
                "checksum": [
                    144,
...
                    133
                ],
                "content_type": {
                    "extensions": [
                        "jpg",
                        "jpeg",
                        "jpe",
                        "jfif"
                    ],
                    "id": 15,
                    "name": "image/jpeg"
                },
                "content_type_id": 15,
                "description": "Female Rottweiler Puppy for sale",
                "extension": "jpg",
                "id": 16498,
                "stored_at": "2021-02-18T16:55:07.462052-05:00"
            },
            "id": 6870,
            "image": {
                "id": 16498
            },
            "pet": {
                "id": 4916
            },
            "sort_order": 0,
            "tags": null,
            "type": "image"
        }
    ],
    "offset": 0,
    "total": 3
}

GET /api/pets/{pet_breeds – gets all breeds
GET /api/pet_breeds/{breed_id} – gets a specific breed - Please note that you must mark any Pinogy generated content with Pinogy’s copyright.

...

id}/images/{image_id}?include_contents=true

Code Block
GET /api/pets/4916/images/6870?include_contents=true

{
    "aliasesdeleted": [false,
    "description": "Female Rottweiler Puppy "Bernerfor Sennenhundsale",

       "Bernese Cattle Dog"
"file": {
   ],     "badgesbasename": ["male-or-female-rottie",
        {"checksum": [
           "deleted": false144,
...            "file":133
{        ],
        "basenamecontent_type": "badge-family-dog",{
                "checksumextensions": [
                    251"jpg",
...                "jpeg",
    75            "jpe",
    ],            "jfif"
    "content_type": {        ],
            "extensionsid": [15,
            "name": "image/jpeg"
        },
 "png"       "content_type_id": 15,
        "description": "Female Rottweiler Puppy for ]sale",
           "extension": "jpg",
        "id": 1616498,
        "stored_at": "2021-02-18T16:55:07.462052-05:00"
    },
     "namefiledata": "image/png"/9j/4AAQSkZJRgABAQEAYABgAADk...BASE64 STRING...qP/10UUDHfZFX5vT3pjwBvpRRQgP/2Q==",
    "id": 6870,
     "image": {
   },     "id": 16498
    },
     "content_type_idpet": 16,{
        "id": 4916
    },
    "descriptionsort_order": "Family Badge"0,
    "tags": null
}


GET /api/pet_breeds – gets all breeds
GET /api/pet_breeds/{breed_id} – gets a specific breed - Please note that you must mark any Pinogy generated content with Pinogy’s copyright.

Code Block
GET /api/pet_breeds/-137

  {
    "extensionaliases": "png",[
        "Rott",
        "idRottie":
 -556,   ],
    "badges": [
       "stored_at": "2019-02-21T17:43:58.127732-05:00" {
            },
            "id": -241,
            "name": "Family Dog"
        },
        {
            "deleted": false,
            "file": {
                "basename": "badge-guard-dog",
                "checksum": [
                    20,
...
                    95
                ],
                "content_type": {
                    "extensions": [
                        "png"
                    ],
                    "id": 16,
                    "name": "image/png"
                },
                "content_type_id": 16,
                "description": "Guard Dog Badge",
                "extension": "png",
                "id": -552,
                "stored_at": "2019-02-20T06:54:04.602865-05:00"
            },
            "id": -239216,
            "name": "Guard Dog"
        },
        {
            "deleted": false,
            "file": {
                "basename": "badge-akc-registrable",
                "checksum": [
                    254,
...
                    185
                ],
                "content_type": {
                    "extensions": [
                        "png"
                    ],
                    "id": 16,
                    "name": "image/png"
                },
                "content_type_id": 16,
                "description": "AKC Dog Badge",
                "extension": "png",
                "id": -555,
                "stored_at": "2019-02-20T06:54:04.224467-05:00"
            },
            "id": -240217,
            "name": "AKC Registrable"
        }
    ],
    "custom_fields": {
        "Height": "[3175136287,5216361235)",
        "Weight": "[584559,699686)"
    },
    "deleted": false,
    "description": "Big,The powerful,Rottweiler andis builta forrobust hardworking work,breed theof Bernesegreat Mountainstrength Dogdescended isfrom alsothe strikinglymastiffs beautifulof andthe blessedRoman withlegions. aA sweet,gentle affectionateplaymate nature.and Bernersprotector arewithin generallythe placidfamily butcircle, arethe alwaysRottie upobserves forthe aoutside rompworld with the owner, whom they live to pleasea self-assured aloofness.",
    "display_behavior": "Only if Available",
    "display_name": "Bernese Mountain DogRottweiler",
    "id": -25137,
    "images": [
        {
            "deleted": false,
            "description": "",
            "file": {
                "basename": "shutterstock_557885086534443167 (1)",
                "checksum": [
                    5387,
...
                    190253
                ],
                "content_type": {
                    "extensions": [
                        "jpg",
                        "jpeg",
                        "jpe",
                        "jfif"
                    ],
                    "id": 15,
                    "name": "image/jpeg"
                },
                "content_type_id": 15,
                "description": "",
                "extension": "jpg",
                "id": -260343,
                "stored_at": "2017-03-10T05:16:19.589197-05:00"
            },
            "id": -46129,
            "image": {
                "id": -260343
            },
            "sort_order": 100,
            "tags": null
        }
    ],
    "is_temp": false,
    "metrics": [
        {
            "deleted": false,
            "id": -729675,
            "name": "Disposition",
            "value": "4"
        },
        {
            "deleted": false,
            "id": -728674,
            "name": "Bark",
            "value": "78"
        },
        {
            "deleted": false,
            "id": -727673,
            "name": "Trainability",
            "value": "86"
        },
        {
            "deleted": false,
            "id": -726672,
            "name": "Energy",
            "value": "86"
        },
        {
            "deleted": false,
            "id": -725671,
            "name": "Grooming",
            "value": "62"
        },
        {
            "deleted": false,
            "id": -724670,
            "name": "Size",
            "value": "3"
        }
    ],
    "notes": [
        {
            "breed": {
                "id": -25137
            },
            "deleted": false,
            "description": "ExpressionThe Rottweiler is a strong, intelligentathletic, high-energy animateddogs and gentle.need Theplenty eyesof aredaily darkexercise brownincluding andbrisk slightlydaily ovalwalks, injogging, shaperunning with close-fitting eyelidsor swimming. InvertedDo orsome evertednosework eyelidswith arethis seriousbreed faults.and Blueyour eyeRottweiler colorwill islove a disqualificationit. TheInadequate earsmental arestimulation mediumcan sized,cause setthis high,breed triangularto indevelop shape,other gentlybehavior roundedissues, atsuch theas tipdestruction.",
and hang close to the head when in repose. When the Bernese Mountain Dog is alert, the ears are brought forward and raised at the base; the top of the ear is level with the top of the skull. The skull is flat on top and broad, with a slight furrow and a well-defined, but not exaggerated stop. The muzzle is strong and straight. The nose is always black. The lips are clean and, as the Bernese Mountain Dog is a dry-mouthed breed, the flews are only slightly developed. The teeth meet in a scissors bite. An overshot or undershot bite is a serious fault. Dentition is complete.""file": null,
            "group": {
                "id": -2,
                "name": "Breed Info"
            },
            "header": "Exercise/Energy Level",
            "id": -868,
            "filesort_index": null,7
        },
   "group": {    {
            "idbreed": -3,{
                "nameid": "Breed Standard"-137
            },
            "headerdeleted": "Head"false,
            "iddescription": "Neck--1231Powerful, well muscled, moderately long, slightly arched and without loose skin. Topline--The  "sort_index": 3
        },
        {
            "breed": {
                "id": -25
            },
            "deleted": false,
            "description": "The neck is strong, muscular and of medium length. The topline is level from the withers to the croup. The chest is deep and capacious with well-sprung, but not barrelshaped, ribs and brisket reaching at least to the elbows. The back is broad and firm. The loin is strong. The croup is broad and smoothly rounded to the tail insertion. The tail is bushy. It should be carried low when in repose. An upward swirl is permissible when the dog is alert, but the tail may never curl or be carried over the back. The bones in the tail should feel straight and should reach to the hock joint or below. A kink in the tail is a fault.   ",back is firm and level, extending in a straight line from behind the withers to the croup. The back remains horizontal to the ground while the dog is moving or standing. Body--The chest is roomy, broad and deep, reaching to elbow, with well pronounced forechest and well sprung, oval ribs. Back is straight and strong. Loin is short, deep and well muscled. Croup is broad, of medium length and only slightly sloping. Underline of a mature Rottweiler has a slight tuck-up. Males must have two normal testicles properly descended into the scrotum. Disqualification--Unilateral cryptorchid or cryptorchid males. Tail--Tail docked short, close to body, leaving one or two tail vertebrae. The set of the tail is more important than length. Properly set, it gives an impression of elongation of topline; carried slightly above horizontal when the dog is excited or moving.",
            "file": null,
            "group": {
                "id": -3,
                "name": "Breed Standard"
            "file": null},
            "groupheader": {"Neck, Topline,  Body",
             "id": -3883,
            "sort_index": 4
  "name": "Breed Standard"    },
        },{
            "headerbreed": "Neck, Topline, Body",{
                "id": -1232,137
            "sort_index": 4},
         },   "deleted": false,
    {        "description": "A male Rottweiler will "breed": {
                "id": -25
            },
            "deleted": false,
            "description": "The Bernese Mountain Dog is tri-colored. The ground color is jet black. The markings are rich rust and clear white. Symmetry of markings is desired. Rust appears over   each eye, on the cheeks reaching to at least the corner of the mouth, on each side of the chest, on all four legs, and under the tail. There is a white blaze and muzzle band. A white marking on the chest typically forms an inverted cross. The tip of the tail is white. White on the feet is desired but must not extend higher than the pasterns. Markings other than described are to be faulted in direct relationship to the extent of the deviation. White legs or a white collar are serious faults. Any ground color other than black is a disqualification.   "stand anywhere from 24 to 27 muscular inches at the shoulder; females run a bit smaller and lighter. The glistening, short black coat with smart rust markings add to the picture of imposing strength. A thickly muscled hindquarters powers the Rottie\u2019s effortless trotting gait. A well-bred and properly raised Rottie will be calm and confident, courageous but not unduly aggressive. The aloof demeanor these world-class guardians present to outsiders belies the playfulness, and downright silliness, that endear Rotties to their loved ones. (No one told the Rottie he\u2019s not a toy breed, so he is liable plop onto your lap for a cuddle.) Early training and socialization will harness a Rottie\u2019s territorial instincts in a positive way.",
            "file": null,
            "group": {
                "id": -1,
                "name": "Overview"
            },
            "fileheader": null"About",
            "groupid": {-3168,
            "sort_index": 2
  "id": -3,     },
        {
  "name": "Breed Standard"        "breed": {
   },             "headerid": "Color and Markings",-137
             "id": -1233},
            "sort_indexdeleted": 8false,
        },    "description": "The Roman Empire was {the organizing force behind Western Europe\u2019s formative years, and dog breeding was among "breed": {
                "id": -25
            },
            "deleted": false,
            "description": "Blue eye color. Any ground color other than black",
            "file": null,
            "group": {
                "id": -3,
                "name": "Breed Standard"
            },
            "header": "Disqualifications",
            "id": -1234,
            "sort_index": 11
        },
        {
            "breed": {
                "id": -25
            },
            "deleted": false,
            "description": "Workingthe many pursuits forever altered by the Roman genius for practical problem solving. When conquering Roman legions marched to far-flung corners of the world, they brought their herds with them as food on the hoof. The army required tough, durable dogs to move and guard the herd. Utilizing Asian mastiff types as breeding stock, the Romans developed the distant ancestor of today\u2019s Rottweiler. For centuries the legions struggled to contain Germanic tribes, the so-called barbarian hoards, massed on the Empire\u2019s northern borders. The dogs the Romans brought to these areas became foundation stock for many German breeds. In the centuries after the empire\u2019s collapse, the Roman drover dogs found work in the cattle town of Rottweil. It was here, moving herds from pasture to market and protecting all concerned from bandits and rustlers along the way, that they earned the name Rottweiler Metzgerhund, or Butcher\u2019s Dog of Rottweil. The Rottie\u2019s career in livestock ended with the rise of the railroad cattle cars in the 1800s. They found new work as police dogs, personal protectors, and all-around blue-collar dogs capable of performing various heavy-duty tasks. Rotties were among the first guide dogs for the blind, and in more recent times they distinguished themselves as search-and-rescue workers at such disaster sites as Oklahoma City and the World Trade Center. Considering the many roles the breed has played during its long history, it is remarkable that the Butcher\u2019s Dog has changed little in form and temper since its first German breed standard was drawn up in 1901.",
            "file": null,
            "group": {
                "id": -1,
                "name": "Overview"
            },
            "header": "GroupHistory",
            "id": -32253169,
            "sort_index": 03
        },
        {
            "breed": {
                "id": -25137
            },
            "deleted": false,
            "description": "The Berneseideal Mountain DogRottweiler is a medium large, sturdyrobust workerand whopowerful candog, standblack overwith 27clearly inchesdefined atrust the shouldermarkings. TheHis thick,compact silky, and moderatelysubstantial longbuild coatdenotes is tricolored: jet blackgreat strength, clearagility white, and rustendurance. TheDogs distinctiveare markingscharacteristically onmore themassive coatthroughout andwith face are breed hallmarkslarger frame and, combinedheavier withbone thethan intelligentbitches. gleamBitches inare thedistinctly dark eyesfeminine, addbut towithout theweakness Berner\u2019sof aurasubstance ofor majestic nobilitystructure.",
A hardy dog who thrives in cold weather, the Berner\u2019s brain and brawn helped him multitask on the farms and pastures of Switzerland. Berners get along with the entire family and are particularly gentle with children, but they will often become more attached to one lucky human. Berners are imposing but not threatening, and they maintain an aloof dignity with strangers.",
            "file": null,
            "group": {
                ""file": null,
            "group": {
                "id": -1,
                "name": "Overview"
            },
            "header": "AboutStandard",
            "id": -32263170,
            "sort_index": 24
        },
        {
            "breed": {
                "id": -25137
            },
            "deleted": false,
            "description": "The BerneseRottweiler Mountainshould Dogdo iswell oneon ofa fourhigh-quality mountain-dog breedsfood, whowhether werecommercially longmanufactured ator home-prepared with inyour theveterinarian\u2019s cantonsupervision ofand Bern,approval. aAny vastdiet agriculturalshould regionbe vital to the dairy production required for two of Switzerland\u2019s most profitable exports: chocolate and cheese. Even today, Bern\u2019s website tells us, \u201cOver 12,000 farms are spread over the canton\u2019s valleys, hills, and mountain areas.\u201d Berners earned their keep by droving cattle, guarding farmyards from predators, and serving as gentle companions when the hard work of the day was done. Perhaps their greatest claim to working-dog fame is their ability to pull many times their own weight as drafting dogs, with their broad and muscular hindquarters generating immense strength. Despite the breed\u2019s great utility in the days before mechanized farming and ranching, by the late 1800s the Berner\u2019s numbers were dwindling and the quality of the surviving dogs left something to be desired. A painstaking effort was begun by Swiss fanciers to reverse the breed\u2019s decline. In 1907, a Swiss breed club was formed under the leadership of Professor Albert Heim, perhaps the most respected European dog man of his generation. Before long, Berners were once again a favored farm dog, and they also caught on as companions with Swiss householders. The breed\u2019s American history began in 1926, when a Kansas farmer imported a pair as all-around farm dogs. They caught on quickly, and the AKC registered its first Berner in 1937. Today, the Bernese Mountain Dog Club of America sponsors drafting and carting events that test the working ability of these majestic mountaineersappropriate to the dog\u2019s age (puppy, adult, or senior). Some dogs are prone to getting overweight, so watch your dog\u2019s calorie consumption and weight level. Treats can be an important aid in training, but giving too many can cause obesity. Learn about which human foods are safe for dogs, and which are not. Check with your vet if you have any concerns about your dog\u2019s weight or diet. Clean, fresh water should be available at all times.",
            "file": null,
            "group": {
                "id": -1,
                "name": "Overview"
            },
            "header": "Nutrition",
            "id": -3171,
            "sort_index": 5
        },
        {
            "breed": {
                "id": -137
            },
            "deleted": false,
            "description": "The Rottweiler has a straight, coarse, medium-length outer coat that lies flat. The undercoat is present on the neck and thighs. He should be brushed weekly and bathed regularly. He sheds only very moderately for most of the year, although he will shed more profusely twice a year, usually in the spring and fall. His teeth should be brushed and nails trimmed weekly. The use of a grinding tool such as a Dremel is especially effective in trimming the nails.",
            "file": null,
            "group": {
                "id": -1,
                "name": "Overview"
            },
            "header": "Grooming",
            "id": -3172,
            "sort_index": 6
        },
        {
            "breed": {
                "id": -137
            },
            "deleted": false,
            "description": "Rottweilers love swimming, walking, and trotting, especially with their people. The breed is muscular and athletic, and should have the opportunity to exercise on a daily basis. If there are jobs to do, Rottweilers learn easily to cart and are excellent workers in herding, tracking, and obedience. There is no limit to the canine activities that the Rottweiler can learn to do. Excess weight is not good for any dog, and exercise can help to keep your Rottweiler fit and healthy.",
            "file": null,
            "group": {
                "id": -1,
                "name": "Overview"
            },
            "header": "Exercise",
            "id": -3173,
            "sort_index": 7
        },
        {
            "breed": {
                "id": -137
            },
            "deleted": false,
            "description": "The Rottweiler must be trained starting early in his life. Leadership, puppy socialization, basic training classes, and living in the owner\u2019s home are key to raising a well-mannered Rottweiler. Rottweilers are \u201cpeople dogs\u201d who do not do well isolated from humans and life experiences. No matter the breed, dogs must live in this world complete with strange animals and people. One expert in the breed notes, \u201cAs a Rottweiler owner, it is my responsibility to spend time, energy, and money giving my dog the opportunities to learn on a day-to-day basis.\u201d The breed is intelligent, highly trainable and wants to please, although some may be stubborn. It is very important that discipline be consistent, fair, and firm, without being rough. Roughhousing with the Rottweiler may encourage aggression and should be avoided. Rottweilers excel in many canine sports, and the breed works with a human partner in many functional roles.",
            "file": null,
            "group": {
                "id": -1,
                "name": "Overview"
            },
            "header": "Training",
            "id": -3174,
            "sort_index": 8
        },
        {
            "breed": {
                "id": -137
            },
            "deleted": false,
            "description": "Before breeding, responsible Rottweiler breeders have potential sires and dams tested for health problems such as hip dysplasia, a malformation of the hip joint that can be detected via X-ray; eye diseases and heart conditions. Cancer sometimes occurs in the breed, as in all dogs. David Waters, Ph.D., DVM, of the Gerald P. Murphy Cancer Foundation, has done research focused on cancer prevention funded by the Rottweiler Health Foundation. Dr. Waters has discovered that cancer and longevity are linked to a careful vaccination regimen, thus strengthening the immune system, as well as keeping males and females intact until at least six years of age.",
            "file": null,
            "group": {
                "id": -1,
                "name": "Overview"
            },
            "header": "HistoryHealth",
            "id": -32273175,
            "sort_index": 39
        },
        {
            "breed": {
                "id": -25137
            },
            "deleted": false,
            "description": "The Bernese Mountain Dog is a striking. tri-colored, large dog. He is sturdy and balanced. He is intelligent, strong and agile enough to do the draft and droving work for which he was used in the mountainous regions of his origin. Male dogs appear masculine, while bitches are distinctly feminine."Loyal, Loving, Confident Guardian",
            "file": null,
            "group": {
                "id": -3,
                "name": "Breed Standard"
            },
            "header": "Temperament",
            "id": -878,
            "filesort_index": null,10
        },
   "group": {    {
            "idbreed": -1,{
                "nameid": "Overview"-137
            },
            "headerdeleted": "Standard"false,
            "iddescription": -3228"Working",
            "sort_indexfile": 4null,
        },    "group": {
   {             "breedid": {-2,
                "idname": -25"Breed Info"
            },
            "deletedheader": false"Group",
            "descriptionid": "The Bernese Mountain Dog should do well on a high-quality dog food, whether commercially manufactured or home-prepared with your veterinarian\u2019s supervision and approval. Any diet should be appropriate to the dog\u2019s age (puppy, adult, or senior). Some dogs are prone to getting overweight, so watch your dog\u2019s calorie consumption and weight level. Treats can be an important aid in training, but giving too many can cause obesity. Learn about which human foods are safe for dogs, and which are not. Check with your vet if you have any concerns about your dog\u2019s weight or diet. Clean, fresh water should be available at all times."-870,
            "sort_index": 2
        },
        {
            "breed": {
                "id": -137
            },
            "filedeleted": nullfalse,
            "groupdescription": {
                "id": -1,
                "name": "Overview"
            },
            "header": "Nutrition",
            "id": -3229 "The Rottweiler is a trotter. His movement should be balanced, harmonious, sure, powerful and unhindered, with strong forereach and a powerful rear drive. The motion is effortless, efficient, and ground-covering. Front and rear legs are thrown neither in nor out, as the imprint of hind feet should touch that of forefeet. In a trot the forequarters and hindquarters are mutually coordinated while the back remains level, firm and relatively motionless. As speed increases the legs will converge under body towards a center line.",
            "sort_indexfile": 5null,
        },    "group": {
   {             "breedid": {-3,
                "idname": -25"Breed Standard"
            },
            "deletedheader": false,
            "description": "The Bernese Mountain Dog has a double coatGait",
with a longer outer coat and a wooly undercoat. Berners shed a fair amount"id": -866,
even more so during shedding season, which occurs twice a year. Weekly brushing\u2014daily during shedding season\u2014will help to remove loose hair and keep the dog looking his best. Any tangles can be worked out with a slicker brush or metal comb. As with all breeds, the nails should be trimmed regularly, as overly long nails can cause the dog pain and structural problems.",
 "sort_index": 9
        },
        {
            "breed": {
                "id": -137
           "file": null},
            "groupdeleted": false,
 {           "description": "The Rottweiler is a reliable,  "id": -1,
                "name": "Overview"
            },
            "header": "Grooming",
            "id": -3230powerful, brave, fearless, assertive breed. Your Rottweiler is a natural guard dog, steady, composed, loyal and highly intelligent. This breed needs a lot of early socialization, great with family and friends, but wary of unfamiliar people and will chase other pets. You need to be a calm, knowledgeable, and humane owner giving consistent and committed leadership to your Rottweiler using only motivational training methods. ",
            "sort_indexfile": 6null,
        },    "group": {
   {             "breedid": {-2,
                "idname": -25"Breed Info"
            },
            "deletedheader": false,
            "description": "Bernese Mountain Dogs need at least a half-hour of moderate exercise every day to stay healthy and happy. While they are definitely meant to live indoors with their human family, Berners enjoy outdoor activities and make great companions on long walks or hikes. Outdoorsy owners often take their canine companions camping and backpacking. Berners enjoy pulling young children in a cart, and some even participate in carting and drafting competitions. Other canine sports in which Berners participate and excel include agility, herding, obedience, rally, and tracking.",
Personality",
            "id": -869,
            "sort_index": 6
        },
        {
            "breed": {
                "id": -137
           "file": null},
            "groupdeleted": false,
{            "description": "Originated in the German town "id": -1,
                "name": "Overview"
            },
            "header": "Exercise",
            "id": -3231of Rottweiler in Wurttemberg, the Rottweiler was a working dog in the Middle Ages as a herding dog, guard dog, messenger dog and a police K-9. Still used today for herding and guarding, this breed is also an excellent search and rescue dog, military and police K-9, tracking, schutzhund, competitive obedience, and assistance dog for people who are sight challenged.",
            "sort_indexfile": 7null,
        },    "group": {
   {             "breedid": {-2,
                "idname": -25"Breed Info"
            },
            "deletedheader": false"Heritage",
            "descriptionid": "Early socialization and obedience training are important for all dogs, but especially so for breeds as large as the Bernese Mountain Dog. Berners are intelligent and eager to please, so they are usually easy to train. They are also affectionate and openhearted; their feelings are easily hurt, and so they don\u2019t respond well to harsh corrections or training methods. A Berner wants to be with his family, and undesirable behaviors can result if he is regularly left alone for long periods of time.",
-871,
            "sort_index": 3
        },
        {
            "breed": {
                "id": -137
           "file": null},
            "groupdeleted": false,
{            "description": " \u00a0Grooming Requirements:  "id": -1,
                "name": "Overview"
            },
            "header": "Training",
            "id": -3232\u00a0 Requires regular brushing and bathing. \u00a0Coat: Short and thick \u00a0Shedding: Average shedding \u00a0Hypoallergenic: No, due to shedding \u00a0Apartment Living: Good for apartment living if given sufficient exercise \u00a0Lap Dog: No \u00a0Good With Children: Good with all children when well socialized at an early age. \u00a0Good With Other Pets: Generally good with other pets when well socialized at an early age. ",
            "sort_indexfile": 8null,
        },    "group": {
   {             "breedid": {-2,
                "idname": -25 "Breed Info"
            },
            "deletedheader": "Additional falseInformation",
            "descriptionid": "Berners-874,
are generally healthy dogs, and responsible breeders will screen their breeding stock for health conditions such as hip and elbow dysplasia, blood disorders, some cancers, and progressive retinal atrophy. All large breeds are susceptible to bloat, a sudden, life-threatening stomach condition. Berner owners should learn what signs to look out for, and what to do should they occur. As with all breeds, a Berner\u2019s ears should be checked regularly for signs of infection, and the teeth should be brushed often, using a toothpaste designed for dogs." "sort_index": 8
        },
        {
            "breed": {
                "id": -137
            },
            "filedeleted": nullfalse,
            "groupdescription": " {Some assert there is a German Rottweiler and an American Rottweiler. The German Rottweiler is thought to "id": -1be shorter, more thickset and burly with a big block head. The American Rottweiler is thought to be "name": "Overview"
            },
            "header": "Healthtaller and leggier without the block head. Arnold, a Rottweiler, is in the HBO series Entourage A Rottweiler was in the movie Lethal Weapon 3 ",
            "idfile": -3233null,
            "sort_indexgroup": 9{
        },         {"id": -4,
            "breed": {   "name": "Trivia"
            "id": -25},
             }"header": "Description",
            "deletedid": false-875,
            "descriptionsort_index": "The Bernese Mountain Dog, called in Swiss German the Berner Sennenhund, is a large breed of dog, one of the four breeds of Sennenhund-type dogs from the Swiss Alps. They accompanied the alpine herders and dairymen. Originally kept as general farm dogs, large Sennenhunds in the past were also used as draft animals, pulling carts." 1
        },
        {
            "breed": {
                "id": -137
            },
            "filedeleted": nullfalse,
            "groupdescription": {"   American Canine Association Continental Kennel Club Universal Kennel Club International American Kennel Club United All Breed Registry  "id": -1,
                "name": "Overview"America's Pet Registry, Inc. United Kennel Club (Based on breed recognition. See store for details on this   particular puppy.) ",
            "file": }null,
            "headergroup": "Overview",{
                "id": -1252,
            "sort_index": 1   "name": "Breed Info"
   },         {},
            "breedheader": {"Clubs, Registries & Associations",
             "id": -25
            }876,
            "deletedsort_index": false,1
        },
   "description": "Measured at the withers, dogs{
are 25 to 27\u00bd inches; bitches are 23 to 26 inches. Though appearing square, Bernese Mountain Dogs are slightly longer in body than they are tall. Sturdy bone is of great importance. The body is full. undershot bite is a serious fault. Dentition is complete.""breed": {
                "id": -137
            },
            "filedeleted": nullfalse,
            "groupdescription": {
                "id": -3,
                "name": "Breed Standard"
            },
            "header": "Size, Proportion, Substance",
            "id": -126 "Faults - The foregoing is a description of the ideal Rottweiler. Any structural fault that detracts from the above described working dog must be penalized to the extent of the deviation. Disqualifications - Entropion, ectropion. Overshot, undershot (when incisors do not touch or mesh); wry mouth; two or more missing teeth. Unilateral cryptorchid or cryptorchid males. Long coat. Any base color other than black; absence of all markings. A dog that in the opinion of the judge attacks any person in the ring.",
            "sort_indexfile": 2null,
        },    "group": {
   {             "breedid": {-3,
                "idname": -25 "Breed Standard"
            },
            "deletedheader": false"Disqualifications",
            "descriptionid": "The-877,
natural working gait of the Bernese Mountain Dog is a slow trot. However, in keeping with his use in draft and droving work, he is capable of speed and agility. There is good reach in front. Powerful drive from the rear is transmitted through a level back. There is no wasted action. Front and rear legs on each side follow through in the same plane. At increased speed, legs tend to converge toward the center line.",
 "sort_index": 11
        },
        {
            "breed": {
                "id": -137
           "file": null},
            "groupdeleted": {false,
            "description": "Always black with "id": -3,
                "name": "Breed Standard"
            },
            "header": "Gait",
            "id": -129,
            "sort_index": 9
        },
        {
            "breed": {
                "id": -25
            },
            "deleted": false,
            "description": " The Bernese is one of four varieties of Swiss Mountain Dog. The Bernese is known in native land as Berner Sennenhund. The Bernese shares similar distinctive coloring with the other varieties of Swiss Mountain Dog, but it is the only one of the four to have a long, silky coat. The Bernese worked as drovers and draft dogs as well as watchdogs in the farmyards, mainly in the Canton of Berne, Switzerland. The ancestors of the Bernese dogs were brought into Switzerland over two thousand years ago by the invading Roman soldiers. Until a few years before WWI, the Bernese had been almost forgotten by all save the oldest inhabitants of Berne, when the breed had become practically unrecognizable. It was not until 1892 that the Swiss fancier Franz Schertenleib attempted to find good specimens to be used as breeding stock. ",rust to mahogany markings. The demarcation between black and rust is to be clearly defined. The markings should be located as follows: a spot over each eye; on cheeks; as a strip around each side of muzzle, but not on the bridge of the nose; on throat; triangular mark on both sides of prosternum;on forelegs from carpus downward to the toes; on inside of rear legs showing down the front of the stifle and broadening out to front of rear legs from hock to toes, but not completely eliminating black from rear of pasterns; un-der tail; black penciling on toes. The undercoat is gray, tan, or black. Quantity and location of rust markings is important and should not exceed ten percent of body color. Serious Faults--Straw-colored, excessive, insufficient or sooty markings; rust marking other than described above; white marking any place on dog (a few rust or white hairs do not constitute a marking). Disqualifications--Any base color other than black; absence of all markings.",
            "file": null,
            "group": {
                "id": -3,
                "name": "Breed Standard"
            },
            "header": "Color",
            "id": -879,
            "sort_index": 8
        },
        {
            "filebreed": {
   null,             "groupid": {-137
            },
            "iddeleted": -4false,
 
              "namedescription": "Trivia"Outer coat is straight, coarse, dense, of medium length and lying flat. Undercoat },should be present on neck and thighs, but the amount is influenced by "header": "Did you know?",
            "id": -130,
            "sort_index": 10
        },
        {
            "breed": {climatic conditions. Undercoat should not show through outer coat. The coat is shortest on head, ears and legs, longest on breeching. The Rottweiler is to be exhibited in the natural condition with no trimming. Fault--Wavy coat. Serious Faults--Open, excessively short, or curly coat; total lack of undercoat; any trimming that alters the length of the natural coat. Disqualification--Long coat.",
            "file": null,
   "id": -25        "group": {
   },             "deletedid": false,-3,
                "descriptionname": "Breed Standard"The
 coat is thick, moderately long and slightly wavy or straight. It has},
a bright natural sheen. Extremely curly or extremely dull-looking coats are undesirable. The Bernese Mountain Dog is shown in natural coat and undue trimming is to be discouraged." "header": "Coat",
            "id": -880,
            "filesort_index": null,7
        },
   "group": {    {
            "idbreed": -3,{
                "nameid": "Breed Standard"-137
            },
            "headerdeleted": "Coat"false,
            "iddescription": -132,
            "sort_index": 7
        },
        {
            "breed": {
                "id": -25
            } "Angulation of hindquarters balances that of forequarters. Upper thigh is fairly long, very broad and well muscled. Stifle joint is well turned. Lower thigh is long, broad and powerful, with extensive muscling leading into a strong hock joint. Rear pasterns are nearly perpendicular to the ground. Viewed from the rear, hind legs are straight, strong and wide enough apart to fit with a properly built body. Feet are somewhat longer than the front feet, turning neither in nor out, equally compact with well arched toes. Pads are thick and hard. Nails short, strong, and black. Dewclaws must be removed.",
            "deletedfile": falsenull,
            "descriptiongroup": "The{
shoulders are moderately laid back, flat-lying, well-muscled and never loose. The legs are straight and strong and the elbows are well under the shoulder when the dog is standing. The pasterns slope very slightly. but are never weak. Dewclaws may be removed. The feet are round and compact with well-arched toes.""id": -3,
                "name": "Breed Standard"
            },
            "fileheader": null"Hindquarters",
            "groupid": {-881,
            "sort_index": 6
  "id": -3,     },
        {
  "name": "Breed Standard"        "breed": {
   },             "headerid": "Forequarters",-137
            "id": -133},
            "sort_indexdeleted": false,
5         },   "description": "Shoulder blade is long  {
            "breed": {
                "id": -25
            },
            "deleted": false,
            "description": "Good-Natured, Calm, Strongand well laid back. Upper arm equal in length to shoulder blade, set so elbows are well under body. Distance from withers to elbow and elbow to ground is equal. Legs are strongly developed with straight, heavy bone, not set close together. Pasterns are strong, springy and almost perpendicular to the ground. Feet are round, compact with well arched toes, turning neither in nor out. Pads are thick and hard. Nails short, strong and black. Dewclaws may be removed.",
            "file": null,
            "group": {
                "id": -3,
                "name": "Breed Standard"
            },
            "header": "TemperamentForequarters",
            "id": -137882,
            "sort_index": 105
        },
        {
            "breed": {
                "id": -25137
            },
            "deleted": false,
            "description": "FarmThe dogsideal byRottweiler heritage,is Bernersa needmedium alarge, moderaterobust amountand ofpowerful exercisedog, asblack wellwith asclearly consistentdefined obediencerust trainingmarkings. AsHis acompact double-coated breed, they also tend to shed, and so require regular brushing. Their gentle, easygoing manner and the need to be close to their people makes them a good fit for families.and substantial build denotes great strength, agility and endurance. Dogs are characteristically more massive throughout with larger frame and heavier bone than bitches. Bitches are distinctly feminine, but without weakness of substance or structure.   ",
            "file": null,
            "group": {
                "id": -23,
                "name": "Breed InfoStandard"
            },
            "header": "Right Breed for You?General Appearance",
            "id": -135885,
            "sort_index": 111
        },
        {
            "breed": {
                "id": -25137
            },
            "deleted": false,
            "description": "TheOf thighsmedium arelength, broad, strong and muscular. The stifles are moderately bent and taper smoothly into between the hocks.ears; Theforehead hocksline are well let down and straight as viewed from the rear. Dewclaws should be removed. Feet are compact and turn neither in nor out.",
            "file": null,
            "group": {
                "id": -3,
                "name": "Breed Standard"
            },
            "header": "Hindquarters",
            "id": -136,
            "sort_index": 12
        },
        {
            "breed": {
                "id": -25
            },
            "deleted": false,
            "description": "The Bernese Mountain Dog is a striking. tri-colored, large dog. He is sturdy and balanced. He is intelligent, strong and agile enough to do the draft and droving work for which he was used in the mountainous regions of his origin. Dogs appear masculine, while bitches are distinctly feminineseen in profile is moderately arched; zygomatic arch and stop well developed with strong broad upper and lower jaws. The desired ratio of backskull to muzzle is 3 to 2. Forehead is preferred dry, however some wrinkling may occur when dog is alert. Expression is noble, alert, and self-assured. Eyes of medium size, almond shaped with well fitting lids, moderately deep-set, neither protruding nor receding. The desired color is a uniform dark brown. Serious Faults--Yellow (bird of prey) eyes, eyes of different color or size, hairless eye rim. Disqualification--Entropion. Ectropion. Ears of medium size, pendant, triangular in shape; when carried alertly the ears are level with the top of the skull and appear to broaden it. Ears are to be set well apart, hanging forward with the inner edge lying tightly against the head and terminating at approximately mid-cheek. Serious Faults--Improper carriage (creased, folded or held away from cheek/head). Muzzle--Bridge is straight, broad at base with slight tapering towards tip. The end of the muzzle is broad with well developed chin. Nose is broad rather than round and always black. Lips-Always black; corners closed; inner mouth pigment is preferred dark. Serious Faults--Total lack of mouth pigment (pink mouth). Bite and Dentition--Teeth 42 in number (20 upper, 22 lower), strong, correctly placed, meeting in a scissors bite--lower incisors touching inside of upper incisors. Serious Faults--Level bite; any missing tooth. Disqualifications--Overshot, undershot (when incisors do not touch or mesh); wry mouth; two or more missing teeth.",
            "file": null,
            "group": {
                "id": -3,
                "name": "Breed Standard"
            },
            "header": "General AppearanceHead",
            "id": -138884,
            "sort_index": 13
        }
    ],
    "pet_type": {
        "available_pets_count": 56,
        "deleted": false,
        "has_litters": true,
        "id": -1,
        "is_enabled": true,
        "name": "Puppy",
        "plurals": {
            "Canine": "Canines",
            "Dog": "Dogs",
            "Puppy": "Puppies"
        },
        "slug": "puppies",
        "uses_band": false
    },
    "slug": "bernese-mountain-dogsrottweilers"
}

Leads

GET /api/leads – get all leads
GET /api/leads/{lead_id} – gets a specific lead

Code Block
GET /api/leads/329

{
    "address": null,
    "business_name": null,
    "claimed_by_user_id": null,
    "deleted": false,
    "emails": [
        "test@pinogy.com"
    ],
    "entity_id": null,
    "first_name": null,
    "id": 329,
    "last_name": null,
    "phones": [
        "0996226198"
    ],
    "source": {
        "deleted": false,
        "id": -3,
        "name": "Website"
    },
    "source_id": -3,
    "stage": "New",
    "website": null
}

GET /api/lead_conversations
GET /api/lead_conversations/{id}

Code Block
GET /api/lead_conversations/329

{
    "contacted_at": "2021-03-17T10:26:18.192576-04:00",
    "data": {
        "source_data": {
            "email": "test@pinogy.com",
            "firstname": "TestFirstName",
            "form": "contact",
            "form_plugin_id": 29879,
            "language": "en",
            "lastname": "TestLastName",
            "location_id": "4",
            "message": "TestMessage",
            "phone": "1234657890"
        }
    },
    "form": "contact",
    "id": 329,
    "lead": {
        "address": null,
        "business_name": null,
        "emails": [
            "test@pinogy.com"
        ],
        "first_name": null,
        "id": 331,
        "last_name": null,
        "phones": [
            "1234657890"
        ],
        "source": {
            "id": -3,
            "name": "Website"
        },
        "stage": "New",
        "website": null
    },
    "location_id": 4
}

...