Advertisement
Guest User

Untitled

a guest
Feb 20th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.12 KB | None | 0 0
  1. {
  2.       recipients: [
  3.         {
  4.           givenName: order.firstName,
  5.           familyName: order.lastName,
  6.           email: order.email,
  7.           signingMethod: 'bankid-se',
  8.           language: 'sv_SE',
  9.           role: {
  10.             action: 'sign',
  11.             name: 'signer'
  12.           }
  13.         }
  14.       ],
  15.       documents: [
  16.         {
  17.           descriptor: { hash: 1 },
  18.           name: 'Siemens Hyresavtal',
  19.           data: {
  20.             rentingCompanyName: order.company,
  21.             supplierName: partner.name,
  22.  
  23.             rentingCompanyPhone: order.phone,
  24.             rentingCompanyOrgNo: order.orgNumber,
  25.             supplierCompanyPhone: 'supplier phone',
  26.             supplierCompanyOrgNo: partner.orgNumber,
  27.  
  28.             rentingCompanyContact: `${order.firstName} ${order.lastName}`,
  29.             rentingCompanyEmail: order.email,
  30.             salesRep: 'no',
  31.             supplierCompanyEmail: 'Need supplier company email',
  32.  
  33.             invoicingAddress: `${order.billingAddress} ${order.billingCity} ${order.billingPostalCode}`,
  34.             _isForwarded: false
  35.           }
  36.         }
  37.       ]
  38.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement