Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to download messages by product reference #7

Open
v-kolesnikov opened this issue Aug 9, 2019 · 0 comments
Open

Add the ability to download messages by product reference #7

v-kolesnikov opened this issue Aug 9, 2019 · 0 comments

Comments

@v-kolesnikov
Copy link
Owner

Add an ability to download messages that includes product with the given reference.
It might be a simple button that returns ZIP-file with messages.

Input:

# 20190806T081541Z.xml
<ONIXMessage xmlns="http://ns.editeur.org/onix/3.0/reference" release="3.0">
  <Header>
    <SentDateTime>20190806T081541Z</SentDateTime>
  </Header>
  <Product>
    <RecordReference>1</RecordReference>
  </Product>
  <Product>
    <RecordReference>2</RecordReference>
  </Product>
  ...
</ONIXMessage>

# 20190807T081541Z.xml
<ONIXMessage xmlns="http://ns.editeur.org/onix/3.0/reference" release="3.0">
  <Header>
    <SentDateTime>20190807T081541Z</SentDateTime>
  </Header>
  <Product>
    <RecordReference>1</RecordReference>
  </Product>
  <Product>
    <RecordReference>2</RecordReference>
  </Product>
  ...
</ONIXMessage>

Output (by ref 1):

# 20190806T081541Z.xml
<ONIXMessage xmlns="http://ns.editeur.org/onix/3.0/reference" release="3.0">
  <Header>
    <SentDateTime>20190806T081541Z</SentDateTime>
  </Header>
  <Product>
    <RecordReference>2</RecordReference>
  </Product>
</ONIXMessage>

# 20190807T081541Z.xml
<ONIXMessage xmlns="http://ns.editeur.org/onix/3.0/reference" release="3.0">
  <Header>
    <SentDateTime>20190807T081541Z</SentDateTime>
  </Header>
  <Product>
    <RecordReference>1</RecordReference>
  </Product>
</ONIXMessage>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant