post traits Endpoint
Sends genomic testing results to PULSE.
POST https://genetics.prod.vas.com/api/locations/com.vas.dairies.id/{location-id}/genomics/traits
Parameters (required)
In addition to the standard Authorization and API Key header parameters, the following are required:
ContentTypestringREQUIRED
Use application/json
Request bodyREQUIRED
Format required for the POST request. See the details below in the Request Schema.
Request Schema

Animal identifier

Sample number

Date the animal sample was collected

The traits include multiple data points that can be defined in an animal's genomic sample test results.


Ayrshire haplotype affecting fertility

Ayrshire haplotype affecting fertility

Ayrshire curly calf syndrome

Ayrshire/Red Breeds%

Body size composite

Body depth

Brown Swiss haplotype affecting stillbirth

Brown Swiss haplotype affecting early pregnancy loss

Brown Swiss haplotype for SDM

Brown Swiss haplotype for SMA

Brown Swiss haplotype for polledness

Brown Swiss haplotype for Weaver syndrome

Purebred/Crossbred evaluation

Breed name abbreviation. Learn more about VAS Developer API Cow Breeds.

Brown Swiss%

Calving ability

Cow conception rate

Cow conception rate

Chondrodysplasia
Supported values:
0: Free
1: Carrier
2: Affected
-1: No result available

Cheese merit dollars

Production type index/cow production index for the Guernsey breed

Displaced abomasum

Dam animal identifier

Daughter calving ease

Dairy form

Daughter pregnancy rate

Daughter calving ease

Early first calving

Expected future inbreeding

Fat amount

Fat percentage

Holstein feed efficiency index (FE)

Feet and legs composite

Feet and legs score

Fluid merit dollars

Feed saved

Foot angle

Holstein fertility index

Front teat placement

Fore udder attachment

Genomic future inbreeding

Genomic inbreeding

Gestation length

Grazing merit dollars

Guernsey%

Holstein haplotype for black/red color

Holstein haplotype for cholesterol deficiency

Heifer conception rate

Holstein haplotype for dominant red

Heterosis

Holstein haplotype associated with brachyspina

Ayrshire haplotype affecting fertility

First Holstein haplotype affecting fertility

Third Holstein haplotype affecting fertility

Fourth Holstein haplotype affecting fertility

Fifth Holstein haplotype affecting fertility

Sixth Holstein haplotype affecting fertility

Holstein haplotype for BLAD (bovine leukocyte adhesion deficiency)

Holstein haplotype for CVM (complex vertebral malformation)

Holstein haplotype for DUMPS (deficiency of uderine monophosphate synthase)

Holstein haplotype for mulefoot

Holstein haplotype for polled mutation

Holstein haplotype for red mutation

Heifer livability

Holstein muscle weakness

Holstein%

Jersey%

First Jersey haplotype affecting fertility

Jersey haplotype pedigree confirmation

Jersey JH2 haplotype
Supported values:
0: Free
1: Carrier
2: Affected

Jersey haplotype for pollness

Jersey haplotype pedigree confirmation

Jersey neuropathy with splayed forelimbs

Jersey haplotype pedigree confirmation

Jersey performance index

Jersey udder index

Kappa Casein

Livability

Milk amount

Milking speed

Net merit dollars

Pedigree inbreeding

Productive life

Protein amount

Protein percentage

Final score

Residual feed intake

Rear legs (rear view)

Rear legs (side view)

Rump angle

Teat placement (rear view)

Teat placement (side view)

Rear udder height

Rear udder width

Sire calving ease

Somatic cell score

Spinal dismyelination
Supported values:
0: Free
1: Carrier
2: Affected

Sire animal identifier

Sire still birth

Stature

Strength

Teat length

Total performance index for the Holstein breed

Thurl width

Udder cleft

Udder composite

Udder depth
curl -X POST
'https://genetics.prod.vas.com/api/locations/com.vas.dairies.id/{location-id}/genomics/traits' \
-H 'Authorization: bearer {authorization token}' \
-H 'X-API-Key: {API key}' \
-H 'Content-Type: application/json' \
--data-raw '{
"member": [
{
"officialId": "HO987654321987654",
"barCode": "Z00000001",
"date": "2023-01-01",
"traits": {
"AY_PCT": 30,
"BDC": 80,
"BDE": 0.01,
"BH14": 0,
"BLEND_CODE": "Purebred",
"BREED": "HO",
"BS_PCT": 50,
"CA$": 50,
"CCR": -0.8,
"CHONDRO": "C",
"CM": 674,
"CPI": 2687,
"DAB": 0.6,
"DAM17": "HO123003209000000",
"DCE": 1.8,
"DFM": -0.4,
"DPR": -1.5,
"DSB": 3.7,
"EFC": 0.8,
"FAT": 75,
"FATPCT": 0.19,
"FE": 250,
"FLS": 0.13,
"FM": 552,
"FS": -186
"FTA": -0.34,
"FTI": 70,
"FTP": 0.87,
"FUA": 0.72,
"GEN_FUT_INB": 11,
"GEN_INB": 16,
"GL": -0.1,
"GM": 555,
"GU_PCT": 30,
"HBR": 0,
"HCD": 0,
"HCR": -0.1,
"HDR": 0,
"HH0": 0,
"HH1": 0,
"HH2": 0,
"HH3": 0,
"HH4": 0,
"HH5": 0,
"HH6": 0,
"HHB": 0,
"HHC": 0,
"HHD": 0,
"HHM": 0,
"HHP": 0,
"HHR": 0,
"HLV": 1,
"HMW": 0,
"HO_PCT": 40,
"JE_PCT": 40,
"JPI
Jersey Performance Index": 2687,
"JUI
Jersey Udder Index": 2500,
"KCNI": "AB*",
"KET": 1.5,
"LIV": 2.2,
"MAS": 0.8,
"MET": 0.7,
"MFV": 0,
"MILK": 510,
"NM": 657,
"PED_INB": 11.6,
"PL": 4.3,
"PRO": 36,
"PROPCT": 0.07,
"PTAT": 0.43,
"RLR": 0.2,
"RLS": -0.05,
"RPA": -0.15,
"RPL": -0.1,
"RTP": 0.96,
"RUH": 0.48,
"RUW": 0.89,
"SCE": 1.7,
"SCS": 2.74,
"SIRE17": "HO123003100000000",
"SPINALDYS": "C",
"SSB": 5.1,
"STA": -0.28,
"STR": 0.4,
"TLG": 0.34,
"TPI": 2687,
"TRW": 0.03,
"UCL": 1.25,
"UDC": 90,
"UDP": 0.21
}
}
]
}'
Response
A successful response is 200 OK
or "unknownTraits": []
, which indicates that the system recognized all the traits in the request. See API Errors and HTTP Status Code Details for other possible responses.