PUT | /messages/getstarted | Will send get started messages to all new customers that haven't get started yet |
---|
import Foundation
import ServiceStack
public class SendGetStartedMessage : Codable
{
required public init(){}
}
public class SendGetStartedMessageResponse : Codable
{
public var companies:Int
public var sentCount:Int
public var responseStatus:ResponseStatus
required public init(){}
}
Swift SendGetStartedMessage DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /messages/getstarted HTTP/1.1
Host: api.bokamera.se
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"Companies":0,"SentCount":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}