MediaService
Most recent webservice is available here: /Retailer/V26/MediaService.asmx
Last updated: 2010-08-11 12:00 UTC
2010-03-17 12:00 UTC: First release deployed
2010-05-03 14:00 UTC: More detailed SoapExceptions implemented (see "PubHub implementeringsvejledning")
Links to documentation:
Pubhub Integration Guide v1.3 April 2013.pdf
PubHub Slutbrugervejledning.pdf (Dansk/Danish)
PubHub Slutbrugervejledning.doc (Dansk/Danish)
PubHub Slutbrugervejledning.htm (Dansk/Danish)
The following operations are supported. For a formal definition, please review the Service Description.
-
CreateSupportCase
Creates a support case.
Parameters (*=required):
licenseKey*: Guid identifying the retailer
message*: The support message
creatorEmailAddress: The creator's email address
orderNumber*: The order number to which the support case belongs
-
DeleteOrder
Deletes an order.
An order can only be deleted as long as the customer has not tried to download the book.
Parameters (*=required):
licenseKey*: Guid identifying the retailer
orderNumber*: The retailer order number identifying the order to be deleted
-
GetBook
Get book with the id given by "bookId".
Parameters (*=required):
licenseKey*: Guid identifying the retailer
bookId*: The bookId to return -
GetPromotions
Lists all promotions which are currently active.Parameters (*=required):
licenseKey*: Guid identifying the retailer.
-
ListAllBookIds
Lists all available book IDs.
Use the list of book ids that this method returns as argument to the method ListBooks(Guid licenseKey, Guid[] bookIds)
Parameters (*=required):
licenseKey*: Guid identifying the retailer
-
ListAllBookSubjects
Lists all book subjects.
BIC (Version 2, revision 01) is supported.
Parameters (*=required):
licenseKey*: Guid identifying the retailer -
ListAllBooks
Lists all available books.
Caution: This methods returns alot of data. To avoid problems increase the timeout in your web service client.
Parameters (*=required):
licenseKey*: Guid identifying the retailer.
-
ListBooks
Lists books with the ids given by "bookIds".
Parameters (*=required):
licenseKey*: Guid identifying the retailer
bookIds*: An array of bookIds -
ListModifiedBookIds
Lists book ids added, updated and deleted after "afterUTC".
Parameters (*=required):
licenseKey*: Guid identifying the retailer
afterUTC*: UTC date and time after which the books should have been added/updated/deleted
-
ListModifiedBooks
Lists books that have been added, updated and deleted after "afterUTC".
Parameters (*=required):
licenseKey*: Guid identifying the retailer
afterUTC*: UTC date and time after which the books should have been added/updated/deleted
-
OrderBook
Orders a book.
Parameters (*=required):
licenseKey*: Guid identifying the retailer
orderNumber*: A unique number identifying the order
bookId*: Id of the book to order
enduserEmailAddress: Provide end user's email adress to send an email containing the download url directly to the end user. Use NULL to not send an e-mail.