"use strict";
export class V2BaseRequest {
constructor(init) { Object.assign(this, init) }
}
export class V2BaseResponse {
/** @param {{responseStatus?:ResponseStatus}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
responseStatus;
}
export class PostAppleServicesSettingsResponse extends V2BaseResponse {
/** @param {{responseStatus?:ResponseStatus}} [init] */
constructor(init) { super(init); Object.assign(this, init) }
}
export class PostAppleServicesSettingsRequest extends V2BaseRequest {
/** @param {{username?:string,userEmail?:string,password?:string,apiKey?:string,publisherId?:string,userApiResponseJsonString?:string}} [init] */
constructor(init) { super(init); Object.assign(this, init) }
/** @type {string} */
username;
/** @type {string} */
userEmail;
/** @type {string} */
password;
/** @type {string} */
apiKey;
/** @type {string} */
publisherId;
/** @type {string} */
userApiResponseJsonString;
}
JavaScript PostAppleServicesSettingsRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsonl/reply/PostAppleServicesSettingsRequest HTTP/1.1
Host: api.booklinker.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"username":"String","userEmail":"String","password":"String","apiKey":"String","publisherId":"String","userApiResponseJsonString":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}