POST branches/updateBranchWithOutImage

Request Information

URI Parameters

None.

Body Parameters

branchesData
NameDescriptionTypeAdditional information
branchId

integer

None.

branchName

string

None.

branchNameAr

string

None.

branchNameEn

string

None.

branchAddressLocation

string

None.

branchAddressLocationAr

string

None.

branchAddressLocationEn

string

None.

CCTelePhone

string

None.

CCNameTelePhone

string

None.

branchTelePhone

string

None.

branchTelePhoneWithCC

string

None.

CCNameHomePhone

string

None.

CCHomePhone

string

None.

branchHomePhone

string

None.

branchHomePhoneWithCC

string

None.

branchPriceSession

decimal number

None.

branchImagePath

string

None.

latitude

decimal number

None.

longitude

decimal number

None.

brachDeleteStatus

boolean

None.

language

string

None.

page

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "branchId": 1,
  "branchName": "sample string 2",
  "branchNameAr": "sample string 3",
  "branchNameEn": "sample string 4",
  "branchAddressLocation": "sample string 5",
  "branchAddressLocationAr": "sample string 6",
  "branchAddressLocationEn": "sample string 7",
  "CCTelePhone": "sample string 8",
  "CCNameTelePhone": "sample string 9",
  "branchTelePhone": "sample string 10",
  "branchTelePhoneWithCC": "sample string 11",
  "CCNameHomePhone": "sample string 12",
  "CCHomePhone": "sample string 13",
  "branchHomePhone": "sample string 14",
  "branchHomePhoneWithCC": "sample string 15",
  "branchPriceSession": 16.0,
  "branchImagePath": "sample string 17",
  "latitude": 18.0,
  "longitude": 19.0,
  "brachDeleteStatus": true,
  "language": "sample string 21",
  "page": 22
}

application/xml, text/xml

Sample:
<branchesData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/spor.Models.branches">
  <CCHomePhone>sample string 13</CCHomePhone>
  <CCNameHomePhone>sample string 12</CCNameHomePhone>
  <CCNameTelePhone>sample string 9</CCNameTelePhone>
  <CCTelePhone>sample string 8</CCTelePhone>
  <brachDeleteStatus>true</brachDeleteStatus>
  <branchAddressLocation>sample string 5</branchAddressLocation>
  <branchAddressLocationAr>sample string 6</branchAddressLocationAr>
  <branchAddressLocationEn>sample string 7</branchAddressLocationEn>
  <branchHomePhone>sample string 14</branchHomePhone>
  <branchHomePhoneWithCC>sample string 15</branchHomePhoneWithCC>
  <branchId>1</branchId>
  <branchImagePath>sample string 17</branchImagePath>
  <branchName>sample string 2</branchName>
  <branchNameAr>sample string 3</branchNameAr>
  <branchNameEn>sample string 4</branchNameEn>
  <branchPriceSession>16</branchPriceSession>
  <branchTelePhone>sample string 10</branchTelePhone>
  <branchTelePhoneWithCC>sample string 11</branchTelePhoneWithCC>
  <language>sample string 21</language>
  <latitude>18</latitude>
  <longitude>19</longitude>
  <page>22</page>
</branchesData>

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

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.