文档
测试

活畜详情

GET
http://192.168.1.158:7001/PT_Server.asmx/GetCollarInfo?

接口描述

活畜详情 先用现有字段

请求参数

参数名
类型
描述
必填
xq_code
string
项圈编号:zwj_xq2
必填
phone
string
手机号:15811244406
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:Success
必填
JsonData
array
必填
eartag
体温耳标编码
必填
eartag3
rfid耳标编号
必填
typeName
活畜类别
必填
hairColorName
花色
必填
creatorTime
出生日期
必填
sex
0雌性 1雄性 性别
必填
fatherEartagType
父亲牛只编号类型
必填
fatherEartag
父亲牛只编号
必填
motherEartag
母亲牛只编号
必填
related
是否被监管 0否 1是
必填
bankName
放款银行
必填
rootTypeName
品种
必填
eartag2
电子项圈耳标编号
必填
eartag4
植入式芯片编号
必填
imageList
必填
imageUrl
图片地址
必填

说明 / 示例

{ "code": 1, "msg": "Success", "JsonData": [ "{\r\n \"CbLivestockList\": [\r\n {\r\n \"id\": 327,\r\n \"eartagType\": 0,\r\n \"eartag\": \"0000028\",\r\n \"eartag2\": \"zwj_xq2\",\r\n \"eartag3\": \"e20068060000000000000000\",\r\n \"eartag4\": null,\r\n \"typeId\": 37,\r\n \"rootTypeId\": 18,\r\n \"sex\": 1,\r\n \"birthday\": \"2020-10-23\",\r\n \"hairColorId\": 29,\r\n \"motherEartag\": \"0000029\",\r\n \"fatherEartagType\": 1,\r\n \"fatherEartag\": \"0000025\",\r\n \"modifyId\": 0,\r\n \"modifyTime\": null,\r\n \"modifyType\": null,\r\n \"creatorId\": 79,\r\n \"creatorTime\": \"2020-10-23 13:44:33\",\r\n \"status\": 1,\r\n \"creatorType\": 0,\r\n \"statusType\": 0,\r\n \"statusTime\": null,\r\n \"houseName\": null,\r\n \"typeName\": \"西门塔尔\",\r\n \"rootTypeName\": \"基础母牛\",\r\n \"hairColorName\": \"黄色\",\r\n \"msg\": null,\r\n \"days\": 0,\r\n \"age\": null,\r\n \"monthDays\": null,\r\n \"creatorName\": null,\r\n \"modifyName\": null,\r\n \"herdsmanId\": null,\r\n \"imageList\": [\r\n {\r\n \"id\": 362,\r\n \"livestockId\": 327,\r\n \"eartag\": \"0000028\",\r\n \"imageUrl\": \"http://117.161.27.4:8082/nxm-data/images/20201023134430_temp.jpg\",\r\n \"creatorName\": null,\r\n \"modifyName\": null\r\n }\r\n ],\r\n \"related\": 0,\r\n \"vaccineList1\": [],\r\n \"vaccineList2\": [],\r\n \"vaccineList3\": [],\r\n \"vaccineList4\": [],\r\n \"loanId\": null,\r\n \"corralId\": null,\r\n \"matingDate\": null,\r\n \"bankName\": \"\"\r\n }\r\n ]\r\n}" ] }