POST api/PostBook/SaveHTMLContent

Request Information

URI Parameters

None.

Body Parameters

FPSaveHtmlContentRQ
NameDescriptionTypeAdditional information
HtmlContentRequest

SaveHtmlContentRQ

None.

TransactionGUID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "HtmlContentRequest": {
    "screenType": 2,
    "HtmlContent": "sample string 1"
  },
  "TransactionGUID": "sample string 1"
}

text/html

Sample:
{"HtmlContentRequest":{"screenType":2,"HtmlContent":"sample string 1"},"TransactionGUID":"sample string 1"}

application/xml, text/xml

Sample:
<FPSaveHtmlContentRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FPWebBox.BusinessObjects">
  <HtmlContentRequest>
    <HtmlContent>sample string 1</HtmlContent>
    <screenType>ItineraryContent</screenType>
  </HtmlContentRequest>
  <TransactionGUID>sample string 1</TransactionGUID>
</FPSaveHtmlContentRQ>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

FPSaveHtmlContentRS
NameDescriptionTypeAdditional information
Messege

string

None.

ErrorCode

string

None.

ErrorAtNode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Messege": "sample string 1",
  "ErrorCode": "sample string 2",
  "ErrorAtNode": "sample string 3"
}

text/html

Sample:
{"Messege":"sample string 1","ErrorCode":"sample string 2","ErrorAtNode":"sample string 3"}

application/xml, text/xml

Sample:
<FPSaveHtmlContentRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FPWebBox.BusinessObjects">
  <ErrorAtNode>sample string 3</ErrorAtNode>
  <ErrorCode>sample string 2</ErrorCode>
  <Messege>sample string 1</Messege>
</FPSaveHtmlContentRS>