-
Notifications
You must be signed in to change notification settings - Fork 0
Get Started
iPro Software edited this page Oct 22, 2015
·
3 revisions
Follow the few easy steps below to make your first iPro API call using OAuth 2.0.
Register your application with iPro channel system to receive an API key. This unique key helps us identify your application and lets you make API calls. Once you've registered your iPro app, you will be provided with an Client Id and Client Secret Key. For the safety of your application please do not share your Client Secret Key.
You need access tokens in order to make API calls to iPro channel system. Follow the two steps below to get one:
Request:
POST /oauth/2.0/token HTTP/1.1
Authorization: Basic MTAwMDo3Y2Y1MjI3OGViMzc0ZjdkYjU1ODg0MmZmOTBmMzM5MzI=
Content-Type: application/x-www-form-urlencoded; charset=utf-8
Host: demo.ipro-software.com
Cache-Control: no-store,no-cache
Pragma: no-cache
Content-Length: 29
Expect: 100-continue
grant_type=client_credentials
- Authorization =base64(client_id:client:secret)
- demo.ipro-software.com should be changed into the host who authorized your application.
Response:
HTTP/1.1 200 OK
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Content-Length: 1569
Content-Type: application/json; charset=utf-8
Date: Sun, 24 Nov 2013 13:50:36 GMT
{
"access_token": "AAIAAHJLskbeXrmBkisd_bumB3nlPW9kAtx0wvPwdtGI0JeLx4Cu9e6vOEWxFlS9-IJZz4VdEEN1C9dXv099BG49Wbcrszo3JAlvefi_gcnPZ4oV7tlkmo91vFlwtsX4iL7taxqjPl0qTZPC9BORbo7oLFUOtWuRXXnpltEY0swGaGrjnV-Rodw5zQ_jdWlqrad5RNJFwWsVBDYeogSliT6NVmVwGhdJdm3lnxQlm0nyRbpK9qNApVImPm0yImxQkXcZyplBS-X7uBnc2Vde4uL12tFjhTlFlbKLgvzvTC9xe09aTNH69KKWejbg00F_otQOaq9S0AZuQEeXOVE2Obs66KxRni710RMrJQ2gfMgyTmslAQbXo7Vesc_zclidEVexwBb8En7vb5yykJiVeMWcPgMQtlpNhJBBZD4Wmu4HCQ7hint6AB6fexssHJEYc8kpCwLeeynCVmTzkZBeSH3eAtCaUKb-i1_uqDZNHUXUCBbzLBpoPQOuwz_-Qyie7UwBKZotyQweqJAkqAyb7K7mj1R2UAvg-xwh1fqzET3RjxqCUVQW2JiMoaHfUJMeJCPa6uWcehJcSvNQWbh561OggTJWlHShJLA74D64HItLPq-hOJhLcQ76TNV3IeklQLjPnuWFLT-qe1jIBIKiyYpQUXFgOEICv9RDLRLNSK7ZRUi-ZAIAAAACAAACCXWvwYW0X7amvy2pXkPm7-lbD3viV3iQvFxv7JyV30dytl2DihlMnHhqS2N-UERaLEYwlxNpNZJ81Y9VHP3Hv81JPpa1VvuhsJ2h_c33I-zHjtTWHgs0-1vokEWqkQInKuG31jVkxq3_D5OFY4pc0vxXMkR0C8kRwvhlVgvAojjbcsTFmTlo3EepG712NIbF6rXy3gAQfywt1Ck3rPwUeb08XnbFXBasbicwP5xurDF8O2ZpDSCjMDmuqN-fzNtqZaN7eAmQN5B8rw5RT8tYRhGOjo0_8XNhWT7oCjFJrnuSan0EbMTEC5fxDoNbysTowkwRxcaay7PcGUdzIJCIoQJR6ma27dPQraQRAGRDb7SD8LagvHxe-DyGck-iwc5GL0ktKOB_TBwE0MMHYvJ3GLTztWENLyGZ6yKePx4FvRBYBrJ9I7FbfyEZHN7ty_TNMTFWKzLP0Z5gX8OFqJ4yqXMe3qNP8RPXJ5bLcVKI_dnGU47inIgXHf5XbLjTs9k_ejVwIqAqmsc-vdIcOmGivU9IxjmMsfN506Zr0XqUo60dKFg_87DFkI2twQaZm_fKqlX3OEKkUFYuhqci1t4A-8mPKj7YrojPt_Xa0eHt9Vj7XBaqv7vFHA2xg_0JlqxuUhBC_zHfoYoM0sjr21Mv8gwiQou0Ye_fytxun8FmFldebIZVyVlbCOi-EZ_LjnLwrNl7avU8P8NCqVt-2B289pZcJovur7JnaeRMsz2yKnbz40k4aT7txfqSdcHcCNf6SIfF9QBUYpYBWjYtDDAjb1m15OX_awUFRltiKynxPA",
"token_type": "bearer",
"expires_in": 3600
}
- Get Started Authentication
- Get Started Best Practise
- Settings
- Contacts
- Properties
- Properties
- Property Detail
- Property Images
- Property Extras
- Property Reference Lookup
- Property Rates
- Push Property Rates
- Property Custom Rates
- Property Availabilities
- Property Day Availabilities
- Property Rooms
- Property Distances
- Property All
- Property Search
- Property Search Lite
- Property Search Lite v2
- Property Enquiries
- Property Welcome Pack
- Push Property
- Properties Last Updated
- Property Day Availability Check
- Property Reviews
- Property Blockouts
- Property Detail Events
- Property Search Events
- Property Management
- Enquries
- Bookings
- Reviews
- Payments
- Offers & Deals
- Reports
- Communications