PUT api/BranchMaster
Request Information
URI Parameters
None.
Body Parameters
Z_BranchRegistrationInfoRequestName | Description | Type | Additional information |
---|---|---|---|
branchMaster | C_BranchMaster |
None. |
|
branchRegDetail | Collection of C_BranchRegistrationInfo |
None. |
Request Formats
application/json, text/json
Sample:
{ "branchMaster": { "Id": 1, "BranchCode": 2, "BranchName": "sample string 3", "BranchAlias": "sample string 4", "Address1": "sample string 5", "Address2": "sample string 6", "Address3": "sample string 7", "Address4": "sample string 8", "Address5": "sample string 9", "Address6": "sample string 10", "CityId": 1, "TalukaId": 1, "DistrictId": 1, "StateId": 11, "CountryId": 1, "Zipcode": "sample string 12", "BranchType": "sample string 13", "InwardLedgerCode": "sample string 14", "OutwardLedgerCode": "sample string 15", "CreatedBy": 16, "CreatedOn": "2025-04-03T19:56:40.4380097+00:00", "ModifiedBy": 1, "ModifiedOn": "2025-04-03T19:56:40.4380097+00:00", "Declaration": "sample string 17", "Email": "sample string 18", "Zone": 1, "OwnerId": "sample string 19", "BranchCatagory": "sample string 20", "ProdPlanApplicable": "sample string 21" }, "branchRegDetail": [ { "Id": 1, "BranchCode": 2, "RegistrationCode": 1, "Effectivedate": "2025-04-03T19:56:40.4380097+00:00", "RegistrationNo": "sample string 3", "CreatedBy": 1, "CreatedOn": "2025-04-03T19:56:40.4380097+00:00", "ModifiedBy": 1, "ModifiedOn": "2025-04-03T19:56:40.4380097+00:00" }, { "Id": 1, "BranchCode": 2, "RegistrationCode": 1, "Effectivedate": "2025-04-03T19:56:40.4380097+00:00", "RegistrationNo": "sample string 3", "CreatedBy": 1, "CreatedOn": "2025-04-03T19:56:40.4380097+00:00", "ModifiedBy": 1, "ModifiedOn": "2025-04-03T19:56:40.4380097+00:00" } ] }
application/xml, text/xml
Sample:
<Z_BranchRegistrationInfoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models"> <branchMaster> <Address1>sample string 5</Address1> <Address2>sample string 6</Address2> <Address3>sample string 7</Address3> <Address4>sample string 8</Address4> <Address5>sample string 9</Address5> <Address6>sample string 10</Address6> <BranchAlias>sample string 4</BranchAlias> <BranchCatagory>sample string 20</BranchCatagory> <BranchCode>2</BranchCode> <BranchName>sample string 3</BranchName> <BranchType>sample string 13</BranchType> <CityId>1</CityId> <CountryId>1</CountryId> <CreatedBy>16</CreatedBy> <CreatedOn>2025-04-03T19:56:40.4380097+00:00</CreatedOn> <Declaration>sample string 17</Declaration> <DistrictId>1</DistrictId> <Email>sample string 18</Email> <Id>1</Id> <InwardLedgerCode>sample string 14</InwardLedgerCode> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-04-03T19:56:40.4380097+00:00</ModifiedOn> <OutwardLedgerCode>sample string 15</OutwardLedgerCode> <OwnerId>sample string 19</OwnerId> <ProdPlanApplicable>sample string 21</ProdPlanApplicable> <StateId>11</StateId> <TalukaId>1</TalukaId> <Zipcode>sample string 12</Zipcode> <Zone>1</Zone> </branchMaster> <branchRegDetail> <C_BranchRegistrationInfo> <BranchCode>2</BranchCode> <CreatedBy>1</CreatedBy> <CreatedOn>2025-04-03T19:56:40.4380097+00:00</CreatedOn> <Effectivedate>2025-04-03T19:56:40.4380097+00:00</Effectivedate> <Id>1</Id> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-04-03T19:56:40.4380097+00:00</ModifiedOn> <RegistrationCode>1</RegistrationCode> <RegistrationNo>sample string 3</RegistrationNo> </C_BranchRegistrationInfo> <C_BranchRegistrationInfo> <BranchCode>2</BranchCode> <CreatedBy>1</CreatedBy> <CreatedOn>2025-04-03T19:56:40.4380097+00:00</CreatedOn> <Effectivedate>2025-04-03T19:56:40.4380097+00:00</Effectivedate> <Id>1</Id> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-04-03T19:56:40.4380097+00:00</ModifiedOn> <RegistrationCode>1</RegistrationCode> <RegistrationNo>sample string 3</RegistrationNo> </C_BranchRegistrationInfo> </branchRegDetail> </Z_BranchRegistrationInfoRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |