/
restapihowtos2

restapihowtos2

Förlänga abonnemang med ett anrop

1. Lista personens abonnemang

Abonnemang

Exempel

GET:APIURLAPIURL/subscriptions.xml?reqpersonid={personid}&apikey=345435345 (nivå tre)

Detta ger {subscriptionid} och {monthlyamount}

2. Bokför betalning av period

Skapa avslutad order med ett anrop

Exempel

POST:APIURL/receipts.xml
apikey=345435345 (nivå tre)
reqpersonid={personid}
booking0.subscriptionid={subscriptionid}
payment.totalamount={monthlyamount}
payment.paymentmethodid=1
 
 

Related content

BRP API version 3
BRP API version 3
Read with this
subscriptions
subscriptions
Read with this
BRP API FAQ
BRP API FAQ
Read with this
API2
API2
Read with this
orders
orders
Read with this