POST api/SupplierMaster/UploadDetail?CreatedBy={CreatedBy}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CreatedBy

integer

Required

Body Parameters

Collection of C_SupplierMaster
NameDescriptionTypeAdditional information
Id

integer

None.

SupplierCode

string

None.

SupplierName

string

None.

Address1

string

None.

Address2

string

None.

Address3

string

None.

CityId

integer

None.

DistrictId

integer

None.

TalukaId

integer

None.

StateId

integer

None.

CountryId

integer

None.

ZipCode

string

None.

Email

string

None.

MobileNo

string

None.

ContactPerson

string

None.

Active

string

None.

TDSApplicable

string

None.

LedgerCode

string

None.

SupplierType

integer

None.

SupplyDays

integer

None.

OfficeId

integer

None.

TransporterId

string

None.

TransporterName

string

None.

TransporterFlag

string

None.

DeliveryTermId

integer

None.

PaymentTermId

integer

None.

SupCusGroupId

integer

None.

MethodOfPayment

integer

None.

BankName

string

None.

IFSCCode

string

None.

MICRCode

string

None.

AccountNo

string

None.

CreatedBy

integer

None.

CreatedOn

date

None.

ModifiedBy

integer

None.

ModifiedOn

date

None.

SupplierPhoto

Collection of byte

None.

BankBranch

string

None.

IsContract

string

None.

FileName

string

None.

KeyContactPerson

string

None.

KeyContactPersonPhoneNo

string

None.

RegistrationType

integer

None.

ClassificationType

integer

None.

BeneficiaryName

string

None.

TCSApplicableFlag

string

None.

RCMFlag

string

None.

ImportInvoiceType

string

None.

ZeroTaxCategory

string

None.

MSME

string

None.

ActualCustomer

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "SupplierCode": "sample string 2",
    "SupplierName": "sample string 3",
    "Address1": "sample string 4",
    "Address2": "sample string 5",
    "Address3": "sample string 6",
    "CityId": 1,
    "DistrictId": 1,
    "TalukaId": 1,
    "StateId": 7,
    "CountryId": 1,
    "ZipCode": "sample string 8",
    "Email": "sample string 9",
    "MobileNo": "sample string 10",
    "ContactPerson": "sample string 11",
    "Active": "sample string 12",
    "TDSApplicable": "sample string 13",
    "LedgerCode": "sample string 14",
    "SupplierType": 1,
    "SupplyDays": 1,
    "OfficeId": 1,
    "TransporterId": "sample string 15",
    "TransporterName": "sample string 16",
    "TransporterFlag": "sample string 17",
    "DeliveryTermId": 1,
    "PaymentTermId": 1,
    "SupCusGroupId": 1,
    "MethodOfPayment": 1,
    "BankName": "sample string 18",
    "IFSCCode": "sample string 19",
    "MICRCode": "sample string 20",
    "AccountNo": "sample string 21",
    "CreatedBy": 1,
    "CreatedOn": "2024-04-28T04:48:02.3435542+00:00",
    "ModifiedBy": 1,
    "ModifiedOn": "2024-04-28T04:48:02.3435542+00:00",
    "SupplierPhoto": "QEA=",
    "BankBranch": "sample string 22",
    "IsContract": "sample string 23",
    "FileName": "sample string 24",
    "KeyContactPerson": "sample string 25",
    "KeyContactPersonPhoneNo": "sample string 26",
    "RegistrationType": 27,
    "ClassificationType": 28,
    "BeneficiaryName": "sample string 29",
    "TCSApplicableFlag": "sample string 30",
    "RCMFlag": "sample string 31",
    "ImportInvoiceType": "sample string 32",
    "ZeroTaxCategory": "sample string 33",
    "MSME": "sample string 34",
    "ActualCustomer": "sample string 35"
  },
  {
    "Id": 1,
    "SupplierCode": "sample string 2",
    "SupplierName": "sample string 3",
    "Address1": "sample string 4",
    "Address2": "sample string 5",
    "Address3": "sample string 6",
    "CityId": 1,
    "DistrictId": 1,
    "TalukaId": 1,
    "StateId": 7,
    "CountryId": 1,
    "ZipCode": "sample string 8",
    "Email": "sample string 9",
    "MobileNo": "sample string 10",
    "ContactPerson": "sample string 11",
    "Active": "sample string 12",
    "TDSApplicable": "sample string 13",
    "LedgerCode": "sample string 14",
    "SupplierType": 1,
    "SupplyDays": 1,
    "OfficeId": 1,
    "TransporterId": "sample string 15",
    "TransporterName": "sample string 16",
    "TransporterFlag": "sample string 17",
    "DeliveryTermId": 1,
    "PaymentTermId": 1,
    "SupCusGroupId": 1,
    "MethodOfPayment": 1,
    "BankName": "sample string 18",
    "IFSCCode": "sample string 19",
    "MICRCode": "sample string 20",
    "AccountNo": "sample string 21",
    "CreatedBy": 1,
    "CreatedOn": "2024-04-28T04:48:02.3435542+00:00",
    "ModifiedBy": 1,
    "ModifiedOn": "2024-04-28T04:48:02.3435542+00:00",
    "SupplierPhoto": "QEA=",
    "BankBranch": "sample string 22",
    "IsContract": "sample string 23",
    "FileName": "sample string 24",
    "KeyContactPerson": "sample string 25",
    "KeyContactPersonPhoneNo": "sample string 26",
    "RegistrationType": 27,
    "ClassificationType": 28,
    "BeneficiaryName": "sample string 29",
    "TCSApplicableFlag": "sample string 30",
    "RCMFlag": "sample string 31",
    "ImportInvoiceType": "sample string 32",
    "ZeroTaxCategory": "sample string 33",
    "MSME": "sample string 34",
    "ActualCustomer": "sample string 35"
  }
]

