POST api/testimony/update

Request Information

URI Parameters

None.

Body Parameters

Testimony
NameDescriptionTypeAdditional information
TestimonyId

integer

None.

PosterId

integer

None.

TestimonyTitle

string

None.

Testifier

string

None.

Title

string

None.

FirstName

string

None.

LastName

string

None.

Phone

string

None.

TestimonyType

string

None.

Body

string

None.

Date

date

None.

PostedOn

date

None.

Active

boolean

None.

Deleted

boolean

None.

CreatedBy

string

String length: inclusive between 0 and 50

UpdatedBy

string

String length: inclusive between 0 and 50

CreatedOn

date

None.

UpdatedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "TestimonyId": 1,
  "PosterId": 2,
  "TestimonyTitle": "sample string 3",
  "Testifier": "sample string 4",
  "Title": "sample string 5",
  "FirstName": "sample string 6",
  "LastName": "sample string 7",
  "Phone": "sample string 8",
  "TestimonyType": "sample string 9",
  "Body": "sample string 10",
  "Date": "2022-09-26T10:26:15.4458584-05:00",
  "PostedOn": "2022-09-26T10:26:15.4458584-05:00",
  "Active": true,
  "Deleted": true,
  "CreatedBy": "sample string 14",
  "UpdatedBy": "sample string 15",
  "CreatedOn": "2022-09-26T10:26:15.4458584-05:00",
  "UpdatedOn": "2022-09-26T10:26:15.4458584-05:00"
}

text/xml

Sample:
<Testimony xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FullGospel.Common.Membership">
  <Active>true</Active>
  <Body>sample string 10</Body>
  <CreatedBy>sample string 14</CreatedBy>
  <CreatedOn>2022-09-26T10:26:15.4458584-05:00</CreatedOn>
  <Date>2022-09-26T10:26:15.4458584-05:00</Date>
  <Deleted>true</Deleted>
  <FirstName>sample string 6</FirstName>
  <LastName>sample string 7</LastName>
  <Phone>sample string 8</Phone>
  <PostedOn>2022-09-26T10:26:15.4458584-05:00</PostedOn>
  <PosterId>2</PosterId>
  <Testifier>sample string 4</Testifier>
  <TestimonyId>1</TestimonyId>
  <TestimonyTitle>sample string 3</TestimonyTitle>
  <TestimonyType>sample string 9</TestimonyType>
  <Title>sample string 5</Title>
  <UpdatedBy>sample string 15</UpdatedBy>
  <UpdatedOn>2022-09-26T10:26:15.4458584-05:00</UpdatedOn>
</Testimony>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.