POST v1_0/AppProject

Create a new app project

Request Information

URI Parameters

None.

Body Parameters

The specification of the future app project

ProjectWriterServiceModel
NameDescriptionTypeAdditional information
IdApp

The identifier of the App

integer

Required

Title

The name of your project

string

Required

IdQuality

The identifier of the quality choosen for this project

integer

Required

Instruction

If required, some instructions

string

None.

QuestionOptions

If required, a list of options choices

Collection of string

None.

UrlNotification

A notification URL to warm you of the project evolution

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IdApp": 1,
  "Title": "sample string 2",
  "IdQuality": 3,
  "Instruction": "sample string 4",
  "QuestionOptions": [
    "sample string 1",
    "sample string 2"
  ],
  "UrlNotification": "sample string 5"
}

text/html

Sample:
{"IdApp":1,"Title":"sample string 2","IdQuality":3,"Instruction":"sample string 4","QuestionOptions":["sample string 1","sample string 2"],"UrlNotification":"sample string 5"}

application/xml, text/xml

Sample:
<ProjectWriterServiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Wirk.Api.Models.AppProject">
  <IdApp>1</IdApp>
  <IdQuality>3</IdQuality>
  <Instruction>sample string 4</Instruction>
  <QuestionOptions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </QuestionOptions>
  <Title>sample string 2</Title>
  <UrlNotification>sample string 5</UrlNotification>
</ProjectWriterServiceModel>

Response Information

Resource Description

The description of this new App project

ProjectReaderServiceModel
NameDescriptionTypeAdditional information
IdAppProject

The Identifier of this project

integer

None.

Title

The name of your project

string

None.

IdApp

The Id of the app

integer

None.

AppName

The name of the app

string

None.

IdQuality

The identifier of the quality choosen for this project

integer

None.

QualityName

The name of the quality choosen

string

None.

AppProjectState

The state of your project

string

None.

Instruction

If required, some instructions

string

None.

QuestionOptions

If required, a list of options choices

Collection of string

None.

UrlNotification

A notification URL to warm you of the project evolution

string

None.

CreationDate

The creation date of your project

date

None.

Credit

The amount paid for this project

integer

None.

NbTaskClosed

The number of task acoomplished

integer

None.

NbTotalTask

The total number of task

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "IdAppProject": 1,
  "Title": "sample string 2",
  "IdApp": 3,
  "AppName": "sample string 4",
  "IdQuality": 1,
  "QualityName": "sample string 5",
  "AppProjectState": "sample string 6",
  "Instruction": "sample string 7",
  "QuestionOptions": [
    "sample string 1",
    "sample string 2"
  ],
  "UrlNotification": "sample string 8",
  "CreationDate": "2019-10-19T09:43:23.0008626+01:00",
  "Credit": 1,
  "NbTaskClosed": 1,
  "NbTotalTask": 1
}

text/html

Sample:
{"IdAppProject":1,"Title":"sample string 2","IdApp":3,"AppName":"sample string 4","IdQuality":1,"QualityName":"sample string 5","AppProjectState":"sample string 6","Instruction":"sample string 7","QuestionOptions":["sample string 1","sample string 2"],"UrlNotification":"sample string 8","CreationDate":"2019-10-19T09:43:23.0008626+01:00","Credit":1,"NbTaskClosed":1,"NbTotalTask":1}

application/xml, text/xml

Sample:
<ProjectReaderServiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Wirk.Api.Models.AppProject">
  <AppName>sample string 4</AppName>
  <AppProjectState>sample string 6</AppProjectState>
  <CreationDate>2019-10-19T09:43:23.0008626+01:00</CreationDate>
  <Credit>1</Credit>
  <IdApp>3</IdApp>
  <IdAppProject>1</IdAppProject>
  <IdQuality>1</IdQuality>
  <Instruction>sample string 7</Instruction>
  <NbTaskClosed>1</NbTaskClosed>
  <NbTotalTask>1</NbTotalTask>
  <QualityName>sample string 5</QualityName>
  <QuestionOptions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </QuestionOptions>
  <Title>sample string 2</Title>
  <UrlNotification>sample string 8</UrlNotification>
</ProjectReaderServiceModel>