POST api/CloudPOS
订单交互请求
请求的信息
URI参数
None.
Body参数
CloudPOSInfo| 名称 | 描述 | 类型 | 其它信息 |
|---|---|---|---|
| POSofRecipeinDrugstore |
POStoERP |
string |
None. |
| type |
23003 |
string |
None. |
| data |
数据 |
string |
None. |
| nonce |
16位随机数 |
string |
None. |
| timestamp |
时间字段 格式yyyyMMddHHmmssfff |
string |
None. |
| sign |
签名 |
string |
None. |
| key |
约定Key |
string |
None. |
| confirmInfoModel |
23005传入JSON模型 |
DLRecipeConfirmInfoData |
None. |
| createInfoModel |
23003传入JSON模型 |
DLRecipeCreateInfoData |
None. |
| selectInfoModel |
23001传入JSON模型 |
DLRecipeSelectInfoInformationData |
None. |
请求格式
application/json, text/json
Sample:
{
"poSofRecipeinDrugstore": "sample string 1",
"type": "sample string 2",
"data": "sample string 3",
"nonce": "sample string 4",
"timestamp": "sample string 5",
"sign": "sample string 6",
"key": "sample string 7",
"confirmInfoModel": {
"$id": "2",
"shopIDinERP": "sample string 1",
"orderNumberofPlatform": "sample string 2",
"recognizeID": "sample string 3",
"orderOpPharmacistID": "sample string 4",
"orderOpPharmacistName": "sample string 5",
"orderTimeofPlatform": "sample string 6",
"orderNumberofERP": "sample string 7",
"orderAmountofERP": "sample string 8",
"orderAmountofERPDiscount": "sample string 9",
"erpOrderTime": "sample string 10",
"orderCreatedSN": "sample string 11",
"orderStatus": 12,
"paymentStatus": 13,
"recipeDetail": {
"$id": "3",
"recipeDetailList": [
{
"$id": "4",
"recipeNumber": "sample string 1",
"createDate": "sample string 2",
"hospitalNumber": "sample string 3",
"hospitalName": "sample string 4",
"doctorNumber": "sample string 5",
"doctorName": "sample string 6",
"recipeNumberofHospital": "sample string 7",
"recipeType": "sample string 8",
"diagnosesName": "sample string 9",
"symptom": "sample string 10",
"departmentNumber": "sample string 11",
"departmentName": "sample string 12",
"patientCardNumber": "sample string 13",
"patientNumber": "sample string 14",
"patientID": "sample string 15",
"patientGentle": 16,
"patientBirthday": "sample string 17",
"patientName": "sample string 18",
"patientTelephone": "sample string 19",
"areaCode": "sample string 20",
"recipeOpPharmacistID": "sample string 21",
"recipeOpPharmacistName": "sample string 22",
"drugDetail": {
"$id": "5",
"drugDetailList": [
{
"$id": "6",
"drugNumberofHospital": "sample string 1",
"drugNumberofDrugstore": "sample string 2",
"drugNumberofSocialSecurity": "sample string 3",
"drugGenericName": "sample string 4",
"drugTradeName": "sample string 5",
"drugNameofStore": "sample string 6",
"spec": "sample string 7",
"dosage": "sample string 8",
"unit": "sample string 9",
"manufacturer": "sample string 10",
"drugStandardNumber": "sample string 11",
"drugAmount": "sample string 12",
"usageDosage": "sample string 13",
"unitPrice": "sample string 14",
"discountUnitPrice": "sample string 15"
},
{
"$ref": "6"
},
{
"$ref": "6"
}
]
}
},
{
"$ref": "4"
},
{
"$ref": "4"
}
]
},
"paymentDetail": {
"$id": "7",
"paymentDetailList": [
{
"$id": "8",
"paymentNumberofPlatform": "sample string 1",
"paymentOrderTime": "sample string 2",
"paymentOpPharmacistID": "sample string 3",
"paymentOpPharmacistName": "sample string 4",
"paymentType": 5,
"paymentThirdPartyString": "sample string 6",
"paymentStatus": 7,
"outerPaymentNumber": "sample string 8",
"merchantID": "sample string 9",
"paymentAmount": "sample string 10",
"payTime": "sample string 11",
"scanedCode": "sample string 12",
"paymentURL": "sample string 13",
"userID": "sample string 14",
"paymentTradeType": "sample string 15"
},
{
"$ref": "8"
},
{
"$ref": "8"
}
]
},
"refundDetail": {
"$id": "9",
"refundDetailList": [
{
"$id": "10",
"paymentNumberofPlatform": "sample string 1",
"refundNumberofPlatform": "sample string 2",
"refundOrderTime": "sample string 3",
"refundOpPharmacistID": "sample string 4",
"refundOpPharmacistName": "sample string 5",
"refundType": 6,
"refundThirdPartyString": "sample string 7",
"refundStatus": 8,
"outerRefundNumber": "sample string 9",
"merchantID": "sample string 10",
"refundAmount": "sample string 11",
"refundTime": "sample string 12"
},
{
"$ref": "10"
},
{
"$ref": "10"
}
]
}
},
"createInfoModel": {
"$id": "11",
"shopIDinERP": "sample string 1",
"recipeDetail": {
"$id": "12",
"recipeDetailList": [
{
"$id": "13",
"recipeNumber": "sample string 1",
"hospitalName": "sample string 2",
"doctorName": "sample string 3",
"patientID": "sample string 4",
"patientName": "sample string 5",
"drugDetail": {
"$id": "14",
"drugDetailList": [
{
"$id": "15",
"drugNumberofHospital": "sample string 1",
"drugNumberofDrugstore": "sample string 2",
"drugNumberofSocialSecurity": "sample string 3",
"drugGenericName": "sample string 4",
"drugTradeName": "sample string 5",
"drugNameofStore": "sample string 6",
"spec": "sample string 7",
"dosage": "sample string 8",
"unit": "sample string 9",
"manufacturer": "sample string 10",
"drugStandardNumber": "sample string 11",
"drugAmount": "sample string 12",
"usageDosage": "sample string 13",
"unitPrice": "sample string 14",
"isssPay": 15
},
{
"$ref": "15"
},
{
"$ref": "15"
}
]
}
},
{
"$ref": "13"
},
{
"$ref": "13"
}
]
}
},
"selectInfoModel": {
"$id": "16",
"shopIDinERP": "sample string 1",
"recipeDetail": {
"$id": "17",
"recipeDetailList": [
{
"$id": "18",
"recipeNumber": "sample string 1",
"hospitalName": "sample string 2",
"doctorName": "sample string 3",
"patientID": "sample string 4",
"patientName": "sample string 5",
"drugDetail": {
"$id": "19",
"drugDetailList": [
{
"$id": "20",
"drugNumberofHospital": "sample string 1",
"drugNumberofDrugstore": "sample string 2",
"drugNumberofSocialSecurity": "sample string 3",
"drugGenericName": "sample string 4",
"drugTradeName": "sample string 5",
"drugNameofStore": "sample string 6",
"spec": "sample string 7",
"dosage": "sample string 8",
"unit": "sample string 9",
"manufacturer": "sample string 10",
"drugStandardNumber": "sample string 11",
"drugAmount": "sample string 12",
"usageDosage": "sample string 13",
"unitPrice": "sample string 14",
"isssPay": 15
},
{
"$ref": "20"
},
{
"$ref": "20"
}
]
}
},
{
"$ref": "18"
},
{
"$ref": "18"
}
]
}
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
响应信息
资源描述
CustomJsonResultOfCloudPOSModel| 名称 | 描述 | 类型 | 其它信息 |
|---|---|---|---|
| Content | CloudPOSModel |
None. |
响应格式
application/json, text/json
Sample:
{
"content": {
"$id": "2",
"resultCode": "sample string 1",
"resultMsg": "sample string 2",
"nonce": "sample string 3",
"timestamp": "sample string 4",
"resultData": {
"$id": "3"
}
}
}