name | type | description | constraints |
---|---|---|---|
filter_cnr | query | ||
filter_company | query | ||
filter_myopen | query | boolean | |
filter_withCancelled | query | boolean | |
limit | query | int | |
startIndex | query | int | |
userid | query |
media type | data type | description |
---|---|---|
application/json | ProjectEntryList (JSON) | |
application/xml;charset=UTF-8 | object |
GET /api/v1/project
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"entries" : [ {
"cnr" : "...",
"customerName" : "...",
"category" : "...",
"title" : "...",
"customerPartnerId" : 12345,
"customerAddress" : "...",
"priority" : 12345,
"deadlineMs" : 12345,
"internalDone" : true,
"internalComment" : "...",
"statusCnr" : "...",
"id" : 12345
}, {
"cnr" : "...",
"customerName" : "...",
"category" : "...",
"title" : "...",
"customerPartnerId" : 12345,
"customerAddress" : "...",
"priority" : 12345,
"deadlineMs" : 12345,
"internalDone" : true,
"internalComment" : "...",
"statusCnr" : "...",
"id" : 12345
} ]
}
name | type | description | constraints |
---|---|---|---|
projectid | path | int | |
grouping | query | ||
keywords | query | ||
securitylevel | query | long | |
type | query | ||
userid | query |
media type | data type |
---|---|
application/json | MultipartBody (JSON) |
application/xml | multipartBody (XML) |
POST /api/v1/project/{projectid}/document
Content-Type: application/json
{
"allAttachments" : [ {
"contentDisposition" : {
"type" : "...",
"parameters" : {
"property1" : "...",
"property2" : "..."
}
},
"object" : { },
"contentType" : {
"type" : "...",
"wildcardSubtype" : true,
"parameters" : {
"property1" : "...",
"property2" : "..."
},
"wildcardType" : true,
"subtype" : "..."
},
"contentId" : "...",
"dataHandler" : "...",
"headers" : {
"property1" : [ "...", "..." ],
"property2" : [ "...", "..." ]
}
}, {
"contentDisposition" : {
"type" : "...",
"parameters" : {
"property1" : "...",
"property2" : "..."
}
},
"object" : { },
"contentType" : {
"type" : "...",
"wildcardSubtype" : true,
"parameters" : {
"property1" : "...",
"property2" : "..."
},
"wildcardType" : true,
"subtype" : "..."
},
"contentId" : "...",
"dataHandler" : "...",
"headers" : {
"property1" : [ "...", "..." ],
"property2" : [ "...", "..." ]
}
} ],
"type" : {
"type" : "...",
"wildcardSubtype" : true,
"parameters" : {
"property1" : "...",
"property2" : "..."
},
"wildcardType" : true,
"subtype" : "..."
},
"rootAttachment" : {
"contentDisposition" : {
"type" : "...",
"parameters" : {
"property1" : "...",
"property2" : "..."
}
},
"object" : { },
"contentType" : {
"type" : "...",
"wildcardSubtype" : true,
"parameters" : {
"property1" : "...",
"property2" : "..."
},
"wildcardType" : true,
"subtype" : "..."
},
"contentId" : "...",
"dataHandler" : "...",
"headers" : {
"property1" : [ "...", "..." ],
"property2" : [ "...", "..." ]
}
},
"childAttachments" : [ {
"contentDisposition" : {
"type" : "...",
"parameters" : {
"property1" : "...",
"property2" : "..."
}
},
"object" : { },
"contentType" : {
"type" : "...",
"wildcardSubtype" : true,
"parameters" : {
"property1" : "...",
"property2" : "..."
},
"wildcardType" : true,
"subtype" : "..."
},
"contentId" : "...",
"dataHandler" : "...",
"headers" : {
"property1" : [ "...", "..." ],
"property2" : [ "...", "..." ]
}
}, {
"contentDisposition" : {
"type" : "...",
"parameters" : {
"property1" : "...",
"property2" : "..."
}
},
"object" : { },
"contentType" : {
"type" : "...",
"wildcardSubtype" : true,
"parameters" : {
"property1" : "...",
"property2" : "..."
},
"wildcardType" : true,
"subtype" : "..."
},
"contentId" : "...",
"dataHandler" : "...",
"headers" : {
"property1" : [ "...", "..." ],
"property2" : [ "...", "..." ]
}
} ]
}
HTTP/1.1 201 Created