POST api/Batch/AddbatchBankCaseContactBRImport

Request Information

URI Parameters

None.

Body Parameters

Collection of BatchCaseContactBRApiVm
NameDescriptionTypeAdditional information
BatchId

integer

None.

OperatorID

integer

None.

CaseNo

string

None.

Name

string

None.

Mobile

string

None.

MobileStatus

integer

None.

IsOneself

integer

None.

Delflag

integer

None.

IDCard

string

None.

Relation

string

None.

SourceType

integer

None.

CaseColor

string

None.

HomeAdress

string

None.

WorkAdress

string

None.

SelfIDCard

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "BatchId": 1,
    "OperatorID": 2,
    "CaseNo": "sample string 3",
    "Name": "sample string 4",
    "Mobile": "sample string 5",
    "MobileStatus": 6,
    "IsOneself": 7,
    "Delflag": 8,
    "IDCard": "sample string 9",
    "Relation": "sample string 10",
    "SourceType": 11,
    "CaseColor": "sample string 12",
    "HomeAdress": "sample string 13",
    "WorkAdress": "sample string 14",
    "SelfIDCard": "sample string 15"
  },
  {
    "BatchId": 1,
    "OperatorID": 2,
    "CaseNo": "sample string 3",
    "Name": "sample string 4",
    "Mobile": "sample string 5",
    "MobileStatus": 6,
    "IsOneself": 7,
    "Delflag": 8,
    "IDCard": "sample string 9",
    "Relation": "sample string 10",
    "SourceType": 11,
    "CaseColor": "sample string 12",
    "HomeAdress": "sample string 13",
    "WorkAdress": "sample string 14",
    "SelfIDCard": "sample string 15"
  }
]

application/xml, text/xml

Sample:
<ArrayOfBatchCaseContactBRApiVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModel.API">
  <BatchCaseContactBRApiVm>
    <BatchId>1</BatchId>
    <CaseColor>sample string 12</CaseColor>
    <CaseNo>sample string 3</CaseNo>
    <Delflag>8</Delflag>
    <HomeAdress>sample string 13</HomeAdress>
    <IDCard>sample string 9</IDCard>
    <IsOneself>7</IsOneself>
    <Mobile>sample string 5</Mobile>
    <MobileStatus>6</MobileStatus>
    <Name>sample string 4</Name>
    <OperatorID>2</OperatorID>
    <Relation>sample string 10</Relation>
    <SelfIDCard>sample string 15</SelfIDCard>
    <SourceType>11</SourceType>
    <WorkAdress>sample string 14</WorkAdress>
  </BatchCaseContactBRApiVm>
  <BatchCaseContactBRApiVm>
    <BatchId>1</BatchId>
    <CaseColor>sample string 12</CaseColor>
    <CaseNo>sample string 3</CaseNo>
    <Delflag>8</Delflag>
    <HomeAdress>sample string 13</HomeAdress>
    <IDCard>sample string 9</IDCard>
    <IsOneself>7</IsOneself>
    <Mobile>sample string 5</Mobile>
    <MobileStatus>6</MobileStatus>
    <Name>sample string 4</Name>
    <OperatorID>2</OperatorID>
    <Relation>sample string 10</Relation>
    <SelfIDCard>sample string 15</SelfIDCard>
    <SourceType>11</SourceType>
    <WorkAdress>sample string 14</WorkAdress>
  </BatchCaseContactBRApiVm>
</ArrayOfBatchCaseContactBRApiVm>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.