POST api/meetingdetailtestimony/update

Request Information

URI Parameters

None.

Body Parameters

MeetingDetailTestimonyModel
NameDescriptionTypeAdditional information
Testimony

Testimony

None.

Testimonys

Collection of Testimony

None.

MeetingDetailTestimony

MeetingDetailTestimony

None.

Request Formats

application/json, text/json

Sample:
{
  "Testimony": {
    "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-26T11:56:47.3570298-05:00",
    "PostedOn": "2022-09-26T11:56:47.3570298-05:00",
    "Active": true,
    "Deleted": true,
    "CreatedBy": "sample string 14",
    "UpdatedBy": "sample string 15",
    "CreatedOn": "2022-09-26T11:56:47.3570298-05:00",
    "UpdatedOn": "2022-09-26T11:56:47.3570298-05:00"
  },
  "Testimonys": [
    {
      "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-26T11:56:47.3570298-05:00",
      "PostedOn": "2022-09-26T11:56:47.3570298-05:00",
      "Active": true,
      "Deleted": true,
      "CreatedBy": "sample string 14",
      "UpdatedBy": "sample string 15",
      "CreatedOn": "2022-09-26T11:56:47.3570298-05:00",
      "UpdatedOn": "2022-09-26T11:56:47.3570298-05:00"
    },
    {
      "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-26T11:56:47.3570298-05:00",
      "PostedOn": "2022-09-26T11:56:47.3570298-05:00",
      "Active": true,
      "Deleted": true,
      "CreatedBy": "sample string 14",
      "UpdatedBy": "sample string 15",
      "CreatedOn": "2022-09-26T11:56:47.3570298-05:00",
      "UpdatedOn": "2022-09-26T11:56:47.3570298-05:00"
    }
  ],
  "MeetingDetailTestimony": {
    "MeetingDetailTestimonyId": 1,
    "Code": "sample string 2",
    "MeetingId": 3,
    "TestimonyId": 4,
    "Active": true,
    "Deleted": true,
    "CreatedBy": "sample string 7",
    "UpdatedBy": "sample string 8",
    "CreatedOn": "2022-09-26T11:56:47.3570298-05:00",
    "UpdatedOn": "2022-09-26T11:56:47.3570298-05:00"
  }
}

text/xml

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

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.