POST v1/projects

Request Information

URI Parameters

None.

Body Parameters

ProjectResource
NameDescriptionTypeAdditional information
Project

ProjectDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "project": {
    "description": "sample string 1",
    "id": 2,
    "location": 1,
    "name": "sample string 3",
    "podcast": true,
    "podcastDescription": "sample string 4",
    "podcastName": "sample string 5",
    "podcastUrl": "sample string 6",
    "producer": 1
  }
}

application/xml, text/xml

Sample:
<Resources xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CablecastAPI.DTOs">
  <Project>
    <Description>sample string 1</Description>
    <Id>2</Id>
    <Location>1</Location>
    <Name>sample string 3</Name>
    <Podcast>true</Podcast>
    <PodcastDescription>sample string 4</PodcastDescription>
    <PodcastName>sample string 5</PodcastName>
    <PodcastUrl>sample string 6</PodcastUrl>
    <Producer>1</Producer>
  </Project>
</Resources>

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.