1.0.0 • Published 6 years ago

serverless-graphql-base-project v1.0.0

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

Bytesansokan API

getting started

  1. npm install

CreateApplicant endpoint

  1. Find url to the endpoint in the AWS Console -> API-gateway
  2. Make a post request with body according to example request below, the password can be found in basecamp documents -> Accounts & Credentials
{ 
  "Password": "pass"
  "Applicants": [
    {
      "Id": 633384,
      "Members": {
        "Member1": {
          "Email": "admin@betmate.se",
          "Name": "Kalle",
          "Ssn": "880404-0031",
          "Phone": "123123123",
          "ApartmentId": "633384.apartment1",
        },
        "Member2": null,
      },
      "Apartments": {
        "Apartment1": {
          "Landlord": null,
          "Address": "Gratisgatan 12",
          "PostalCode": "16433",
          "City": "Kista",
        },
        "Apartment2": null,
      },
    },
    {
      "Id": 377542,
      "Members": {
        "Member1": {
          "Email": "324110@lbtest.se",
          "Name": "Josefine Holmberg",
          "Ssn": null,
          "Phone": "0739377805",
          "ApartmentId": "377542.apartment1",
        },
        "Member2": null,
      },
      "Apartments": {
        "Apartment1": {
          "Landlord": "tingstr?ms",
          "Address": "Rusth?llarv?gen 99",
          "PostalCode": "12843",
          "City": "Bagarmossen",
        },
        "Apartment2": null,
      },
    },
  ],
}