Projects > Type Determination


stage

stage name
1 Concept
2 Working Prototype
3 Production
4 Shipping

Show

GET : /api/designnest/v1/projects/{projectID}/type_determination

projectID : current project id

Response :

{
    "code" : 1 ,
    "message" : "" ,
    "data" : [
        "detail" : {
            "first_question" : 0 ,
            "second_question" : 0 ,
            "third_question" : "" ,
            "fourth_question" : 0 ,
            "fourth_question_url" : url 
        }
    ]
}

Create

POST : /api/designnest/v1/projects/type_determination

1. What's your goal for this project ?

answer id answer name
5 Crowdfund/Sell product
6 Showcase product

2. What is the current stage of your product ?

answer id answer name
1 Concept
2 (Working) prototype
3 Production
4 Shipping

project type

first answer id second answer id project type project type id
5 1 Funding 1
5 2 Funding 1
5 3 Coming Soon 3
5 4 Available 4
6 1 Showcase 5
6 2 Showcase 5
6 3 Showcase 5
6 4 Showcase 5

fourth_question_type

type name
1 within 15 days shipping
2 15 to 30 days shipping
3 30 to 60 days shipping
4 more than 60 days shipping

3. input ?

project type id input format
1 numeric 0
3 date Y-m-d
4 select 1>>within 15 days shipping ; 2>>15 to 30 days shipping ; 3>>30 to 60 days shipping ; 4>>more than 60 days shipping ;

4. Where do you want to handle your orders ?

answer id input format
1
2 string url

Request parameters

{
    "project" : {
        "answers" : {
            "first_question" : 0 ,
            "second_question" : 0 ,
            "third_question" : numeric / date / type ,
            "fourth_question" : 0 ,
            "fourth_question_url" : url ,
        } 
    }
}

Response :

{
    "code" : 1 ,
    "message" : "" ,
    "data" : [
        "id" => 0
    ]
}

Edit

PATCH : /api/designnest/v1/projects/{projectID}/type_determination

projectID : current project id

Request parameters

{
    "project" : {
        "answers" : {
            "first_question" : 0 ,
            "second_question" : 0 ,
            "third_question" : numeric / date / type ,
            "fourth_question" : 0 ,
            "fourth_question_url" : url ,
        } 
    }
}

Response :

{
    "code" : 1 ,
    "message" : "" ,
    "data" : [
        "id" => 0
    ]
}