Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Document URL's generation logic

For

...

On-line

  1. if no_tax_id = true
    1. Generate URL with type person.no_tax_id

For Offline

1. If $.declaration_request.person.tax_id not null:

  • Generate URL with type person.tax_id

32. For each $.declaration_request.person.documents:

  • Generate URL's with type person.{$.declaration_request.person.documents.[:].type}

43. If $.declaration_request.person.confidant_person.[:].tax_id not null, for each:

  • Generate URL with type confidant_person.{confidant_person.type}.tax_id

54. For each $.declaration_request.person.confidant_person.[:].documents_person:

  • Generate URL's with type confidant_person.{confidant_person.type}.{$.declaration_request.person.confidant_person.[:].documents_person.[:].type}

65. For each $.declaration_request.person.confidant_person.[:].documents_relationship:

  • Generate URL's with type confidant_person.{confidant_person.type}.{$.declaration_request.person.confidant_person.[:].documents_relationship.[:].type}

6.  If no_tax_id = true

  1. Generate URL with type person.no_tax_id

Invoke Media Content Storage to generate upload URL for each document obtained by executing logic above

...