GET api/Branch/Read/{KeyValue}

Get Branch Details Using a Keyvalue

Request Information

URI Parameters

NamedescriptionTypeAdditional information
KeyValue

integer

Required

Body Parameters

None.

response Information

Resource description

mlBranch
NamedescriptionTypeAdditional information
BranchSysId

integer

None.

BranchName

string

None.

ContactPerson

string

None.

BranchType

string

None.

CompanyId

string

None.

Contact

mlCommunicationDetails

None.

Locked

mlLockedDetails

None.

CreatedBy

string

None.

CreatedDate

string

None.

UpdatedBy

string

None.

UpdatedDate

string

None.

IsDeleted

boolean

None.

response Formats

application/json, text/json

Sample:
{
  "CreatedBy": "sample string 6",
  "CreatedDate": "sample string 7",
  "IsDeleted": true,
  "UpdatedBy": "sample string 8",
  "UpdatedDate": "sample string 9",
  "BranchName": "sample string 2",
  "BranchSysId": 1,
  "BranchType": "sample string 4",
  "CompanyId": "sample string 5",
  "Contact": {
    "Address1": "sample string 1",
    "Address2": "sample string 2",
    "AlternateMobile": "sample string 10",
    "City": "sample string 3",
    "Country": "sample string 4",
    "District": "sample string 6",
    "Email": "sample string 11",
    "Mobile": "sample string 9",
    "Phone": "sample string 8",
    "Pincode": "sample string 7",
    "State": "sample string 5"
  },
  "ContactPerson": "sample string 3",
  "Locked": {
    "IsLocked": true,
    "LockedBy": "sample string 1",
    "LockedDate": "sample string 2",
    "LockedReason": "sample string 3"
  }
}

application/xml, text/xml

Sample:
<mlBranch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Admin">
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 6</CreatedBy>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 7</CreatedDate>
  <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">true</IsDeleted>
  <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 8</UpdatedBy>
  <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 9</UpdatedDate>
  <BranchName>sample string 2</BranchName>
  <BranchSysId>1</BranchSysId>
  <BranchType>sample string 4</BranchType>
  <CompanyId>sample string 5</CompanyId>
  <Contact xmlns:d2p1="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">
    <d2p1:Address1>sample string 1</d2p1:Address1>
    <d2p1:Address2>sample string 2</d2p1:Address2>
    <d2p1:AlternateMobile>sample string 10</d2p1:AlternateMobile>
    <d2p1:City>sample string 3</d2p1:City>
    <d2p1:Country>sample string 4</d2p1:Country>
    <d2p1:District>sample string 6</d2p1:District>
    <d2p1:Email>sample string 11</d2p1:Email>
    <d2p1:Mobile>sample string 9</d2p1:Mobile>
    <d2p1:Phone>sample string 8</d2p1:Phone>
    <d2p1:Pincode>sample string 7</d2p1:Pincode>
    <d2p1:State>sample string 5</d2p1:State>
  </Contact>
  <ContactPerson>sample string 3</ContactPerson>
  <Locked xmlns:d2p1="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">
    <d2p1:IsLocked>true</d2p1:IsLocked>
    <d2p1:LockedBy>sample string 1</d2p1:LockedBy>
    <d2p1:LockedDate>sample string 2</d2p1:LockedDate>
    <d2p1:LockedReason>sample string 3</d2p1:LockedReason>
  </Locked>
</mlBranch>