POST api/LegalInfo

Request Information

URI Parameters

None.

Body Parameters

LegalInfoModel
NameDescriptionTypeAdditional information
EndPointID

integer

None.

OwnerName

string

None.

DocType

integer

None.

DocID

string

None.

VoucherNo

integer

None.

ConfirmCode

integer

None.

SenderConfirmCode

integer

None.

LangID

integer

None.

Attachments

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EndPointID": 1,
  "OwnerName": "sample string 2",
  "DocType": 3,
  "DocID": "sample string 4",
  "VoucherNo": 5,
  "ConfirmCode": 6,
  "SenderConfirmCode": 7,
  "LangID": 8,
  "Attachments": "sample string 9"
}

text/xml

Sample:
<LegalInfoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iCashAPI.Models">
  <Attachments>sample string 9</Attachments>
  <ConfirmCode>6</ConfirmCode>
  <DocID>sample string 4</DocID>
  <DocType>3</DocType>
  <EndPointID>1</EndPointID>
  <LangID>8</LangID>
  <OwnerName>sample string 2</OwnerName>
  <SenderConfirmCode>7</SenderConfirmCode>
  <VoucherNo>5</VoucherNo>
</LegalInfoModel>

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 'LegalInfoModel'.

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.