POST api/Projeto

Creates an project

Request Information

URI Parameters

None.

Body Parameters

PortalSIM.Domain.EPM.Projects.CreateProjectRequest
NameDescriptionTypeAdditional information
Description

string

No documentation available

ManagementUnit

string

No documentation available

Origin

integer

No documentation available

Classification

integer

No documentation available

Method

integer

No documentation available

InterfaceCode

string

No documentation available

OpeningDate

string

No documentation available

ExpectedEndingDate

string

No documentation available

Calendar

integer

No documentation available

TimeZone

string

No documentation available

MainRoleUser

string

No documentation available

Sections

Collection of PortalSIM.Domain.EPM.Projects.Section

No documentation available

Request Formats

application/json, text/json

Sample:
{
  "Description": "sample string 1",
  "ManagementUnit": "sample string 2",
  "Origin": 3,
  "Classification": 4,
  "Method": 5,
  "InterfaceCode": "sample string 6",
  "OpeningDate": "sample string 7",
  "ExpectedEndingDate": "sample string 8",
  "Calendar": 9,
  "TimeZone": "sample string 10",
  "MainRoleUser": "sample string 11",
  "Sections": [
    {
      "SectionName": "sample string 1",
      "Fields": [
        {
          "FieldName": "sample string 1",
          "Value": "sample string 2"
        },
        {
          "FieldName": "sample string 1",
          "Value": "sample string 2"
        }
      ]
    },
    {
      "SectionName": "sample string 1",
      "Fields": [
        {
          "FieldName": "sample string 1",
          "Value": "sample string 2"
        },
        {
          "FieldName": "sample string 1",
          "Value": "sample string 2"
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<CreateProjectRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortalSIM.Domain.EPM.Projects">
  <Calendar>9</Calendar>
  <Classification>4</Classification>
  <Description>sample string 1</Description>
  <ExpectedEndingDate>sample string 8</ExpectedEndingDate>
  <InterfaceCode>sample string 6</InterfaceCode>
  <MainRoleUser>sample string 11</MainRoleUser>
  <ManagementUnit>sample string 2</ManagementUnit>
  <Method>5</Method>
  <OpeningDate>sample string 7</OpeningDate>
  <Origin>3</Origin>
  <Sections>
    <Section>
      <Fields>
        <Field>
          <FieldName>sample string 1</FieldName>
          <Value>sample string 2</Value>
        </Field>
        <Field>
          <FieldName>sample string 1</FieldName>
          <Value>sample string 2</Value>
        </Field>
      </Fields>
      <SectionName>sample string 1</SectionName>
    </Section>
    <Section>
      <Fields>
        <Field>
          <FieldName>sample string 1</FieldName>
          <Value>sample string 2</Value>
        </Field>
        <Field>
          <FieldName>sample string 1</FieldName>
          <Value>sample string 2</Value>
        </Field>
      </Fields>
      <SectionName>sample string 1</SectionName>
    </Section>
  </Sections>
  <TimeZone>sample string 10</TimeZone>
</CreateProjectRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.