anonymized postman collection
MODIFY
postman/EVSE.postman_collection.json
postman/EVSE.postman_collection.json
],
"body": {
"mode": "raw",
- "raw": "{\n\t\"name\": \"Tenant 1\", \n\t\"email\": \"slf@chargeangels.fr\", \n\t\"subdomain\": \"slf2\"\n}"
+ "raw": "{\n\t\"email\": \"slf@chargeangels.fr\", \n\t\"subdomain\": \"slf2\"\n}"
},
"url": {
"raw": "{{base_url}}/v1/api/tenants",
},
{
"name": "FE-CompanyCreate",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ "var responseJson = JSON.parse(responseBody);",
+ "postman.setEnvironmentVariable(\"companyID\", responseJson[\"id\"]);"
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
"request": {
"auth": {
"type": "bearer",
"raw": "{\n\t\"name\": \"Eurecom2\",\n\t\"address\": {\n\t\t\"address1\": \"805 Av. du Docteur Maurice Donat\",\n\t\t\"address2\": \"Font de l'Orme\",\n\t\t\"postalCode\": \"06150\",\n\t\t\"city\": \"Mougins\",\n\t\t\"region\": \"PACA\",\n\t\t\"country\": \"France\"\n\t}\n}"
},
"url": {
- "raw": "{{base_url}}/client/api/CompanyCreate",
+ "raw": "{{base_url}}/v1/api/companies",
"host": [
"{{base_url}}"
],
"path": [
- "client",
+ "v1",
"api",
- "CompanyCreate"
+ "companies"
]
}
},
"method": "GET",
"header": [],
"url": {
- "raw": "{{base_url}}/v1/api/companies/5abeba344bae1457eb565e27",
+ "raw": "{{base_url}}/v1/api/companies/{{companyID}}",
"host": [
"{{base_url}}"
],
"v1",
"api",
"companies",
- "5abeba344bae1457eb565e27"
+ "{{companyID}}"
]
}
},
"raw": ""
},
"url": {
- "raw": "{{base_url}}/v1/api/companies/5a7234df6a0b293d15ed02e1",
+ "raw": "{{base_url}}/v1/api/companies/{{companyID}}",
"host": [
"{{base_url}}"
],
"v1",
"api",
"companies",
- "5a7234df6a0b293d15ed02e1"
+ "{{companyID}}"
]
}
},
"method": "GET",
"header": [],
"url": {
- "raw": "{{base_url}}/client/api/Site?ID=5abeba9e4bae1457eb565e66&WithUsers=false",
+ "raw": "{{base_url}}/client/api/Site?ID={{siteID}}&WithUsers=false",
"host": [
"{{base_url}}"
],
"query": [
{
"key": "ID",
- "value": "5abeba9e4bae1457eb565e66"
+ "value": "{{siteID}}"
},
{
"key": "WithUsers",
},
"response": []
},
- {
- "name": "FE-SiteImage",
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "token",
- "value": "{{token}}",
- "type": "string"
- }
- ]
- },
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{base_url}}/client/api/SiteImage?ID=5abeba9e4bae1457eb565e66",
- "host": [
- "{{base_url}}"
- ],
- "path": [
- "client",
- "api",
- "SiteImage"
- ],
- "query": [
- {
- "key": "ID",
- "value": "5abeba9e4bae1457eb565e66"
- }
- ]
- }
- },
- "response": []
- },
{
"name": "FE-ChargingStationRemoteStartTransaction",
"request": {
"raw": ""
},
"url": {
- "raw": "{{base_url}}/v1/api/transactions/1247155539",
+ "raw": "{{base_url}}/v1/api/transactions/{{transactionId}}",
"host": [
"{{base_url}}"
],
"v1",
"api",
"transactions",
- "1247155539"
+ "{{transactionId}}"
],
"query": [
{
"raw": ""
},
"url": {
- "raw": "{{base_url}}/v1/api/transactions/1247155538",
+ "raw": "{{base_url}}/v1/api/transactions/{{transactionId}}",
"host": [
"{{base_url}}"
],
"v1",
"api",
"transactions",
- "1247155538"
+ "{{transactionId}}"
]
}
},
"raw": ""
},
"url": {
- "raw": "{{base_url}}/v1/api/transactions/1247155539/ocpi/cdr",
+ "raw": "{{base_url}}/v1/api/transactions/{{transactionId}}/ocpi/cdr",
"host": [
"{{base_url}}"
],
"v1",
"api",
"transactions",
- "1247155539",
+ "{{transactionId}}",
"ocpi",
"cdr"
]
"raw": ""
},
"url": {
- "raw": "{{base_url}}/v1/api/transactions/1247155539/ocpi/cdr/action/export",
+ "raw": "{{base_url}}/v1/api/transactions/{{transactionId}}/ocpi/cdr/action/export",
"host": [
"{{base_url}}"
],
"v1",
"api",
"transactions",
- "1247155539",
+ "{{transactionId}}",
"ocpi",
"cdr",
"action",
"raw": ""
},
"url": {
- "raw": "{{base_url}}/v1/api/transactions/1247155539/consumptions",
+ "raw": "{{base_url}}/v1/api/transactions/{{transactionId}}/consumptions",
"host": [
"{{base_url}}"
],
"v1",
"api",
"transactions",
- "1247155539",
+ "{{transactionId}}",
"consumptions"
],
"query": [
"raw": ""
},
"url": {
- "raw": "{{base_url}}/v1/api/transactions/1247155539/consumptions/rebuild",
+ "raw": "{{base_url}}/v1/api/transactions/{{transactionId}}/consumptions/rebuild",
"host": [
"{{base_url}}"
],
"v1",
"api",
"transactions",
- "1247155539",
+ "{{transactionId}}",
"consumptions",
"rebuild"
]
"raw": ""
},
"url": {
- "raw": "{{base_url}}/v1/api/transactions/1247155539/stop/soft",
+ "raw": "{{base_url}}/v1/api/transactions/{{transactionId}}/stop/soft",
"host": [
"{{base_url}}"
],
"v1",
"api",
"transactions",
- "1247155539",
+ "{{transactionId}}",
"stop",
"soft"
]
"method": "GET",
"header": [],
"url": {
- "raw": "{{base_url}}/v1/api/users/60d34fc5e5984f1557496c30",
+ "raw": "{{base_url}}/v1/api/users/{{userID}}",
"host": [
"{{base_url}}"
],
"v1",
"api",
"users",
- "60d34fc5e5984f1557496c30"
+ "{{userID}}"
]
}
},
},
{
"name": "FE-UserCreate",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ "var responseJson = JSON.parse(responseBody);",
+ "postman.setEnvironmentVariable(\"userID\", responseJson[\"id\"]);"
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
"request": {
"auth": {
"type": "bearer",
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"name\": \"FABIANO\",\r\n \"firstName\": \"Sergio\",\r\n \"email\": \"sdf3.sdf.sdfssss@free.fr\",\r\n \"phone\": \"+33 492286307\",\r\n \"mobile\": \"\",\r\n \"iNumber\": \"I030367\",\r\n \"tagIDs\": [\r\n \"66BDC46F\"\r\n ],\r\n \"costCenter\": \"175030602\",\r\n \"status\": \"A\",\r\n \"role\": \"A\",\r\n \"password\": \"\"\r\n}\r\n"
+ "raw": "{\r\n \"name\": \"UpdateName\",\r\n \"firstName\": \"UpdateFirstname\",\r\n \"email\": \"update@email.fr\",\r\n \"phone\": \"+33 0102030405\",\r\n \"mobile\": \"\",\r\n \"iNumber\": \"I010203\",\r\n \"tagIDs\": [\r\n \"ABCDE123\"\r\n ],\r\n \"costCenter\": \"123456789\",\r\n \"status\": \"A\",\r\n \"role\": \"A\",\r\n \"password\": \"Azerty123!\"\r\n}\r\n"
},
"url": {
"raw": "{{base_url}}/v1/api/users/{{userID}}",
},
"response": []
},
+ {
+ "name": "FE-CarCreate",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ "var responseJson = JSON.parse(responseBody);",
+ "postman.setEnvironmentVariable(\"carID\", responseJson[\"id\"]);"
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"vin\": \"string\",\n \"licensePlate\": \"AB-123-CD\",\n \"carCatalogID\": 1160,\n \"forced\": true,\n \"type\": \"P\",\n \"userID\": \"{{userID}}\",\n \"default\": true,\n \"converter\": {\n \"amperagePerPhase\": 1,\n \"numberOfPhases\": 1,\n \"powerWatts\": 1,\n \"type\": \"S\"\n }\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{base_url}}/v1/api/cars",
+ "host": [
+ "{{base_url}}"
+ ],
+ "path": [
+ "v1",
+ "api",
+ "cars"
+ ]
+ }
+ },
+ "response": []
+ },
{
"name": "FE-Cars",
"request": {
"method": "GET",
"header": [],
"url": {
- "raw": "{{base_url}}/v1/api/cars/5ff8303fe4f49300181eb0d9",
+ "raw": "{{base_url}}/v1/api/cars/{{carID}}",
"host": [
"{{base_url}}"
],
"v1",
"api",
"cars",
- "5ff8303fe4f49300181eb0d9"
+ "{{carID}}"
],
"query": [
{
"response": []
},
{
- "name": "FE-CarCreate",
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
+ "name": "FE-Logs",
+ "event": [
{
- "key": "token",
- "value": "{{token}}",
- "type": "string"
- }
- ]
- },
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "{\n \"vin\": \"string\",\n \"licensePlate\": \"AB-123-CD\",\n \"carCatalogID\": 1160,\n \"forced\": true,\n \"type\": \"P\",\n \"userID\": \"{{userID}}\",\n \"default\": true,\n \"converter\": {\n \"amperagePerPhase\": 1,\n \"numberOfPhases\": 1,\n \"powerWatts\": 1,\n \"type\": \"S\"\n }\n}",
- "options": {
- "raw": {
- "language": "json"
+ "listen": "test",
+ "script": {
+ "exec": [
+ "var responseJson = JSON.parse(responseBody);",
+ "postman.setEnvironmentVariable(\"logID\", responseJson[\"result\"][0][\"id\"]);"
+ ],
+ "type": "text/javascript"
}
}
- },
- "url": {
- "raw": "{{base_url}}/v1/api/cars",
- "host": [
- "{{base_url}}"
],
- "path": [
- "v1",
- "api",
- "cars"
- ]
- }
- },
- "response": []
- },
- {
- "name": "FE-Logs",
"request": {
"auth": {
"type": "bearer",
"method": "GET",
"header": [],
"url": {
- "raw": "{{base_url}}/v1/api/loggings/611cca6c77d54005ca90a595",
+ "raw": "{{base_url}}/v1/api/loggings/{{logID}}",
"host": [
"{{base_url}}"
],
"v1",
"api",
"loggings",
- "611cca6c77d54005ca90a595"
+ "{{logID}}"
]
}
},
"method": "GET",
"header": [],
"url": {
- "raw": "{{base_url}}/v1/api/connections?UserID=60d476d8b6194a5a35c9ff6b",
+ "raw": "{{base_url}}/v1/api/connections?UserID={{userID}}",
"host": [
"{{base_url}}"
],
"query": [
{
"key": "UserID",
- "value": "60d476d8b6194a5a35c9ff6b"
+ "value": "{{userID}}"
}
]
}
},
{
"name": "FE-IntegrationConnectionsCreate",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ "var responseJson = JSON.parse(responseBody);",
+ "postman.setEnvironmentVariable(\"connectionID\", responseJson[\"id\"]);"
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
"request": {
"auth": {
"type": "bearer",
"method": "GET",
"header": [],
"url": {
- "raw": "{{base_url}}/v1/api/connections/60d476d8b6194a5a35c9ff6b",
+ "raw": "{{base_url}}/v1/api/connections/{{connectionID}}",
"host": [
"{{base_url}}"
],
"v1",
"api",
"connections",
- "60d476d8b6194a5a35c9ff6b"
+ "{{connectionID}}"
]
}
},
"method": "DELETE",
"header": [],
"url": {
- "raw": "{{base_url}}/v1/api/connections/60d476d8b6194a5a35c9ff6b",
+ "raw": "{{base_url}}/v1/api/connections/{{connectionID}}",
"host": [
"{{base_url}}"
],
"v1",
"api",
"connections",
- "60d476d8b6194a5a35c9ff6b"
+ "{{connectionID}}"
]
}
},
"response": []
},
{
- "name": "FE-OCPIEndpoint",
+ "name": "FE-OCPIEndpointCreate",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ "var responseJson = JSON.parse(responseBody);",
+ "postman.setEnvironmentVariable(\"ocpiEndpointID\", responseJson[\"id\"]);"
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
"request": {
"auth": {
"type": "bearer",
}
]
},
- "method": "GET",
+ "method": "POST",
"header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"name\": \"OCPI Endpoint name\",\n \"role\": \"CPO\",\n \"baseUrl\": \"https://xxxxxxx.xx\",\n \"countryCode\": \"FR\",\n \"partyId\": \"ABC\",\n \"localToken\": \"string\",\n \"token\": \"string\",\n \"backgroundPatchJob\": true\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
"url": {
- "raw": "{{base_url}}/v1/api/ocpi/endpoints/5c823acfab55f900083fead0",
+ "raw": "{{base_url}}/v1/api/ocpi/endpoints",
"host": [
"{{base_url}}"
],
"v1",
"api",
"ocpi",
- "endpoints",
- "5c823acfab55f900083fead0"
+ "endpoints"
]
}
},
"response": []
},
{
- "name": "FE-OCPIEndpointDelete",
+ "name": "FE-OCPIEndpoint",
"request": {
"auth": {
"type": "bearer",
}
]
},
- "method": "DELETE",
+ "method": "GET",
"header": [],
"url": {
- "raw": "{{base_url}}/v1/api/ocpi/endpoints/614c399fb1be2e11af30c052",
+ "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}",
"host": [
"{{base_url}}"
],
"api",
"ocpi",
"endpoints",
- "614c399fb1be2e11af30c052"
+ "{{ocpiEndpointID}}"
]
}
},
"response": []
},
{
- "name": "FE-OCPIEndpointCreate",
+ "name": "FE-OCPIEndpointDelete",
"request": {
"auth": {
"type": "bearer",
}
]
},
- "method": "POST",
+ "method": "DELETE",
"header": [],
- "body": {
- "mode": "raw",
- "raw": "{\n \"name\": \"OCPI Endpoint name\",\n \"role\": \"CPO\",\n \"baseUrl\": \"https://xxxxxxx.xx\",\n \"countryCode\": \"FR\",\n \"partyId\": \"ABC\",\n \"localToken\": \"string\",\n \"token\": \"string\",\n \"backgroundPatchJob\": true\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
"url": {
- "raw": "{{base_url}}/v1/api/ocpi/endpoints",
+ "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}",
"host": [
"{{base_url}}"
],
"v1",
"api",
"ocpi",
- "endpoints"
+ "endpoints",
+ "{{ocpiEndpointID}}"
]
}
},
}
},
"url": {
- "raw": "{{base_url}}/v1/api/ocpi/endpoints/614c3e32b1ef6620c9dfcdc7",
+ "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}",
"host": [
"{{base_url}}"
],
"api",
"ocpi",
"endpoints",
- "614c3e32b1ef6620c9dfcdc7"
+ "{{ocpiEndpointID}}"
]
}
},
}
},
"url": {
- "raw": "{{base_url}}/v1/api/ocpi/endpoints/614c3e32b1ef6620c9dfcdc7/ping",
+ "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}/ping",
"host": [
"{{base_url}}"
],
"api",
"ocpi",
"endpoints",
- "614c3e32b1ef6620c9dfcdc7",
+ "{{ocpiEndpointID}}",
"ping"
]
}
"method": "PUT",
"header": [],
"url": {
- "raw": "{{base_url}}/v1/api/ocpi/endpoints/614c3e32b1ef6620c9dfcdc7/cdrs/check",
+ "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}/cdrs/check",
"host": [
"{{base_url}}"
],
"api",
"ocpi",
"endpoints",
- "614c3e32b1ef6620c9dfcdc7",
+ "{{ocpiEndpointID}}",
"cdrs",
"check"
]
"method": "PUT",
"header": [],
"url": {
- "raw": "{{base_url}}/v1/api/ocpi/endpoints/614c3e32b1ef6620c9dfcdc7/locations/check",
+ "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}/locations/check",
"host": [
"{{base_url}}"
],
"api",
"ocpi",
"endpoints",
- "614c3e32b1ef6620c9dfcdc7",
+ "{{ocpiEndpointID}}",
"locations",
"check"
]
"method": "PUT",
"header": [],
"url": {
- "raw": "{{base_url}}/v1/api/ocpi/endpoints/614c3e32b1ef6620c9dfcdc7/sessions/check",
+ "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}/sessions/check",
"host": [
"{{base_url}}"
],
"api",
"ocpi",
"endpoints",
- "614c3e32b1ef6620c9dfcdc7",
+ "{{ocpiEndpointID}}",
"sessions",
"check"
]
"method": "PUT",
"header": [],
"url": {
- "raw": "{{base_url}}/v1/api/ocpi/endpoints/614c3e32b1ef6620c9dfcdc7/cdrs/pull",
+ "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}/cdrs/pull",
"host": [
"{{base_url}}"
],
"api",
"ocpi",
"endpoints",
- "614c3e32b1ef6620c9dfcdc7",
+ "{{ocpiEndpointID}}",
"cdrs",
"pull"
]
"method": "PUT",
"header": [],
"url": {
- "raw": "{{base_url}}/v1/api/ocpi/endpoints/614c3e32b1ef6620c9dfcdc7/locations/pull",
+ "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}/locations/pull",
"host": [
"{{base_url}}"
],
"api",
"ocpi",
"endpoints",
- "614c3e32b1ef6620c9dfcdc7",
+ "{{ocpiEndpointID}}",
"locations",
"pull"
]
"method": "PUT",
"header": [],
"url": {
- "raw": "{{base_url}}/v1/api/ocpi/endpoints/614c3e32b1ef6620c9dfcdc7/sessions/pull",
+ "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}/sessions/pull",
"host": [
"{{base_url}}"
],
"api",
"ocpi",
"endpoints",
- "614c3e32b1ef6620c9dfcdc7",
+ "{{ocpiEndpointID}}",
"sessions",
"pull"
]
"method": "PUT",
"header": [],
"url": {
- "raw": "{{base_url}}/v1/api/ocpi/endpoints/614c3e32b1ef6620c9dfcdc7/tokens/pull",
+ "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}/tokens/pull",
"host": [
"{{base_url}}"
],
"api",
"ocpi",
"endpoints",
- "614c3e32b1ef6620c9dfcdc7",
+ "{{ocpiEndpointID}}",
"tokens",
"pull"
]
"method": "PUT",
"header": [],
"url": {
- "raw": "{{base_url}}/v1/api/ocpi/endpoints/614c3e32b1ef6620c9dfcdc7/evses/statuses/send",
+ "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}/evses/statuses/send",
"host": [
"{{base_url}}"
],
"api",
"ocpi",
"endpoints",
- "614c3e32b1ef6620c9dfcdc7",
+ "{{ocpiEndpointID}}",
"evses",
"statuses",
"send"
"method": "PUT",
"header": [],
"url": {
- "raw": "{{base_url}}/v1/api/ocpi/endpoints/614c3e32b1ef6620c9dfcdc7/tokens/send",
+ "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}/tokens/send",
"host": [
"{{base_url}}"
],
"api",
"ocpi",
"endpoints",
- "614c3e32b1ef6620c9dfcdc7",
+ "{{ocpiEndpointID}}",
"tokens",
"send"
]
"method": "PUT",
"header": [],
"url": {
- "raw": "{{base_url}}/v1/api/ocpi/endpoints/614c3e32b1ef6620c9dfcdc7/register",
+ "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}/register",
"host": [
"{{base_url}}"
],
"api",
"ocpi",
"endpoints",
- "614c3e32b1ef6620c9dfcdc7",
+ "{{ocpiEndpointID}}",
"register"
]
}
"method": "PUT",
"header": [],
"url": {
- "raw": "{{base_url}}/v1/api/ocpi/endpoints/614c3e32b1ef6620c9dfcdc7/unregister",
+ "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}/unregister",
"host": [
"{{base_url}}"
],
"api",
"ocpi",
"endpoints",
- "614c3e32b1ef6620c9dfcdc7",
+ "{{ocpiEndpointID}}",
"unregister"
]
}
],
"body": {
"mode": "raw",
- "raw": "{\n\t\"name\": \"SAP Labs Mougins\",\n\t\"address\": {\n\t\t\"address1\": \"805 Av. du Docteur Maurice Donat\",\n\t\t\"address2\": \"Font de l'Orme\",\n\t\t\"postalCode\": \"06150\",\n\t\t\"city\": \"Mougins\",\n\t\t\"region\": \"PACA\",\n\t\t\"country\": \"France\"\n\t},\n\t\"companyID\": \"5abeba344bae1457eb565e27\"\n}"
+ "raw": "{\n\t\"name\": \"SAP Labs Mougins\",\n\t\"address\": {\n\t\t\"address1\": \"805 Av. du Docteur Maurice Donat\",\n\t\t\"address2\": \"Font de l'Orme\",\n\t\t\"postalCode\": \"06150\",\n\t\t\"city\": \"Mougins\",\n\t\t\"region\": \"PACA\",\n\t\t\"country\": \"France\"\n\t},\n\t\"companyID\": \"{{companyID}}\"\n}"
},
"url": {
"raw": "{{base_url}}/v1/api/sites",
],
"body": {
"mode": "raw",
- "raw": "{\n\t\"name\": \"SAP Labs Mougins updated\",\n\t\"address\": {\n\t\t\"address1\": \"805 Av. du Docteur Maurice Donat\",\n\t\t\"address2\": \"Font de l'Orme\",\n\t\t\"postalCode\": \"06150\",\n\t\t\"city\": \"Mougins\",\n\t\t\"region\": \"PACA\",\n\t\t\"country\": \"France\"\n\t},\n\t\"companyID\": \"5abeba344bae1457eb565e27\"\n}"
+ "raw": "{\n\t\"name\": \"SAP Labs Mougins updated\",\n\t\"address\": {\n\t\t\"address1\": \"805 Av. du Docteur Maurice Donat\",\n\t\t\"address2\": \"Font de l'Orme\",\n\t\t\"postalCode\": \"06150\",\n\t\t\"city\": \"Mougins\",\n\t\t\"region\": \"PACA\",\n\t\t\"country\": \"France\"\n\t},\n\t\"companyID\": \"{{companyID}}\"\n}"
},
"url": {
"raw": "{{base_url}}/v1/api/sites/{{siteID}}",
},
"response": []
},
- {
- "name": "FE-SiteAssignUsers Copy",
- "event": [
- {
- "listen": "test",
- "script": {
- "exec": [
- ""
- ],
- "type": "text/javascript"
- }
- }
- ],
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "token",
- "value": "{{token}}",
- "type": "string"
- }
- ]
- },
- "method": "PUT",
- "header": [
- {
- "key": "Content-Type",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\n \"userIDs\": [\"{{userID}}\"]\n}"
- },
- "url": {
- "raw": "{{base_url}}/v1/api/sites/{{siteID}}/users/assign",
- "host": [
- "{{base_url}}"
- ],
- "path": [
- "v1",
- "api",
- "sites",
- "{{siteID}}",
- "users",
- "assign"
- ]
- }
- },
- "response": []
- },
{
"name": "FE-SiteSetAdmin",
"event": [
}
],
"url": {
- "raw": "{{base_url}}/v1/util/sites/{{siteID}}/image?TenantID=aaaaaaaaaaaaaaaaaaaaaaa1",
+ "raw": "{{base_url}}/v1/util/sites/{{siteID}}/image?TenantID={{tenantID}}",
"host": [
"{{base_url}}"
],
"query": [
{
"key": "TenantID",
- "value": "aaaaaaaaaaaaaaaaaaaaaaa1"
+ "value": "{{tenantID}}"
}
]
}
],
"body": {
"mode": "raw",
- "raw": "{\n \"id\": \"61efb66864118300f06ea3f1\",\n \"identifier\": \"billing\",\n \"sensitiveData\": [],\n \"type\": \"stripe\",\n \"billing\": {\n \"isTransactionBillingActivated\": true,\n \"immediateBillingAllowed\": true,\n \"periodicBillingAllowed\": true,\n \"taxID\": \"\"\n },\n \"stripe\": {\n \"url\": \"string\",\n \"secretKey\": \"string\",\n \"publicKey\": \"string\"\n }\n}"
+ "raw": "{\n \"id\": \"\",\n \"identifier\": \"billing\",\n \"sensitiveData\": [],\n \"type\": \"stripe\",\n \"billing\": {\n \"isTransactionBillingActivated\": true,\n \"immediateBillingAllowed\": true,\n \"periodicBillingAllowed\": true,\n \"taxID\": \"\"\n },\n \"stripe\": {\n \"url\": \"string\",\n \"secretKey\": \"string\",\n \"publicKey\": \"string\"\n }\n}"
},
"url": {
"raw": "{{base_url}}/v1/api/billing-setting",
],
"body": {
"mode": "raw",
- "raw": "{\n \"id\": \"61efb66864118300f06ea3f1\",\n \"identifier\": \"billing\",\n \"sensitiveData\": [],\n \"type\": \"stripe\",\n \"billing\": {\n \"isTransactionBillingActivated\": true,\n \"immediateBillingAllowed\": true,\n \"periodicBillingAllowed\": true,\n \"taxID\": \"\"\n },\n \"stripe\": {\n \"url\": \"string\",\n \"secretKey\": \"string\",\n \"publicKey\": \"string\"\n }\n}"
+ "raw": "{\n \"id\": \"\",\n \"identifier\": \"billing\",\n \"sensitiveData\": [],\n \"type\": \"stripe\",\n \"billing\": {\n \"isTransactionBillingActivated\": true,\n \"immediateBillingAllowed\": true,\n \"periodicBillingAllowed\": true,\n \"taxID\": \"\"\n },\n \"stripe\": {\n \"url\": \"string\",\n \"secretKey\": \"string\",\n \"publicKey\": \"string\"\n }\n}"
},
"url": {
"raw": "{{base_url}}/v1/api/users/{{userID}}/payment-methods?Limit=100",
}
],
"url": {
- "raw": "{{base_url}}/v1/api/users/{{userID}}/payment-methods/pm_1Ib3MxF5e1VSb1v6eH3Zhn4K",
+ "raw": "{{base_url}}/v1/api/users/{{userID}}/payment-methods/{{paymentMethodID}}",
"host": [
"{{base_url}}"
],
"users",
"{{userID}}",
"payment-methods",
- "pm_1Ib3MxF5e1VSb1v6eH3Zhn4K"
+ "{{paymentMethodID}}"
],
"query": [
{
],
"body": {
"mode": "raw",
- "raw": "{\n \"paymentMethodId\": \"pm_1Ib3MxF5e1VSb1v6eH3Zhn4K\"\n}"
+ "raw": "{\n \"paymentMethodId\": \"{{paymentMethodID}}\"\n}"
},
"url": {
"raw": "{{base_url}}/v1/api/users/{{userID}}/payment-methods/setup",
"raw": "{\n \"paymentMethodId\": \"pm_1Ib3MxF5e1VSb1v6eH3Zhn4K\"\n}"
},
"url": {
- "raw": "{{base_url}}/v1/api/users/{{userID}}/payment-methods/pm_1Ib3MxF5e1VSb1v6eH3Zhn4K/attach",
+ "raw": "{{base_url}}/v1/api/users/{{userID}}/payment-methods/{{paymentMethodID}}/attach",
"host": [
"{{base_url}}"
],
"users",
"{{userID}}",
"payment-methods",
- "pm_1Ib3MxF5e1VSb1v6eH3Zhn4K",
+ "{{paymentMethodID}}",
"attach"
],
"query": [
}
],
"url": {
- "raw": "{{base_url}}/v1/api/users/{{userID}}/payment-methods/pm_1Ib3MxF5e1VSb1v6eH3Zhn4K/attach",
+ "raw": "{{base_url}}/v1/api/users/{{userID}}/payment-methods/{{paymentMethodID}}/attach",
"host": [
"{{base_url}}"
],
"users",
"{{userID}}",
"payment-methods",
- "pm_1Ib3MxF5e1VSb1v6eH3Zhn4K",
+ "{{paymentMethodID}}",
"attach"
],
"query": [
}
],
"url": {
- "raw": "{{base_url}}/v1/api/invoices/5bbd06cd4598d76ea07dd3cf",
+ "raw": "{{base_url}}/v1/api/invoices/{{invoiceID}}",
"host": [
"{{base_url}}"
],
"v1",
"api",
"invoices",
- "5bbd06cd4598d76ea07dd3cf"
+ "{{invoiceID}}"
]
}
},
}
],
"url": {
- "raw": "{{base_url}}/v1/api/invoices/5bbd06cd4598d76ea07dd3cf/download",
+ "raw": "{{base_url}}/v1/api/invoices/{{invoiceID}}/download",
"host": [
"{{base_url}}"
],
"v1",
"api",
"invoices",
- "5bbd06cd4598d76ea07dd3cf",
+ "{{invoiceID}}",
"download"
]
}
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"name\": \"DEMO\",\r\n \"firstName\": \"Demo\",\r\n \"email\": \"demo.basic@sap.com\",\r\n \"phone\": \"+33 492286307\",\r\n \"mobile\": \"\",\r\n \"iNumber\": \"I030367\",\r\n \"tagIDs\": [\r\n \"66BDC46F\"\r\n ],\r\n \"costCenter\": \"175030602\",\r\n \"status\": \"A\",\r\n \"role\": \"A\",\r\n \"password\": \"\"\r\n}\r\n"
+ "raw": "{\r\n \"name\": \"DEMO\",\r\n \"firstName\": \"Demo\",\r\n \"email\": \"demo.basic@sap.com\",\r\n \"phone\": \"+33 123456789\",\r\n \"mobile\": \"\",\r\n \"iNumber\": \"I123456\",\r\n \"tagIDs\": [\r\n \"ABCDE123\"\r\n ],\r\n \"costCenter\": \"123456789\",\r\n \"status\": \"A\",\r\n \"role\": \"A\",\r\n \"password\": \"\"\r\n}\r\n"
},
"url": {
"raw": "{{base_url}}/v1/api/users/{{userID}}",
},
"response": []
},
- {
- "name": "FE-SiteUpdate",
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "token",
- "value": "{{token}}",
- "type": "string"
- }
- ]
- },
- "method": "PUT",
- "header": [
- {
- "key": "Content-Type",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"id\": \"5abeba8d4bae1457eb565e5b\",\r\n \"name\": \"SAP Labs Mouginsss\",\r\n \"companyID\": \"5abeba344bae1457eb565e27\",\r\n \"userIDs\" : [\"592e969f89d8e07a2b16a79b\",\"59f08d7cf2c8c0ed9ed46cb4\"]\r\n}\r\n"
- },
- "url": {
- "raw": "{{base_url}}/client/api/SiteUpdate",
- "host": [
- "{{base_url}}"
- ],
- "path": [
- "client",
- "api",
- "SiteUpdate"
- ]
- }
- },
- "response": []
- },
{
"name": "FE-TenantUpdate",
"request": {

anonymized postman collection