POST api/Taxenrl/Offlinepayment

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
rinbo
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Offlinedataitems": [
    {
      "printDate": "sample string 1",
      "SettlementType": "sample string 2",
      "header": {
        "AuthCode": "sample string 1",
        "terminalid": "sample string 2",
        "uniqueidentification": "sample string 3",
        "requesttype": "sample string 4"
      },
      "RINno": "sample string 3",
      "Location": "sample string 4",
      "PaytaxList": [
        {
          "taxid": 1,
          "Price": "sample string 2"
        },
        {
          "taxid": 1,
          "Price": "sample string 2"
        },
        {
          "taxid": 1,
          "Price": "sample string 2"
        }
      ]
    },
    {
      "printDate": "sample string 1",
      "SettlementType": "sample string 2",
      "header": {
        "AuthCode": "sample string 1",
        "terminalid": "sample string 2",
        "uniqueidentification": "sample string 3",
        "requesttype": "sample string 4"
      },
      "RINno": "sample string 3",
      "Location": "sample string 4",
      "PaytaxList": [
        {
          "taxid": 1,
          "Price": "sample string 2"
        },
        {
          "taxid": 1,
          "Price": "sample string 2"
        },
        {
          "taxid": 1,
          "Price": "sample string 2"
        }
      ]
    },
    {
      "printDate": "sample string 1",
      "SettlementType": "sample string 2",
      "header": {
        "AuthCode": "sample string 1",
        "terminalid": "sample string 2",
        "uniqueidentification": "sample string 3",
        "requesttype": "sample string 4"
      },
      "RINno": "sample string 3",
      "Location": "sample string 4",
      "PaytaxList": [
        {
          "taxid": 1,
          "Price": "sample string 2"
        },
        {
          "taxid": 1,
          "Price": "sample string 2"
        },
        {
          "taxid": 1,
          "Price": "sample string 2"
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<offlineNicpay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CommonHelpers.TaxCollection">
  <Offlinedataitems>
    <taxpayment>
      <Location>sample string 4</Location>
      <PaytaxList>
        <PayTaxList>
          <Price>sample string 2</Price>
          <taxid>1</taxid>
        </PayTaxList>
        <PayTaxList>
          <Price>sample string 2</Price>
          <taxid>1</taxid>
        </PayTaxList>
        <PayTaxList>
          <Price>sample string 2</Price>
          <taxid>1</taxid>
        </PayTaxList>
      </PaytaxList>
      <RINno>sample string 3</RINno>
      <header xmlns:d4p1="http://schemas.datacontract.org/2004/07/CommonHelpers.AuthenticationModels">
        <d4p1:AuthCode>sample string 1</d4p1:AuthCode>
        <d4p1:requesttype>sample string 4</d4p1:requesttype>
        <d4p1:terminalid>sample string 2</d4p1:terminalid>
        <d4p1:uniqueidentification>sample string 3</d4p1:uniqueidentification>
      </header>
      <SettlementType>sample string 2</SettlementType>
      <printDate>sample string 1</printDate>
    </taxpayment>
    <taxpayment>
      <Location>sample string 4</Location>
      <PaytaxList>
        <PayTaxList>
          <Price>sample string 2</Price>
          <taxid>1</taxid>
        </PayTaxList>
        <PayTaxList>
          <Price>sample string 2</Price>
          <taxid>1</taxid>
        </PayTaxList>
        <PayTaxList>
          <Price>sample string 2</Price>
          <taxid>1</taxid>
        </PayTaxList>
      </PaytaxList>
      <RINno>sample string 3</RINno>
      <header xmlns:d4p1="http://schemas.datacontract.org/2004/07/CommonHelpers.AuthenticationModels">
        <d4p1:AuthCode>sample string 1</d4p1:AuthCode>
        <d4p1:requesttype>sample string 4</d4p1:requesttype>
        <d4p1:terminalid>sample string 2</d4p1:terminalid>
        <d4p1:uniqueidentification>sample string 3</d4p1:uniqueidentification>
      </header>
      <SettlementType>sample string 2</SettlementType>
      <printDate>sample string 1</printDate>
    </taxpayment>
    <taxpayment>
      <Location>sample string 4</Location>
      <PaytaxList>
        <PayTaxList>
          <Price>sample string 2</Price>
          <taxid>1</taxid>
        </PayTaxList>
        <PayTaxList>
          <Price>sample string 2</Price>
          <taxid>1</taxid>
        </PayTaxList>
        <PayTaxList>
          <Price>sample string 2</Price>
          <taxid>1</taxid>
        </PayTaxList>
      </PaytaxList>
      <RINno>sample string 3</RINno>
      <header xmlns:d4p1="http://schemas.datacontract.org/2004/07/CommonHelpers.AuthenticationModels">
        <d4p1:AuthCode>sample string 1</d4p1:AuthCode>
        <d4p1:requesttype>sample string 4</d4p1:requesttype>
        <d4p1:terminalid>sample string 2</d4p1:terminalid>
        <d4p1:uniqueidentification>sample string 3</d4p1:uniqueidentification>
      </header>
      <SettlementType>sample string 2</SettlementType>
      <printDate>sample string 1</printDate>
    </taxpayment>
  </Offlinedataitems>
</offlineNicpay>

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

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "paymentresponses": [
    {
      "taxnheader": {
        "AuthCode": "sample string 1",
        "terminalid": "sample string 2",
        "uniqueidentification": "sample string 3",
        "requesttype": "sample string 4"
      },
      "respcode": 1,
      "respmsg": "sample string 2"
    },
    {
      "taxnheader": {
        "AuthCode": "sample string 1",
        "terminalid": "sample string 2",
        "uniqueidentification": "sample string 3",
        "requesttype": "sample string 4"
      },
      "respcode": 1,
      "respmsg": "sample string 2"
    },
    {
      "taxnheader": {
        "AuthCode": "sample string 1",
        "terminalid": "sample string 2",
        "uniqueidentification": "sample string 3",
        "requesttype": "sample string 4"
      },
      "respcode": 1,
      "respmsg": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<Offlineresponseitems xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CommonHelpers.TaxCollection">
  <paymentresponses>
    <Offpaymentresponse>
      <respcode>1</respcode>
      <respmsg>sample string 2</respmsg>
      <taxnheader xmlns:d4p1="http://schemas.datacontract.org/2004/07/CommonHelpers.AuthenticationModels">
        <d4p1:AuthCode>sample string 1</d4p1:AuthCode>
        <d4p1:requesttype>sample string 4</d4p1:requesttype>
        <d4p1:terminalid>sample string 2</d4p1:terminalid>
        <d4p1:uniqueidentification>sample string 3</d4p1:uniqueidentification>
      </taxnheader>
    </Offpaymentresponse>
    <Offpaymentresponse>
      <respcode>1</respcode>
      <respmsg>sample string 2</respmsg>
      <taxnheader xmlns:d4p1="http://schemas.datacontract.org/2004/07/CommonHelpers.AuthenticationModels">
        <d4p1:AuthCode>sample string 1</d4p1:AuthCode>
        <d4p1:requesttype>sample string 4</d4p1:requesttype>
        <d4p1:terminalid>sample string 2</d4p1:terminalid>
        <d4p1:uniqueidentification>sample string 3</d4p1:uniqueidentification>
      </taxnheader>
    </Offpaymentresponse>
    <Offpaymentresponse>
      <respcode>1</respcode>
      <respmsg>sample string 2</respmsg>
      <taxnheader xmlns:d4p1="http://schemas.datacontract.org/2004/07/CommonHelpers.AuthenticationModels">
        <d4p1:AuthCode>sample string 1</d4p1:AuthCode>
        <d4p1:requesttype>sample string 4</d4p1:requesttype>
        <d4p1:terminalid>sample string 2</d4p1:terminalid>
        <d4p1:uniqueidentification>sample string 3</d4p1:uniqueidentification>
      </taxnheader>
    </Offpaymentresponse>
  </paymentresponses>
</Offlineresponseitems>