Last updated 2 months ago
POST /v1/econtract/momofingo/sign/placement-docs
POST
/v1/econtract/momofingo/sign/placement-docs
Submits the placement of signature documents.
16502
OK
200
true
"Berhasil mengirimkan dokumen."
const response = await fetch('http://{{base_url}}v1/econtract/momofingo/sign/placement-docs', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "signers": [ { "page": 1, "props": { "x": 306, "y": 396, "w": 50, "h": 50 }, "user": { "speciment": "", "name": "bowo test", "email": null, "userid": "ab69d220-b697-11ee-bada-41a5d350d473" }, "emet": { "urx": 356, "ury": 396, "llx": 306, "lly": 346 }, "sign": null, "type": "emet", "documentSize": { "height": 792, "width": 612 } } ], "document_id": 12345 }), }); const data = await response.json();
{ "code": 200, "success": true, "msg": "Berhasil mengirimkan dokumen.", "response": { "data": { "document_id": 16502, "signer": [ { "page": 1, "props": { "x": 306, "y": 396, "w": 50, "h": 50 }, "user": { "speciment": "", "name": "bowo test", "email": null, "userid": "ab69d220-b697-11ee-bada-41a5d350d473" }, "emet": { "urx": 356, "ury": 396, "llx": 306, "lly": 346 }, "sign": null, "type": "emet", "documentSize": { "height": 792, "width": 612 } } ] } } }