POST api/Description/UpdateDescription
Request Information
URI Parameters
None.
Body Parameters
BranchDescriptionName | Description | Type | Additional information |
---|---|---|---|
BranchDescriptionID | integer |
None. |
|
BranchID | integer |
None. |
|
Description | string |
None. |
|
IsDeleted | boolean |
None. |
|
CreatedBy | integer |
None. |
|
CreatedOn | date |
None. |
|
ModifiedBy | integer |
None. |
|
ModifiedOn | date |
None. |
|
branchImages | Collection of BranchImage |
None. |
Request Formats
application/json, text/json
Sample:
{ "BranchDescriptionID": 1, "BranchID": 1, "Description": "sample string 1", "IsDeleted": true, "CreatedBy": 1, "CreatedOn": "2024-10-04T20:06:15.5332989+03:00", "ModifiedBy": 1, "ModifiedOn": "2024-10-04T20:06:15.5332989+03:00", "branchImages": [ { "BranchImageID": 1, "BranchID": 1, "ImageURL": "sample string 1", "ImageDescription": "sample string 2", "CreatedOn": "2024-10-04T20:06:15.5332989+03:00", "CreatedBy": 1, "ModifiedOn": "2024-10-04T20:06:15.5332989+03:00", "ModifiedBy": 1, "IsDeleted": true, "IsNewInsert": true, "OriginalName": "sample string 3", "IsSelected": true, "IsHeadOffice": true, "Description": "sample string 4", "BranchDescriptionID": 1 }, { "BranchImageID": 1, "BranchID": 1, "ImageURL": "sample string 1", "ImageDescription": "sample string 2", "CreatedOn": "2024-10-04T20:06:15.5332989+03:00", "CreatedBy": 1, "ModifiedOn": "2024-10-04T20:06:15.5332989+03:00", "ModifiedBy": 1, "IsDeleted": true, "IsNewInsert": true, "OriginalName": "sample string 3", "IsSelected": true, "IsHeadOffice": true, "Description": "sample string 4", "BranchDescriptionID": 1 } ] }
application/xml, text/xml
Sample:
<BranchDescription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MODEL.Models"> <BranchDescriptionID>1</BranchDescriptionID> <BranchID>1</BranchID> <CreatedBy>1</CreatedBy> <CreatedOn>2024-10-04T20:06:15.5332989+03:00</CreatedOn> <Description>sample string 1</Description> <IsDeleted>true</IsDeleted> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2024-10-04T20:06:15.5332989+03:00</ModifiedOn> <branchImages> <BranchImage> <BranchDescriptionID>1</BranchDescriptionID> <BranchID>1</BranchID> <BranchImageID>1</BranchImageID> <CreatedBy>1</CreatedBy> <CreatedOn>2024-10-04T20:06:15.5332989+03:00</CreatedOn> <Description>sample string 4</Description> <ImageDescription>sample string 2</ImageDescription> <ImageURL>sample string 1</ImageURL> <IsDeleted>true</IsDeleted> <IsHeadOffice>true</IsHeadOffice> <IsNewInsert>true</IsNewInsert> <IsSelected>true</IsSelected> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2024-10-04T20:06:15.5332989+03:00</ModifiedOn> <OriginalName>sample string 3</OriginalName> </BranchImage> <BranchImage> <BranchDescriptionID>1</BranchDescriptionID> <BranchID>1</BranchID> <BranchImageID>1</BranchImageID> <CreatedBy>1</CreatedBy> <CreatedOn>2024-10-04T20:06:15.5332989+03:00</CreatedOn> <Description>sample string 4</Description> <ImageDescription>sample string 2</ImageDescription> <ImageURL>sample string 1</ImageURL> <IsDeleted>true</IsDeleted> <IsHeadOffice>true</IsHeadOffice> <IsNewInsert>true</IsNewInsert> <IsSelected>true</IsSelected> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2024-10-04T20:06:15.5332989+03:00</ModifiedOn> <OriginalName>sample string 3</OriginalName> </BranchImage> </branchImages> </BranchDescription>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.