POST api/Batch/AddBatch
Request Information
URI Parameters
None.
Body Parameters
AddBatchVm| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| BatchName | string |
None. |
|
| DelegateInfoID | integer |
None. |
|
| TargetAmount | decimal number |
None. |
|
| TargetComAmount | decimal number |
None. |
|
| Remark | string |
None. |
|
| PassiveDelegateParentName | string |
None. |
|
| NailId | integer |
None. |
|
| Delegatenper | string |
None. |
|
| OverdueAge | string |
None. |
|
| CollectionTimes | string |
None. |
|
| OverdueDay | string |
None. |
|
| IsNewCase | integer |
None. |
|
| OperatorID | integer |
None. |
|
| OperatorName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"BatchName": "sample string 2",
"DelegateInfoID": 3,
"TargetAmount": 4.0,
"TargetComAmount": 5.0,
"Remark": "sample string 6",
"PassiveDelegateParentName": "sample string 7",
"NailId": 1,
"Delegatenper": "sample string 8",
"OverdueAge": "sample string 9",
"CollectionTimes": "sample string 10",
"OverdueDay": "sample string 11",
"IsNewCase": 1,
"OperatorID": 12,
"OperatorName": "sample string 13"
}
application/xml, text/xml
Sample:
<AddBatchVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModel.Request"> <OperatorID xmlns="http://schemas.datacontract.org/2004/07/ViewModel.Condition">12</OperatorID> <OperatorName xmlns="http://schemas.datacontract.org/2004/07/ViewModel.Condition">sample string 13</OperatorName> <BatchName>sample string 2</BatchName> <CollectionTimes>sample string 10</CollectionTimes> <DelegateInfoID>3</DelegateInfoID> <Delegatenper>sample string 8</Delegatenper> <ID>1</ID> <IsNewCase>1</IsNewCase> <NailId>1</NailId> <OverdueAge>sample string 9</OverdueAge> <OverdueDay>sample string 11</OverdueDay> <PassiveDelegateParentName>sample string 7</PassiveDelegateParentName> <Remark>sample string 6</Remark> <TargetAmount>4</TargetAmount> <TargetComAmount>5</TargetComAmount> </AddBatchVm>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |