POST VueApi/PushBillNews
下推一批单据
Request Information
URI Parameters
None.
Body Parameters
PushBillsReqModel| Name | Description | Type | Additional information |
|---|---|---|---|
| fSourceClassId | integer |
None. |
|
| fTargetClassId | integer |
None. |
|
| fPushBillEntry | Collection of PushBillSource |
None. |
|
| fSource | Collection of PushBillSource |
None. |
Request Formats
application/json, text/json
Sample:
{
"fSourceClassId": 1,
"fTargetClassId": 2,
"fPushBillEntry": [
{
"fSourceId": 1,
"fSourceEntryId": 2
},
{
"fSourceId": 1,
"fSourceEntryId": 2
}
],
"fSource": [
{
"fSourceId": 1,
"fSourceEntryId": 2
},
{
"fSourceId": 1,
"fSourceEntryId": 2
}
]
}
application/xml, text/xml
Sample:
<PushBillsReqModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.Models.Vue">
<fPushBillEntry xmlns:d2p1="http://schemas.datacontract.org/2004/07/DbFrameModel">
<d2p1:PushBillSource>
<d2p1:fSourceEntryId>2</d2p1:fSourceEntryId>
<d2p1:fSourceId>1</d2p1:fSourceId>
</d2p1:PushBillSource>
<d2p1:PushBillSource>
<d2p1:fSourceEntryId>2</d2p1:fSourceEntryId>
<d2p1:fSourceId>1</d2p1:fSourceId>
</d2p1:PushBillSource>
</fPushBillEntry>
<fSource xmlns:d2p1="http://schemas.datacontract.org/2004/07/DbFrameModel">
<d2p1:PushBillSource>
<d2p1:fSourceEntryId>2</d2p1:fSourceEntryId>
<d2p1:fSourceId>1</d2p1:fSourceId>
</d2p1:PushBillSource>
<d2p1:PushBillSource>
<d2p1:fSourceEntryId>2</d2p1:fSourceEntryId>
<d2p1:fSourceId>1</d2p1:fSourceId>
</d2p1:PushBillSource>
</fSource>
<fSourceClassId>1</fSourceClassId>
<fTargetClassId>2</fTargetClassId>
</PushBillsReqModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResModel| Name | Description | Type | Additional information |
|---|---|---|---|
| error | integer |
None. |
|
| Msg | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"error": 1,
"Msg": "sample string 2"
}
application/xml, text/xml
Sample:
<ResModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.VueApi"> <Msg>sample string 2</Msg> <error>1</error> </ResModel>