POST api/Admin/SaveCoaching

Request Information

URI Parameters

None.

Body Parameters

Coaching
NameDescriptionTypeAdditional information
AdminId

integer

None.

CoachingId

integer

None.

Name

string

None.

CoachingTypeIds

Collection of integer

None.

Email

string

None.

Mobile1

integer

None.

Phone1

string

None.

Mobile2

integer

None.

Phone2

string

None.

StateId

integer

None.

CityId

integer

None.

LocalityId

integer

None.

Pincode

integer

None.

Address

string

None.

Description

string

None.

YearEstablished

integer

None.

WebsiteUrl

string

None.

IsEnabled

boolean

None.

SubmittedDateTime

string

None.

UpdatedDateTime

string

None.

DisplayStart

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AdminId": 1,
  "CoachingId": 2,
  "Name": "sample string 3",
  "CoachingTypeIds": [
    1,
    2
  ],
  "Email": "sample string 4",
  "Mobile1": 5,
  "Phone1": "sample string 6",
  "Mobile2": 7,
  "Phone2": "sample string 8",
  "StateId": 9,
  "CityId": 10,
  "LocalityId": 11,
  "Pincode": 12,
  "Address": "sample string 13",
  "Description": "sample string 14",
  "YearEstablished": 15,
  "WebsiteUrl": "sample string 16",
  "IsEnabled": true,
  "SubmittedDateTime": "sample string 18",
  "UpdatedDateTime": "sample string 19",
  "DisplayStart": 20
}

application/xml, text/xml

Sample:
<Coaching xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CareerKinApi.Models">
  <Address>sample string 13</Address>
  <AdminId>1</AdminId>
  <CityId>10</CityId>
  <CoachingId>2</CoachingId>
  <CoachingTypeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </CoachingTypeIds>
  <Description>sample string 14</Description>
  <DisplayStart>20</DisplayStart>
  <Email>sample string 4</Email>
  <IsEnabled>true</IsEnabled>
  <LocalityId>11</LocalityId>
  <Mobile1>5</Mobile1>
  <Mobile2>7</Mobile2>
  <Name>sample string 3</Name>
  <Phone1>sample string 6</Phone1>
  <Phone2>sample string 8</Phone2>
  <Pincode>12</Pincode>
  <StateId>9</StateId>
  <SubmittedDateTime>sample string 18</SubmittedDateTime>
  <UpdatedDateTime>sample string 19</UpdatedDateTime>
  <WebsiteUrl>sample string 16</WebsiteUrl>
  <YearEstablished>15</YearEstablished>
</Coaching>

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.