application/xml, text/xml

Sample:
<ArrayOfC_SupplierMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
  <C_SupplierMaster>
    <AccountNo>sample string 21</AccountNo>
    <Active>sample string 12</Active>
    <ActualCustomer>sample string 35</ActualCustomer>
    <Address1>sample string 4</Address1>
    <Address2>sample string 5</Address2>
    <Address3>sample string 6</Address3>
    <BankBranch>sample string 22</BankBranch>
    <BankName>sample string 18</BankName>
    <BeneficiaryName>sample string 29</BeneficiaryName>
    <CityId>1</CityId>
    <ClassificationType>28</ClassificationType>
    <ContactPerson>sample string 11</ContactPerson>
    <CountryId>1</CountryId>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-28T04:48:02.3435542+00:00</CreatedOn>
    <DeliveryTermId>1</DeliveryTermId>
    <DistrictId>1</DistrictId>
    <Email>sample string 9</Email>
    <FileName>sample string 24</FileName>
    <IFSCCode>sample string 19</IFSCCode>
    <Id>1</Id>
    <ImportInvoiceType>sample string 32</ImportInvoiceType>
    <IsContract>sample string 23</IsContract>
    <KeyContactPerson>sample string 25</KeyContactPerson>
    <KeyContactPersonPhoneNo>sample string 26</KeyContactPersonPhoneNo>
    <LedgerCode>sample string 14</LedgerCode>
    <MICRCode>sample string 20</MICRCode>
    <MSME>sample string 34</MSME>
    <MethodOfPayment>1</MethodOfPayment>
    <MobileNo>sample string 10</MobileNo>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedOn>2024-04-28T04:48:02.3435542+00:00</ModifiedOn>
    <OfficeId>1</OfficeId>
    <PaymentTermId>1</PaymentTermId>
    <RCMFlag>sample string 31</RCMFlag>
    <RegistrationType>27</RegistrationType>
    <StateId>7</StateId>
    <SupCusGroupId>1</SupCusGroupId>
    <SupplierCode>sample string 2</SupplierCode>
    <SupplierName>sample string 3</SupplierName>
    <SupplierPhoto>QEA=</SupplierPhoto>
    <SupplierType>1</SupplierType>
    <SupplyDays>1</SupplyDays>
    <TCSApplicableFlag>sample string 30</TCSApplicableFlag>
    <TDSApplicable>sample string 13</TDSApplicable>
    <TalukaId>1</TalukaId>
    <TransporterFlag>sample string 17</TransporterFlag>
    <TransporterId>sample string 15</TransporterId>
    <TransporterName>sample string 16</TransporterName>
    <ZeroTaxCategory>sample string 33</ZeroTaxCategory>
    <ZipCode>sample string 8</ZipCode>
  </C_SupplierMaster>
  <C_SupplierMaster>
    <AccountNo>sample string 21</AccountNo>
    <Active>sample string 12</Active>
    <ActualCustomer>sample string 35</ActualCustomer>
    <Address1>sample string 4</Address1>
    <Address2>sample string 5</Address2>
    <Address3>sample string 6</Address3>
    <BankBranch>sample string 22</BankBranch>
    <BankName>sample string 18</BankName>
    <BeneficiaryName>sample string 29</BeneficiaryName>
    <CityId>1</CityId>
    <ClassificationType>28</ClassificationType>
    <ContactPerson>sample string 11</ContactPerson>
    <CountryId>1</CountryId>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-28T04:48:02.3435542+00:00</CreatedOn>
    <DeliveryTermId>1</DeliveryTermId>
    <DistrictId>1</DistrictId>
    <Email>sample string 9</Email>
    <FileName>sample string 24</FileName>
    <IFSCCode>sample string 19</IFSCCode>
    <Id>1</Id>
    <ImportInvoiceType>sample string 32</ImportInvoiceType>
    <IsContract>sample string 23</IsContract>
    <KeyContactPerson>sample string 25</KeyContactPerson>
    <KeyContactPersonPhoneNo>sample string 26</KeyContactPersonPhoneNo>
    <LedgerCode>sample string 14</LedgerCode>
    <MICRCode>sample string 20</MICRCode>
    <MSME>sample string 34</MSME>
    <MethodOfPayment>1</MethodOfPayment>
    <MobileNo>sample string 10</MobileNo>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedOn>2024-04-28T04:48:02.3435542+00:00</ModifiedOn>
    <OfficeId>1</OfficeId>
    <PaymentTermId>1</PaymentTermId>
    <RCMFlag>sample string 31</RCMFlag>
    <RegistrationType>27</RegistrationType>
    <StateId>7</StateId>
    <SupCusGroupId>1</SupCusGroupId>
    <SupplierCode>sample string 2</SupplierCode>
    <SupplierName>sample string 3</SupplierName>
    <SupplierPhoto>QEA=</SupplierPhoto>
    <SupplierType>1</SupplierType>
    <SupplyDays>1</SupplyDays>
    <TCSApplicableFlag>sample string 30</TCSApplicableFlag>
    <TDSApplicable>sample string 13</TDSApplicable>
    <TalukaId>1</TalukaId>
    <TransporterFlag>sample string 17</TransporterFlag>
    <TransporterId>sample string 15</TransporterId>
    <TransporterName>sample string 16</TransporterName>
    <ZeroTaxCategory>sample string 33</ZeroTaxCategory>
    <ZipCode>sample string 8</ZipCode>
  </C_SupplierMaster>
</ArrayOfC_SupplierMaster>

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 'C_SupplierMaster[]'.

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.