POST api/DIY/UploadDIYData

Request Information

URI Parameters

None.

Body Parameters

TDSTotals
NameDescriptionTypeAdditional information
CustomerId

integer

None.

Deductor_pan

string

None.

Master

Collection of TDS_Master

None.

Payment

Collection of TDS_Payment

None.

Transaction

Collection of TDS_Transaction

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "Deductor_pan": "sample string 2",
  "Master": [
    {
      "Id": 1,
      "Name_of_deductee": "sample string 1",
      "Deductee_Pan": "sample string 2",
      "Deductee_Code": "sample string 3",
      "Nature_of_remittance": "sample string 4",
      "Country_of_residence": "sample string 5",
      "Email": "sample string 6",
      "ContactNumber": "sample string 7",
      "Address": "sample string 8",
      "Identification_no": "sample string 9",
      "Source": "sample string 10"
    },
    {
      "Id": 1,
      "Name_of_deductee": "sample string 1",
      "Deductee_Pan": "sample string 2",
      "Deductee_Code": "sample string 3",
      "Nature_of_remittance": "sample string 4",
      "Country_of_residence": "sample string 5",
      "Email": "sample string 6",
      "ContactNumber": "sample string 7",
      "Address": "sample string 8",
      "Identification_no": "sample string 9",
      "Source": "sample string 10"
    }
  ],
  "Payment": [
    {
      "PaymentId": 1,
      "Master_Id": 1,
      "TransId": 2,
      "Branch_Code": "sample string 3",
      "Challan_Number": "sample string 4",
      "Tax_of_Period": 5.0,
      "Payment_Surcharge": 6.0,
      "Payment_Cess": 7.0,
      "Interest": 8.0,
      "Others": 9.0,
      "Total_tax_Deposited": 10.0,
      "By_Book_Entery": true,
      "Minor_Head": 12,
      "Fee": 13.0,
      "Financial_Year": "sample string 14",
      "Quarter": 15,
      "Source": "sample string 16",
      "Deductee_pan": "sample string 17"
    },
    {
      "PaymentId": 1,
      "Master_Id": 1,
      "TransId": 2,
      "Branch_Code": "sample string 3",
      "Challan_Number": "sample string 4",
      "Tax_of_Period": 5.0,
      "Payment_Surcharge": 6.0,
      "Payment_Cess": 7.0,
      "Interest": 8.0,
      "Others": 9.0,
      "Total_tax_Deposited": 10.0,
      "By_Book_Entery": true,
      "Minor_Head": 12,
      "Fee": 13.0,
      "Financial_Year": "sample string 14",
      "Quarter": 15,
      "Source": "sample string 16",
      "Deductee_pan": "sample string 17"
    }
  ],
  "Transaction": [
    {
      "Trans_Id": 1,
      "Master_Id": 1,
      "Financial_Year": "sample string 2",
      "Section_Code": "sample string 3",
      "Deductee_pan": "sample string 4",
      "Deductee_ref_no": "sample string 5",
      "Paid_Date": "sample string 6",
      "Tax_Deducated_date": "sample string 7",
      "Rate": 8.0,
      "TaxFor_period": 9.0,
      "Sercharge": 10.0,
      "Cess": 11.0,
      "Amount_of_Paymnet": 12.0,
      "TotalTax_deposited": 13.0,
      "Bank_Challn_Number": "sample string 14",
      "Bank_Branch_Code": "sample string 15",
      "Challan_date": "sample string 16",
      "Reason": "sample string 17",
      "Certificate_Number": "sample string 18",
      "Grossing_up_indicator": "sample string 19",
      "Rate_of_tds": "sample string 20",
      "Acknowledgement": "sample string 21",
      "Quarter": 22,
      "Source": "sample string 23"
    },
    {
      "Trans_Id": 1,
      "Master_Id": 1,
      "Financial_Year": "sample string 2",
      "Section_Code": "sample string 3",
      "Deductee_pan": "sample string 4",
      "Deductee_ref_no": "sample string 5",
      "Paid_Date": "sample string 6",
      "Tax_Deducated_date": "sample string 7",
      "Rate": 8.0,
      "TaxFor_period": 9.0,
      "Sercharge": 10.0,
      "Cess": 11.0,
      "Amount_of_Paymnet": 12.0,
      "TotalTax_deposited": 13.0,
      "Bank_Challn_Number": "sample string 14",
      "Bank_Branch_Code": "sample string 15",
      "Challan_date": "sample string 16",
      "Reason": "sample string 17",
      "Certificate_Number": "sample string 18",
      "Grossing_up_indicator": "sample string 19",
      "Rate_of_tds": "sample string 20",
      "Acknowledgement": "sample string 21",
      "Quarter": 22,
      "Source": "sample string 23"
    }
  ]
}

application/xml, text/xml

