POST api/Coaching/Update

Request Information

URI Parameters

None.

Body Parameters

UpdateCoachingModel
NameDescriptionTypeAdditional information
CoachingId

integer

None.

YearEstablished

integer

None.

AlternateMobile

string

None.

Phone

string

None.

AlternatePhone

string

None.

WebSiteUrl

string

None.

Address

string

None.

Description

string

None.

IsSheetAvailable

boolean

None.

Categories

Collection of integer

None.

Types

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CoachingId": 1,
  "YearEstablished": 2,
  "AlternateMobile": "sample string 3",
  "Phone": "sample string 4",
  "AlternatePhone": "sample string 5",
  "WebSiteUrl": "sample string 6",
  "Address": "sample string 7",
  "Description": "sample string 8",
  "IsSheetAvailable": true,
  "Categories": [
    1,
    2
  ],
  "Types": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<UpdateCoachingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CareerKinApi.Models">
  <Address>sample string 7</Address>
  <AlternateMobile>sample string 3</AlternateMobile>
  <AlternatePhone>sample string 5</AlternatePhone>
  <Categories xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Categories>
  <CoachingId>1</CoachingId>
  <Description>sample string 8</Description>
  <IsSheetAvailable>true</IsSheetAvailable>
  <Phone>sample string 4</Phone>
  <Types xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Types>
  <WebSiteUrl>sample string 6</WebSiteUrl>
  <YearEstablished>2</YearEstablished>
</UpdateCoachingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.