CMS

<back to all web services

GetContents

The following routes are available for this service:
GET/content/list
GetContentsResponse Parameters:
NameParameterData TypeRequiredDescription
ResultsformList<Content>No
ResponseStatusformResponseStatusNo
Content Parameters:
NameParameterData TypeRequiredDescription
ContentIDformintNo
cTypeformint?No
fkTaalIDformint?No
cNaamformstringNo
cPaginaTitelformstringNo
cSEOOmschrijvingformstringNo
cSEOURLformstringNo
fkSEOFotoIDformint?No
cFocusTermformstringNo
cTitelformstringNo
cTekstformstringNo
cIntroformstringNo
fkThumbnailIDformint?No
cOrderformint?No
LaatsteUpdateformDateTimeNo
LaatsteUpdateDoorformstringNo
cHeaderFotoformint?No
cHeaderTekstformstringNo
cC2ATekstformstringNo
cC2ATekstButtonLinkformstringNo
cC2ATekstButtonTekstformstringNo
cIntroOverzichtformstringNo
cIntroOverOnsformstringNo
cIntroKortformstringNo
cDatumformDateTime?No
cAuteurformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /content/list HTTP/1.1 
Host: cms.exitus-ict.nl 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"results":[{"contentID":0,"cType":0,"fkTaalID":0,"cNaam":"String","cPaginaTitel":"String","cSEOOmschrijving":"String","cSEOURL":"String","fkSEOFotoID":0,"cFocusTerm":"String","cTitel":"String","cTekst":"String","cIntro":"String","fkThumbnailID":0,"cOrder":0,"laatsteUpdate":"\/Date(-62135596800000-0000)\/","laatsteUpdateDoor":"String","cHeaderFoto":0,"cHeaderTekst":"String","cC2ATekst":"String","cC2ATekstButtonLink":"String","cC2ATekstButtonTekst":"String","cIntroOverzicht":"String","cIntroOverOns":"String","cIntroKort":"String","cDatum":"\/Date(-62135596800000-0000)\/","cAuteur":"String"}],"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}