PUT api/CustomerMaster?BranchCode={BranchCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
BranchCode

integer

Required

Body Parameters

Z_CustomerMasterDetailRequest
NameDescriptionTypeAdditional information
customerMaster

C_CustomerMaster

None.

customerreginfodetail

Collection of C_CustomerRegInfoDetail

None.

customertypegroupdetail

Collection of C_CustomerTypeGroupDetail

None.

customerintrepdetail

Collection of C_CustomerIntRepDetail

None.

customerbranchdetail

Collection of C_CustomerMapping

None.

customermapdetail

Collection of C_CustMapping

None.

customerchequedetail

C_CustomerChequeDetails

None.

Request Formats

application/json, text/json

Sample:
{
  "customerMaster": {
    "Id": 1,
    "CustomerCode": "sample string 2",
    "CustomerName": "sample string 3",
    "Address1": "sample string 4",
    "Address2": "sample string 5",
    "Address3": "sample string 6",
    "CityId": 1,
    "StateId": 7,
    "CountryId": 1,
    "DistrictId": 1,
    "SubTerritoryId": 1,
    "TalukaId": 1,
    "ZipCode": "sample string 8",
    "Mobile": "sample string 9",
    "Email": "sample string 10",
    "DOB": "2024-04-28T07:27:33.1568208+00:00",
    "DOA": "2024-04-28T07:27:33.1568208+00:00",
    "OfficeId": 1,
    "TransporterId": "sample string 11",
    "CreditLimit": 1.1,
    "LedgerCode": "sample string 12",
    "CreditDays": 1,
    "DeliveryTermId": 1,
    "PaymentTermId": 1,
    "SupCusGroupId": 1,
    "Active": "sample string 13",
    "CreatedBy": 1,
    "CreatedOn": "2024-04-28T07:27:33.1568208+00:00",
    "ModifiedBy": 1,
    "ModifiedOn": "2024-04-28T07:27:33.1568208+00:00",
    "ContactPerson": "sample string 14",
    "KeyContactPerson": "sample string 15",
    "KeyContactPersonPhoneNo": "sample string 16",
    "RegistrationType": 1,
    "ClassificationType": 1,
    "LoginRequired": "sample string 17",
    "PotentialPerMonth": 1.0,
    "RRShareOfWallet": 1.0,
    "ZoneCode": "sample string 18",
    "Latitude": "sample string 19",
    "Longitude": "sample string 20",
    "IsLegal": "sample string 21",
    "DMSFlag": "sample string 22",
    "SupplyType": "sample string 23",
    "TCSApplicableFlag": "sample string 24",
    "IsSettled": "sample string 25"
  },
  "customerreginfodetail": [
    {
      "Id": 1,
      "CustomerCode": "sample string 2",
      "RegistrationCode": 3,
      "RegistrationDate": "2024-04-28T07:27:33.1568208+00:00",
      "RegistrationNo": "sample string 4",
      "CreatedBy": 1,
      "CreatedOn": "2024-04-28T07:27:33.1568208+00:00",
      "ModifiedBy": 1,
      "ModifiedOn": "2024-04-28T07:27:33.1568208+00:00",
      "ExpiryDate": "2024-04-28T07:27:33.1568208+00:00"
    },
    {
      "Id": 1,
      "CustomerCode": "sample string 2",
      "RegistrationCode": 3,
      "RegistrationDate": "2024-04-28T07:27:33.1568208+00:00",
      "RegistrationNo": "sample string 4",
      "CreatedBy": 1,
      "CreatedOn": "2024-04-28T07:27:33.1568208+00:00",
      "ModifiedBy": 1,
      "ModifiedOn": "2024-04-28T07:27:33.1568208+00:00",
      "ExpiryDate": "2024-04-28T07:27:33.1568208+00:00"
    }
  ],
  "customertypegroupdetail": [
    {
      "Id": 1,
      "CustomerCode": "sample string 2",
      "CustomerType": 3,
      "GroupId": 1,
      "CreatedBy": 1,
      "CreatedOn": "2024-04-28T07:27:33.1568208+00:00",
      "ModifiedBy": 1,
      "ModifiedOn": "2024-04-28T07:27:33.1568208+00:00",
      "GroupWiseCreditLimit": 1.1,
      "GroupWiseCreditDays": 1
    },
    {
      "Id": 1,
      "CustomerCode": "sample string 2",
      "CustomerType": 3,
      "GroupId": 1,
      "CreatedBy": 1,
      "CreatedOn": "2024-04-28T07:27:33.1568208+00:00",
      "ModifiedBy": 1,
      "ModifiedOn": "2024-04-28T07:27:33.1568208+00:00",
      "GroupWiseCreditLimit": 1.1,
      "GroupWiseCreditDays": 1
    }
  ],
  "customerintrepdetail": [
    {
      "Id": 1,
      "CustomerCode": "sample string 2",
      "InternalRepresentative": "sample string 3",
      "GroupId": 4,
      "CreatedBy": 1,
      "CreatedOn": "2024-04-28T07:27:33.1568208+00:00",
      "ModifiedBy": 1,
      "ModifiedOn": "2024-04-28T07:27:33.1568208+00:00"
    },
    {
      "Id": 1,
      "CustomerCode": "sample string 2",
      "InternalRepresentative": "sample string 3",
      "GroupId": 4,
      "CreatedBy": 1,
      "CreatedOn": "2024-04-28T07:27:33.1568208+00:00",
      "ModifiedBy": 1,
      "ModifiedOn": "2024-04-28T07:27:33.1568208+00:00"
    }
  ],
  "customerbranchdetail": [
    {
      "Id": 1,
      "CustomerCode": "sample string 2",
      "BranchCode": 3,
      "CreatedBy": 1,
      "CreatedOn": "2024-04-28T07:27:33.1568208+00:00",
      "ModifiedBy": 1,
      "ModifiedOn": "2024-04-28T07:27:33.1568208+00:00"
    },
    {
      "Id": 1,
      "CustomerCode": "sample string 2",
      "BranchCode": 3,
      "CreatedBy": 1,
      "CreatedOn": "2024-04-28T07:27:33.1568208+00:00",
      "ModifiedBy": 1,
      "ModifiedOn": "2024-04-28T07:27:33.1568208+00:00"
    }
  ],
  "customermapdetail": [
    {
      "Id": 1,
      "CustomerCode": "sample string 2",
      "MapCustomerCode": "sample string 3",
      "BranchCode": 4,
      "MapDate": "2024-04-28T07:27:33.1725009+00:00",
      "CreatedBy": 1,
      "CreatedOn": "2024-04-28T07:27:33.1725009+00:00",
      "ModifiedBy": 1,
      "ModifiedOn": "2024-04-28T07:27:33.1725009+00:00"
    },
    {
      "Id": 1,
      "CustomerCode": "sample string 2",
      "MapCustomerCode": "sample string 3",
      "BranchCode": 4,
      "MapDate": "2024-04-28T07:27:33.1725009+00:00",
      "CreatedBy": 1,
      "CreatedOn": "2024-04-28T07:27:33.1725009+00:00",
      "ModifiedBy": 1,
      "ModifiedOn": "2024-04-28T07:27:33.1725009+00:00"
    }
  ],
  "customerchequedetail": {
    "Id": 1,
    "CustomerCode": "sample string 2",
    "BankName": "sample string 3",
    "Branch": "sample string 4",
    "IFSC": "sample string 5",
    "ChequeNo1": "sample string 6",
    "ChequeAmt1": 1.0,
    "ChequeNo2": "sample string 7",
    "ChequeAmt2": 1.0,
    "ChequeNo3": "sample string 8",
    "ChequeAmt3": 1.0,
    "ChequeNo4": "sample string 9",
    "ChequeAmt4": 1.0,
    "ChequeNo5": "sample string 10",
    "ChequeAmt5": 1.0,
    "Type": "sample string 11",
    "Date": "2024-04-28T07:27:33.1725009+00:00",
    "CreatedBy": 1,
    "CreatedOn": "2024-04-28T07:27:33.1725009+00:00",
    "ModifiedBy": 1,
    "ModifiedOn": "2024-04-28T07:27:33.1725009+00:00"
  }
}

application/xml, text/xml

Sample:
<Z_CustomerMasterDetailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
  <customerMaster>
    <Active>sample string 13</Active>
    <Address1>sample string 4</Address1>
    <Address2>sample string 5</Address2>
    <Address3>sample string 6</Address3>
    <CityId>1</CityId>
    <ClassificationType>1</ClassificationType>
    <ContactPerson>sample string 14</ContactPerson>
    <CountryId>1</CountryId>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-28T07:27:33.1568208+00:00</CreatedOn>
    <CreditDays>1</CreditDays>
    <CreditLimit>1.1</CreditLimit>
    <CustomerCode>sample string 2</CustomerCode>
    <CustomerName>sample string 3</CustomerName>
    <DMSFlag>sample string 22</DMSFlag>
    <DOA>2024-04-28T07:27:33.1568208+00:00</DOA>
    <DOB>2024-04-28T07:27:33.1568208+00:00</DOB>
    <DeliveryTermId>1</DeliveryTermId>
    <DistrictId>1</DistrictId>
    <Email>sample string 10</Email>
    <Id>1</Id>
    <IsLegal>sample string 21</IsLegal>
    <IsSettled>sample string 25</IsSettled>
    <KeyContactPerson>sample string 15</KeyContactPerson>
    <KeyContactPersonPhoneNo>sample string 16</KeyContactPersonPhoneNo>
    <Latitude>sample string 19</Latitude>
    <LedgerCode>sample string 12</LedgerCode>
    <LoginRequired>sample string 17</LoginRequired>
    <Longitude>sample string 20</Longitude>
    <Mobile>sample string 9</Mobile>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedOn>2024-04-28T07:27:33.1568208+00:00</ModifiedOn>
    <OfficeId>1</OfficeId>
    <PaymentTermId>1</PaymentTermId>
    <PotentialPerMonth>1</PotentialPerMonth>
    <RRShareOfWallet>1</RRShareOfWallet>
    <RegistrationType>1</RegistrationType>
    <StateId>7</StateId>
    <SubTerritoryId>1</SubTerritoryId>
    <SupCusGroupId>1</SupCusGroupId>
    <SupplyType>sample string 23</SupplyType>
    <TCSApplicableFlag>sample string 24</TCSApplicableFlag>
    <TalukaId>1</TalukaId>
    <TransporterId>sample string 11</TransporterId>
    <ZipCode>sample string 8</ZipCode>
    <ZoneCode>sample string 18</ZoneCode>
  </customerMaster>
  <customerbranchdetail>
    <C_CustomerMapping>
      <BranchCode>3</BranchCode>
      <CreatedBy>1</CreatedBy>
      <CreatedOn>2024-04-28T07:27:33.1568208+00:00</CreatedOn>
      <CustomerCode>sample string 2</CustomerCode>
      <Id>1</Id>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedOn>2024-04-28T07:27:33.1568208+00:00</ModifiedOn>
    </C_CustomerMapping>
    <C_CustomerMapping>
      <BranchCode>3</BranchCode>
      <CreatedBy>1</CreatedBy>
      <CreatedOn>2024-04-28T07:27:33.1568208+00:00</CreatedOn>
      <CustomerCode>sample string 2</CustomerCode>
      <Id>1</Id>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedOn>2024-04-28T07:27:33.1568208+00:00</ModifiedOn>
    </C_CustomerMapping>
  </customerbranchdetail>
  <customerchequedetail>
    <BankName>sample string 3</BankName>
    <Branch>sample string 4</Branch>
    <ChequeAmt1>1</ChequeAmt1>
    <ChequeAmt2>1</ChequeAmt2>
    <ChequeAmt3>1</ChequeAmt3>
    <ChequeAmt4>1</ChequeAmt4>
    <ChequeAmt5>1</ChequeAmt5>
    <ChequeNo1>sample string 6</ChequeNo1>
    <ChequeNo2>sample string 7</ChequeNo2>
    <ChequeNo3>sample string 8</ChequeNo3>
    <ChequeNo4>sample string 9</ChequeNo4>
    <ChequeNo5>sample string 10</ChequeNo5>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-28T07:27:33.1725009+00:00</CreatedOn>
    <CustomerCode>sample string 2</CustomerCode>
    <Date>2024-04-28T07:27:33.1725009+00:00</Date>
    <IFSC>sample string 5</IFSC>
    <Id>1</Id>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedOn>2024-04-28T07:27:33.1725009+00:00</ModifiedOn>
    <Type>sample string 11</Type>
  </customerchequedetail>
  <customerintrepdetail>
    <C_CustomerIntRepDetail>
      <CreatedBy>1</CreatedBy>
      <CreatedOn>2024-04-28T07:27:33.1568208+00:00</CreatedOn>
      <CustomerCode>sample string 2</CustomerCode>
      <GroupId>4</GroupId>
      <Id>1</Id>
      <InternalRepresentative>sample string 3</InternalRepresentative>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedOn>2024-04-28T07:27:33.1568208+00:00</ModifiedOn>
    </C_CustomerIntRepDetail>
    <C_CustomerIntRepDetail>
      <CreatedBy>1</CreatedBy>
      <CreatedOn>2024-04-28T07:27:33.1568208+00:00</CreatedOn>
      <CustomerCode>sample string 2</CustomerCode>
      <GroupId>4</GroupId>
      <Id>1</Id>
      <InternalRepresentative>sample string 3</InternalRepresentative>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedOn>2024-04-28T07:27:33.1568208+00:00</ModifiedOn>
    </C_CustomerIntRepDetail>
  </customerintrepdetail>
  <customermapdetail>
    <C_CustMapping>
      <BranchCode>4</BranchCode>
      <CreatedBy>1</CreatedBy>
      <CreatedOn>2024-04-28T07:27:33.1725009+00:00</CreatedOn>
      <CustomerCode>sample string 2</CustomerCode>
      <Id>1</Id>
      <MapCustomerCode>sample string 3</MapCustomerCode>
      <MapDate>2024-04-28T07:27:33.1725009+00:00</MapDate>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedOn>2024-04-28T07:27:33.1725009+00:00</ModifiedOn>
    </C_CustMapping>
    <C_CustMapping>
      <BranchCode>4</BranchCode>
      <CreatedBy>1</CreatedBy>
      <CreatedOn>2024-04-28T07:27:33.1725009+00:00</CreatedOn>
      <CustomerCode>sample string 2</CustomerCode>
      <Id>1</Id>
      <MapCustomerCode>sample string 3</MapCustomerCode>
      <MapDate>2024-04-28T07:27:33.1725009+00:00</MapDate>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedOn>2024-04-28T07:27:33.1725009+00:00</ModifiedOn>
    </C_CustMapping>
  </customermapdetail>
  <customerreginfodetail>
    <C_CustomerRegInfoDetail>
      <CreatedBy>1</CreatedBy>
      <CreatedOn>2024-04-28T07:27:33.1568208+00:00</CreatedOn>
      <CustomerCode>sample string 2</CustomerCode>
      <ExpiryDate>2024-04-28T07:27:33.1568208+00:00</ExpiryDate>
      <Id>1</Id>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedOn>2024-04-28T07:27:33.1568208+00:00</ModifiedOn>
      <RegistrationCode>3</RegistrationCode>
      <RegistrationDate>2024-04-28T07:27:33.1568208+00:00</RegistrationDate>
      <RegistrationNo>sample string 4</RegistrationNo>
    </C_CustomerRegInfoDetail>
    <C_CustomerRegInfoDetail>
      <CreatedBy>1</CreatedBy>
      <CreatedOn>2024-04-28T07:27:33.1568208+00:00</CreatedOn>
      <CustomerCode>sample string 2</CustomerCode>
      <ExpiryDate>2024-04-28T07:27:33.1568208+00:00</ExpiryDate>
      <Id>1</Id>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedOn>2024-04-28T07:27:33.1568208+00:00</ModifiedOn>
      <RegistrationCode>3</RegistrationCode>
      <RegistrationDate>2024-04-28T07:27:33.1568208+00:00</RegistrationDate>
      <RegistrationNo>sample string 4</RegistrationNo>
    </C_CustomerRegInfoDetail>
  </customerreginfodetail>
  <customertypegroupdetail>
    <C_CustomerTypeGroupDetail>
      <CreatedBy>1</CreatedBy>
      <CreatedOn>2024-04-28T07:27:33.1568208+00:00</CreatedOn>
      <CustomerCode>sample string 2</CustomerCode>
      <CustomerType>3</CustomerType>
      <GroupId>1</GroupId>
      <GroupWiseCreditDays>1</GroupWiseCreditDays>
      <GroupWiseCreditLimit>1.1</GroupWiseCreditLimit>
      <Id>1</Id>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedOn>2024-04-28T07:27:33.1568208+00:00</ModifiedOn>
    </C_CustomerTypeGroupDetail>
    <C_CustomerTypeGroupDetail>
      <CreatedBy>1</CreatedBy>
      <CreatedOn>2024-04-28T07:27:33.1568208+00:00</CreatedOn>
      <CustomerCode>sample string 2</CustomerCode>
      <CustomerType>3</CustomerType>
      <GroupId>1</GroupId>
      <GroupWiseCreditDays>1</GroupWiseCreditDays>
      <GroupWiseCreditLimit>1.1</GroupWiseCreditLimit>
      <Id>1</Id>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedOn>2024-04-28T07:27:33.1568208+00:00</ModifiedOn>
    </C_CustomerTypeGroupDetail>
  </customertypegroupdetail>
</Z_CustomerMasterDetailRequest>

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

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.