POST api/Navigation/EditNavigationItem

Request Information

URI Parameters

None.

Body Parameters

CGNavigation
NameDescriptionTypeAdditional information
NavigationId

integer

None.

NavigationName

string

None.

Path

string

None.

Site

string

None.

Priority

integer

None.

IsActive

boolean

None.

DateDeleted

date

None.

NavigationGroup

string

None.

Request Formats

application/json, text/json

Sample:
{
  "NavigationId": 1,
  "NavigationName": "sample string 2",
  "Path": "sample string 3",
  "Site": "sample string 4",
  "Priority": 5,
  "IsActive": true,
  "DateDeleted": "2024-11-26T17:27:50.2963671+00:00",
  "NavigationGroup": "sample string 7"
}

application/xml, text/xml

Sample:
<CGNavigation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DotGolf.Data">
  <DateDeleted>2024-11-26T17:27:50.2963671+00:00</DateDeleted>
  <IsActive>true</IsActive>
  <NavigationGroup>sample string 7</NavigationGroup>
  <NavigationId>1</NavigationId>
  <NavigationName>sample string 2</NavigationName>
  <Path>sample string 3</Path>
  <Priority>5</Priority>
  <Site>sample string 4</Site>
</CGNavigation>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NavigationResponse
NameDescriptionTypeAdditional information
ResponseObject

CGNavigation

None.

Code

ResponseCode

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseObject": {
    "NavigationId": 1,
    "NavigationName": "sample string 2",
    "Path": "sample string 3",
    "Site": "sample string 4",
    "Priority": 5,
    "IsActive": true,
    "DateDeleted": "2024-11-26T17:27:50.2963671+00:00",
    "NavigationGroup": "sample string 7"
  },
  "Code": 0,
  "Message": "sample string 1"
}

application/xml, text/xml

Sample:
<NavigationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DotGolf.CasualGolf.WebApi.Contracts">
  <Code>None</Code>
  <Message>sample string 1</Message>
  <ResponseObject xmlns:d2p1="http://schemas.datacontract.org/2004/07/DotGolf.Data">
    <d2p1:DateDeleted>2024-11-26T17:27:50.2963671+00:00</d2p1:DateDeleted>
    <d2p1:IsActive>true</d2p1:IsActive>
    <d2p1:NavigationGroup>sample string 7</d2p1:NavigationGroup>
    <d2p1:NavigationId>1</d2p1:NavigationId>
    <d2p1:NavigationName>sample string 2</d2p1:NavigationName>
    <d2p1:Path>sample string 3</d2p1:Path>
    <d2p1:Priority>5</d2p1:Priority>
    <d2p1:Site>sample string 4</d2p1:Site>
  </ResponseObject>
</NavigationResponse>