POST api/Cheque/Create

Request Information

URI Parameters

None.

Body Parameters

WebRequestOfCheque
NameDescriptionTypeAdditional information
Data

Cheque

None.

Token

string

None.

UserId

globally unique identifier

None.

IPAddress

string

None.

ClientType

integer

None.

PageSize

integer

None.

PageNumber

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Data": {
    "Id": "47e38bc6-c08b-4ebf-a032-c1aebea9367c",
    "UserId": "9b0f04a5-ed75-46d3-abc2-b15c53806933",
    "Value": 3.0,
    "ValueInt": 4,
    "ValueFraction": 5,
    "ValueText": "sample string 6",
    "Name": "sample string 7",
    "Date": "2017-09-20T20:25:11.8727648-05:00",
    "Status": 0,
    "Type": 0,
    "CreateDate": "2017-09-20T20:25:11.8727648-05:00"
  },
  "Token": "sample string 1",
  "UserId": "1f86be84-8ed4-4ad0-9955-5a2f1b3abb2f",
  "IPAddress": "sample string 3",
  "ClientType": 4,
  "PageSize": 1,
  "PageNumber": 1
}

application/xml, text/xml

Sample:
<WebRequestOfCheque6SwKynyy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMS.Model">
  <ClientType>4</ClientType>
  <IPAddress>sample string 3</IPAddress>
  <PageNumber>1</PageNumber>
  <PageSize>1</PageSize>
  <Token>sample string 1</Token>
  <UserId>1f86be84-8ed4-4ad0-9955-5a2f1b3abb2f</UserId>
  <Data>
    <CreateDate>2017-09-20T20:25:11.8727648-05:00</CreateDate>
    <Date>2017-09-20T20:25:11.8727648-05:00</Date>
    <Id>47e38bc6-c08b-4ebf-a032-c1aebea9367c</Id>
    <Name>sample string 7</Name>
    <Status>Pending</Status>
    <Type>Issued</Type>
    <UserId>9b0f04a5-ed75-46d3-abc2-b15c53806933</UserId>
    <Value>3</Value>
    <ValueFraction>5</ValueFraction>
    <ValueInt>4</ValueInt>
    <ValueText>sample string 6</ValueText>
  </Data>
</WebRequestOfCheque6SwKynyy>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

WebResponseOfCheque
NameDescriptionTypeAdditional information
Data

Cheque

None.

ErrorCode

ErrorCode

None.

ErrorDescription

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "Id": "4b95c0fa-b362-4f4f-9831-b054f3c9238c",
    "UserId": "2a367083-15e7-4cf7-ae75-cae4649c1bda",
    "Value": 3.0,
    "ValueInt": 4,
    "ValueFraction": 5,
    "ValueText": "sample string 6",
    "Name": "sample string 7",
    "Date": "2017-09-20T20:25:11.8727648-05:00",
    "Status": 0,
    "Type": 0,
    "CreateDate": "2017-09-20T20:25:11.8727648-05:00"
  },
  "ErrorCode": 0,
  "ErrorDescription": "sample string 1"
}

application/xml, text/xml

Sample:
<WebResponseOfCheque6SwKynyy 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>
    <CreateDate>2017-09-20T20:25:11.8727648-05:00</CreateDate>
    <Date>2017-09-20T20:25:11.8727648-05:00</Date>
    <Id>4b95c0fa-b362-4f4f-9831-b054f3c9238c</Id>
    <Name>sample string 7</Name>
    <Status>Pending</Status>
    <Type>Issued</Type>
    <UserId>2a367083-15e7-4cf7-ae75-cae4649c1bda</UserId>
    <Value>3</Value>
    <ValueFraction>5</ValueFraction>
    <ValueInt>4</ValueInt>
    <ValueText>sample string 6</ValueText>
  </Data>
</WebResponseOfCheque6SwKynyy>