POST api/HotLinks
Request Information
URI Parameters
None.
Body Parameters
UpdateHotlink| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| URL | string |
None. |
|
| LanguageID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"URL": "sample string 2",
"LanguageID": 3
}
application/xml, text/xml
Sample:
<UpdateHotlink xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PetraAPI.Models"> <LanguageID>3</LanguageID> <Name>sample string 1</Name> <URL>sample string 2</URL> </UpdateHotlink>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HotLink| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
None. |
|
| URL | string |
None. |
|
| Stamp | integer |
None. |
|
| Description | string |
None. |
|
| LanguageID | integer |
None. |
|
| Language | Language |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"Name": "sample string 2",
"URL": "sample string 3",
"Stamp": 4,
"Description": "sample string 5",
"LanguageID": 6,
"Language": {
"ID": 1,
"Name": "sample string 2",
"FlowDirection": 1
}
}
application/xml, text/xml
Sample:
<HotLink xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PetraAPI.Models">
<Description>sample string 5</Description>
<ID>1</ID>
<Language>
<FlowDirection>RightToLeft</FlowDirection>
<ID>1</ID>
<Name>sample string 2</Name>
</Language>
<LanguageID>6</LanguageID>
<Name>sample string 2</Name>
<Stamp>4</Stamp>
<URL>sample string 3</URL>
</HotLink>