PUT api/SupplierMaster

Request Information

URI Parameters

None.

Body Parameters

Z_SupplierMasterDetailRequest
NameDescriptionTypeAdditional information
supplierMaster

C_SupplierMaster

None.

supplierRegInfoDetail

Collection of C_SupplierRegInfoDetail

None.

supplierMapping

Collection of C_SupplierMapping

None.

supplierMap

Collection of C_SuppMapping

None.

Request Formats

application/json, text/json

Sample:
{
  "supplierMaster": {
    "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-28T14:45:45.9366768+00:00",
    "ModifiedBy": 1,
    "ModifiedOn": "2024-04-28T14:45:45.9366768+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"
  },
  "supplierRegInfoDetail": [
    {
      "Id": 1,
      "SupplierCode": "sample string 2",
      "RegistrationCode": 1,
      "RegistrationNo": "sample string 3",
      "RegistrationDate": "2024-04-28T14:45:45.9366768+00:00",
      "CreatedBy": 1,
      "CreatedOn": "2024-04-28T14:45:45.9366768+00:00",
      "ModifiedBy": 1,
      "ModifiedOn": "2024-04-28T14:45:45.9366768+00:00",
      "ExpiryDate": "2024-04-28T14:45:45.9366768+00:00"
    },
    {
      "Id": 1,
      "SupplierCode": "sample string 2",
      "RegistrationCode": 1,
      "RegistrationNo": "sample string 3",
      "RegistrationDate": "2024-04-28T14:45:45.9366768+00:00",
      "CreatedBy": 1,
      "CreatedOn": "2024-04-28T14:45:45.9366768+00:00",
      "ModifiedBy": 1,
      "ModifiedOn": "2024-04-28T14:45:45.9366768+00:00",
      "ExpiryDate": "2024-04-28T14:45:45.9366768+00:00"
    }
  ],
  "supplierMapping": [
    {
      "Id": 1,
      "SupplierCode": "sample string 2",
      "BranchCode": 3,
      "CreatedBy": 1,
      "CreatedOn": "2024-04-28T14:45:45.9366768+00:00",
      "ModifiedBy": 1,
      "ModifiedOn": "2024-04-28T14:45:45.9366768+00:00"
    },
    {
      "Id": 1,
      "SupplierCode": "sample string 2",
      "BranchCode": 3,
      "CreatedBy": 1,
      "CreatedOn": "2024-04-28T14:45:45.9366768+00:00",
      "ModifiedBy": 1,
      "ModifiedOn": "2024-04-28T14:45:45.9366768+00:00"
    }
  ],
  "supplierMap": [
    {
      "Id": 1,
      "SupplierCode": "sample string 2",
      "MapSupplierCode": "sample string 3",
      "BranchCode": 4,
      "MapDate": "2024-04-28T14:45:45.9366768+00:00",
      "CreatedBy": 1,
      "CreatedOn": "2024-04-28T14:45:45.9366768+00:00",
      "ModifiedBy": 1,
      "ModifiedOn": "2024-04-28T14:45:45.9366768+00:00"
    },
    {
      "Id": 1,
      "SupplierCode": "sample string 2",
      "MapSupplierCode": "sample string 3",
      "BranchCode": 4,
      "MapDate": "2024-04-28T14:45:45.9366768+00:00",
      "CreatedBy": 1,
      "CreatedOn": "2024-04-28T14:45:45.9366768+00:00",
      "ModifiedBy": 1,
      "ModifiedOn": "2024-04-28T14:45:45.9366768+00:00"
    }
  ]
}

application/xml, text/xml

Sample:
<Z_SupplierMasterDetailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
  <supplierMap>
    <C_SuppMapping>
      <BranchCode>4</BranchCode>
      <CreatedBy>1</CreatedBy>
      <CreatedOn>2024-04-28T14:45:45.9366768+00:00</CreatedOn>
      <Id>1</Id>
      <MapDate>2024-04-28T14:45:45.9366768+00:00</MapDate>
      <MapSupplierCode>sample string 3</MapSupplierCode>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedOn>2024-04-28T14:45:45.9366768+00:00</ModifiedOn>
      <SupplierCode>sample string 2</SupplierCode>
    </C_SuppMapping>
    <C_SuppMapping>
      <BranchCode>4</BranchCode>
      <CreatedBy>1</CreatedBy>
      <CreatedOn>2024-04-28T14:45:45.9366768+00:00</CreatedOn>
      <Id>1</Id>
      <MapDate>2024-04-28T14:45:45.9366768+00:00</MapDate>
      <MapSupplierCode>sample string 3</MapSupplierCode>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedOn>2024-04-28T14:45:45.9366768+00:00</ModifiedOn>
      <SupplierCode>sample string 2</SupplierCode>
    </C_SuppMapping>
  </supplierMap>
  <supplierMapping>
    <C_SupplierMapping>
      <BranchCode>3</BranchCode>
      <CreatedBy>1</CreatedBy>
      <CreatedOn>2024-04-28T14:45:45.9366768+00:00</CreatedOn>
      <Id>1</Id>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedOn>2024-04-28T14:45:45.9366768+00:00</ModifiedOn>
      <SupplierCode>sample string 2</SupplierCode>
    </C_SupplierMapping>
    <C_SupplierMapping>
      <BranchCode>3</BranchCode>
      <CreatedBy>1</CreatedBy>
      <CreatedOn>2024-04-28T14:45:45.9366768+00:00</CreatedOn>
      <Id>1</Id>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedOn>2024-04-28T14:45:45.9366768+00:00</ModifiedOn>
      <SupplierCode>sample string 2</SupplierCode>
    </C_SupplierMapping>
  </supplierMapping>
  <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-28T14:45:45.9366768+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-28T14:45:45.9366768+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>
  </supplierMaster>
  <supplierRegInfoDetail>
    <C_SupplierRegInfoDetail>
      <CreatedBy>1</CreatedBy>
      <CreatedOn>2024-04-28T14:45:45.9366768+00:00</CreatedOn>
      <ExpiryDate>2024-04-28T14:45:45.9366768+00:00</ExpiryDate>
      <Id>1</Id>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedOn>2024-04-28T14:45:45.9366768+00:00</ModifiedOn>
      <RegistrationCode>1</RegistrationCode>
      <RegistrationDate>2024-04-28T14:45:45.9366768+00:00</RegistrationDate>
      <RegistrationNo>sample string 3</RegistrationNo>
      <SupplierCode>sample string 2</SupplierCode>
    </C_SupplierRegInfoDetail>
    <C_SupplierRegInfoDetail>
      <CreatedBy>1</CreatedBy>
      <CreatedOn>2024-04-28T14:45:45.9366768+00:00</CreatedOn>
      <ExpiryDate>2024-04-28T14:45:45.9366768+00:00</ExpiryDate>
      <Id>1</Id>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedOn>2024-04-28T14:45:45.9366768+00:00</ModifiedOn>
      <RegistrationCode>1</RegistrationCode>
      <RegistrationDate>2024-04-28T14:45:45.9366768+00:00</RegistrationDate>
      <RegistrationNo>sample string 3</RegistrationNo>
      <SupplierCode>sample string 2</SupplierCode>
    </C_SupplierRegInfoDetail>
  </supplierRegInfoDetail>
</Z_SupplierMasterDetailRequest>

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

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.