POST api/Cheque/Create

Request Information

URI Parameters

None.

Body Parameters

AppRequestOfCheque
NameDescriptionTypeAdditional information
Data

Cheque

None.

ClientDate

date

None.

Token

string

None.

UserId

globally unique identifier

None.

IPAddress

string

None.

MACAddress

string

None.

ClientType

integer

None.

PageSize

integer

None.

PageNumber

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Data": {
    "Id": "4501b132-b0cb-43d4-9f5d-1c7bfee18aa8",
    "UserId": "c4896f90-1e43-4999-a50b-1b8d013df2c1",
    "Value": 3.0,
    "ValueInt": 4,
    "ValueFraction": 5,
    "ValueText": "sample string 6",
    "Name": "sample string 7",
    "Date": "2017-11-19T04:33:30.1772425-06:00",
    "Status": 0,
    "Type": 0,
    "BankName": "sample string 9",
    "SequenceNumber": 10,
    "Note": "sample string 11",
    "CreateDate": "2017-11-19T04:33:30.1772425-06:00",
    "Sync": true,
    "NotificationStatus": true,
    "Notify": true
  },
  "ClientDate": "2017-11-19T04:33:30.1772425-06:00",
  "Token": "sample string 2",
  "UserId": "a6da4f12-8fa5-48dc-a503-fd4f8de2fd91",
  "IPAddress": "sample string 4",
  "MACAddress": "sample string 5",
  "ClientType": 6,
  "PageSize": 1,
  "PageNumber": 1
}

application/xml, text/xml

Sample:
<AppRequestOfCheque6SwKynyy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMS.Model">
  <ClientDate>2017-11-19T04:33:30.1772425-06:00</ClientDate>
  <ClientType>6</ClientType>
  <IPAddress>sample string 4</IPAddress>
  <MACAddress>sample string 5</MACAddress>
  <PageNumber>1</PageNumber>
  <PageSize>1</PageSize>
  <Token>sample string 2</Token>
  <UserId>a6da4f12-8fa5-48dc-a503-fd4f8de2fd91</UserId>
  <Data>
    <BankName>sample string 9</BankName>
    <CreateDate>2017-11-19T04:33:30.1772425-06:00</CreateDate>
    <Date>2017-11-19T04:33:30.1772425-06:00</Date>
    <Id>4501b132-b0cb-43d4-9f5d-1c7bfee18aa8</Id>
    <Name>sample string 7</Name>
    <Note>sample string 11</Note>
    <NotificationStatus>true</NotificationStatus>
    <Notify>true</Notify>
    <SequenceNumber>10</SequenceNumber>
    <Status>Pending</Status>
    <Sync>true</Sync>
    <Type>Issued</Type>
    <UserId>c4896f90-1e43-4999-a50b-1b8d013df2c1</UserId>
    <Value>3</Value>
    <ValueFraction>5</ValueFraction>
    <ValueInt>4</ValueInt>
    <ValueText>sample string 6</ValueText>
  </Data>
</AppRequestOfCheque6SwKynyy>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AppResponseOfCheque
NameDescriptionTypeAdditional information
Data

Cheque

None.

ErrorCode

ErrorCode

None.

ErrorDescription

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "Id": "3d63c2c4-7df8-475e-823e-ff94bf91b99f",
    "UserId": "26aca6b2-3d5c-4d83-9c79-590a3a13a0e1",
    "Value": 3.0,
    "ValueInt": 4,
    "ValueFraction": 5,
    "ValueText": "sample string 6",
    "Name": "sample string 7",
    "Date": "2017-11-19T04:33:30.1772425-06:00",
    "Status": 0,
    "Type": 0,
    "BankName": "sample string 9",
    "SequenceNumber": 10,
    "Note": "sample string 11",
    "CreateDate": "2017-11-19T04:33:30.1772425-06:00",
    "Sync": true,
    "NotificationStatus": true,
    "Notify": true
  },
  "ErrorCode": 0,
  "ErrorDescription": "sample string 1"
}

application/xml, text/xml

Sample:
<AppResponseOfCheque6SwKynyy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMS.Model">
  <ErrorCode>Success</ErrorCode>
  <ErrorDescription>sample string 1</ErrorDescription>
  <Data>
    <BankName>sample string 9</BankName>
    <CreateDate>2017-11-19T04:33:30.1772425-06:00</CreateDate>
    <Date>2017-11-19T04:33:30.1772425-06:00</Date>
    <Id>3d63c2c4-7df8-475e-823e-ff94bf91b99f</Id>
    <Name>sample string 7</Name>
    <Note>sample string 11</Note>
    <NotificationStatus>true</NotificationStatus>
    <Notify>true</Notify>
    <SequenceNumber>10</SequenceNumber>
    <Status>Pending</Status>
    <Sync>true</Sync>
    <Type>Issued</Type>
    <UserId>26aca6b2-3d5c-4d83-9c79-590a3a13a0e1</UserId>
    <Value>3</Value>
    <ValueFraction>5</ValueFraction>
    <ValueInt>4</ValueInt>
    <ValueText>sample string 6</ValueText>
  </Data>
</AppResponseOfCheque6SwKynyy>