POST api/Testimonials/PostTestimonial

Request Information

URI Parameters

None.

Body Parameters

TestimonialPostModel
NameDescriptionTypeAdditional information
TestimonialId

integer

None.

TestimonialName

string

None.

Address

string

None.

Base64Image

string

None.

ImagePath

string

None.

Remarks

string

None.

TransDate

date

None.

UserId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TestimonialId": 1,
  "TestimonialName": "sample string 2",
  "Address": "sample string 3",
  "Base64Image": "sample string 4",
  "ImagePath": "sample string 5",
  "Remarks": "sample string 6",
  "TransDate": "2025-10-28T00:58:04.521245+05:30",
  "UserId": "sample string 8"
}

application/xml, text/xml

Sample:
<TestimonialPostModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/General.Operation.CustomModels">
  <Address>sample string 3</Address>
  <Base64Image>sample string 4</Base64Image>
  <ImagePath>sample string 5</ImagePath>
  <Remarks>sample string 6</Remarks>
  <TestimonialId>1</TestimonialId>
  <TestimonialName>sample string 2</TestimonialName>
  <TransDate>2025-10-28T00:58:04.521245+05:30</TransDate>
  <UserId>sample string 8</UserId>
</TestimonialPostModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>