-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCreateAccounts.http
More file actions
31 lines (29 loc) · 1.13 KB
/
CreateAccounts.http
File metadata and controls
31 lines (29 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
### create a new open holding account owned by specific person
@ownerId = b282a98b-5941-4a8b-922d-335ac1fbb7ed
@baseCurrencyCode = SEK
POST {{apiUrl}} HTTP/1.1
SOAPAction: "http://tempuri.org/CreateAccounts"
Content-Type: text/xml; charset=utf-8
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<CreateAccounts xmlns="http://tempuri.org/">
<req>
<Credentials>
<UserName>{{userName}}</UserName>
<Password>{{password}}</Password>
</Credentials>
<identify>{{identify}}</identify>
<Entities>
<Account>
<Owner>{{ownerId}}</Owner>
<AccountTypeKey>HoldingAccount</AccountTypeKey>
<BaseCurrencyCode>{{baseCurrencyCode}}</BaseCurrencyCode>
<AccountStatus>1</AccountStatus>
<AccountComment>Test comment</AccountComment>
</Account>
</Entities>
</req>
</CreateAccounts>
</soap:Body>
</soap:Envelope>