Sample:
<TDSTotals xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataLibrary">
  <CustomerId>1</CustomerId>
  <Deductor_pan>sample string 2</Deductor_pan>
  <Master>
    <TDS_Master>
      <Address>sample string 8</Address>
      <ContactNumber>sample string 7</ContactNumber>
      <Country_of_residence>sample string 5</Country_of_residence>
      <Deductee_Code>sample string 3</Deductee_Code>
      <Deductee_Pan>sample string 2</Deductee_Pan>
      <Email>sample string 6</Email>
      <Id>1</Id>
      <Identification_no>sample string 9</Identification_no>
      <Name_of_deductee>sample string 1</Name_of_deductee>
      <Nature_of_remittance>sample string 4</Nature_of_remittance>
      <Source>sample string 10</Source>
    </TDS_Master>
    <TDS_Master>
      <Address>sample string 8</Address>
      <ContactNumber>sample string 7</ContactNumber>
      <Country_of_residence>sample string 5</Country_of_residence>
      <Deductee_Code>sample string 3</Deductee_Code>
      <Deductee_Pan>sample string 2</Deductee_Pan>
      <Email>sample string 6</Email>
      <Id>1</Id>
      <Identification_no>sample string 9</Identification_no>
      <Name_of_deductee>sample string 1</Name_of_deductee>
      <Nature_of_remittance>sample string 4</Nature_of_remittance>
      <Source>sample string 10</Source>
    </TDS_Master>
  </Master>
  <Payment>
    <TDS_Payment>
      <Branch_Code>sample string 3</Branch_Code>
      <By_Book_Entery>true</By_Book_Entery>
      <Challan_Number>sample string 4</Challan_Number>
      <Deductee_pan>sample string 17</Deductee_pan>
      <Fee>13</Fee>
      <Financial_Year>sample string 14</Financial_Year>
      <Interest>8</Interest>
      <Master_Id>1</Master_Id>
      <Minor_Head>12</Minor_Head>
      <Others>9</Others>
      <PaymentId>1</PaymentId>
      <Payment_Cess>7</Payment_Cess>
      <Payment_Surcharge>6</Payment_Surcharge>
      <Quarter>15</Quarter>
      <Source>sample string 16</Source>
      <Tax_of_Period>5</Tax_of_Period>
      <Total_tax_Deposited>10</Total_tax_Deposited>
      <TransId>2</TransId>
    </TDS_Payment>
    <TDS_Payment>
      <Branch_Code>sample string 3</Branch_Code>
      <By_Book_Entery>true</By_Book_Entery>
      <Challan_Number>sample string 4</Challan_Number>
      <Deductee_pan>sample string 17</Deductee_pan>
      <Fee>13</Fee>
      <Financial_Year>sample string 14</Financial_Year>
      <Interest>8</Interest>
      <Master_Id>1</Master_Id>
      <Minor_Head>12</Minor_Head>
      <Others>9</Others>
      <PaymentId>1</PaymentId>
      <Payment_Cess>7</Payment_Cess>
      <Payment_Surcharge>6</Payment_Surcharge>
      <Quarter>15</Quarter>
      <Source>sample string 16</Source>
      <Tax_of_Period>5</Tax_of_Period>
      <Total_tax_Deposited>10</Total_tax_Deposited>
      <TransId>2</TransId>
    </TDS_Payment>
  </Payment>
  <Transaction>
    <TDS_Transaction>
      <Acknowledgement>sample string 21</Acknowledgement>
      <Amount_of_Paymnet>12</Amount_of_Paymnet>
      <Bank_Branch_Code>sample string 15</Bank_Branch_Code>
      <Bank_Challn_Number>sample string 14</Bank_Challn_Number>
      <Certificate_Number>sample string 18</Certificate_Number>
      <Cess>11</Cess>
      <Challan_date>sample string 16</Challan_date>
      <Deductee_pan>sample string 4</Deductee_pan>
      <Deductee_ref_no>sample string 5</Deductee_ref_no>
      <Financial_Year>sample string 2</Financial_Year>
      <Grossing_up_indicator>sample string 19</Grossing_up_indicator>
      <Master_Id>1</Master_Id>
      <Paid_Date>sample string 6</Paid_Date>
      <Quarter>22</Quarter>
      <Rate>8</Rate>
      <Rate_of_tds>sample string 20</Rate_of_tds>
      <Reason>sample string 17</Reason>
      <Section_Code>sample string 3</Section_Code>
      <Sercharge>10</Sercharge>
      <Source>sample string 23</Source>
      <TaxFor_period>9</TaxFor_period>
      <Tax_Deducated_date>sample string 7</Tax_Deducated_date>
      <TotalTax_deposited>13</TotalTax_deposited>
      <Trans_Id>1</Trans_Id>
    </TDS_Transaction>
    <TDS_Transaction>
      <Acknowledgement>sample string 21</Acknowledgement>
      <Amount_of_Paymnet>12</Amount_of_Paymnet>
      <Bank_Branch_Code>sample string 15</Bank_Branch_Code>
      <Bank_Challn_Number>sample string 14</Bank_Challn_Number>
      <Certificate_Number>sample string 18</Certificate_Number>
      <Cess>11</Cess>
      <Challan_date>sample string 16</Challan_date>
      <Deductee_pan>sample string 4</Deductee_pan>
      <Deductee_ref_no>sample string 5</Deductee_ref_no>
      <Financial_Year>sample string 2</Financial_Year>
      <Grossing_up_indicator>sample string 19</Grossing_up_indicator>
      <Master_Id>1</Master_Id>
      <Paid_Date>sample string 6</Paid_Date>
      <Quarter>22</Quarter>
      <Rate>8</Rate>
      <Rate_of_tds>sample string 20</Rate_of_tds>
      <Reason>sample string 17</Reason>
      <Section_Code>sample string 3</Section_Code>
      <Sercharge>10</Sercharge>
      <Source>sample string 23</Source>
      <TaxFor_period>9</TaxFor_period>
      <Tax_Deducated_date>sample string 7</Tax_Deducated_date>
      <TotalTax_deposited>13</TotalTax_deposited>
      <Trans_Id>1</Trans_Id>
    </TDS_Transaction>
  </Transaction>
</TDSTotals>

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

Response Information

Resource Description

APIResult
NameDescriptionTypeAdditional information
status_cd

string

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status_cd": "sample string 1",
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<APIResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataLibrary">
  <message>sample string 2</message>
  <status_cd>sample string 1</status_cd>
</APIResult>