s1 API Host

<back to all web services

CreateNewsItemRequest

The following routes are available for this service:
POST, OPTIONS/api/admin/newsAdds a new news item for given customer groupsUser has to be authenticated.
Parameters:
NameParameterData TypeRequiredDescription
CreateNewsItemRequestbodyCreateNewsItemRequestYesGive the required values in the body to add a news item.

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

HTTP + CSV

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

POST /csv/oneway/CreateNewsItemRequest HTTP/1.1 
Host: s1-api.fource.nl 
Content-Type: text/csv
Content-Length: length

ImageBase64EncodedFile,ImageFileName,Content,Title,ExpiryDate,PublishDate
String,String,String,String,0001-01-01,0001-01-01