Request Log

Time 2023-02-10 07:57:15.995860
Endpoint SETU Timecard example
Success True
Endpoint url https://httpbin.org/post
Input format xml
Output format turtle
Response from https://httpbin.org/post
{
  "args": {},
  "data": "{\"payload\": \"@prefix setu: <http://ontology.setu.nl#> .\\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .\\n\\n<http://example.com/person/1102116> a setu:Person;\\n  setu:supplierAssignedIdentifier \\\"1102116\\\" .\\n\\n_:0 a setu:WorkActivity;\\n  setu:activityEnd \\\"2019-06-03T18:00:00Z\\\";\\n  setu:activityStart \\\"2019-06-03T09:00:00Z\\\";\\n  setu:costCenterCode \\\"NL010000516540\\\";\\n  setu:duration 8.0;\\n  setu:hourType setu:HourTypeRegular .\\n\\n_:1 a setu:WorkActivity;\\n  setu:activityEnd \\\"2019-06-03T19:00:00Z\\\";\\n  setu:activityStart \\\"2019-06-03T18:00:00Z\\\";\\n  setu:costCenterCode \\\"NL010000516540\\\";\\n  setu:duration 1.0;\\n  setu:hourType setu:HourTypeOvertime .\\n\\n_:2 a setu:Timecard;\\n  setu:customerAssignedTimecardIdentifier \\\"1102116-12345\\\";\\n  setu:reportedResource <http://example.com/person/1102116>;\\n  setu:reportedWorkActivity _:0, _:1 .\\n\"}",
  "files": {},
  "form": {},
  "headers": {
    "Accept": "*/*",
    "Accept-Encoding": "gzip, deflate",
    "Content-Length": "857",
    "Content-Type": "application/json",
    "Host": "httpbin.org",
    "User-Agent": "python-requests/2.28.1",
    "X-Amzn-Trace-Id": "Root=1-63e5f8db-396bb23711bc89f71dff5610"
  },
  "json": {
    "payload": "@prefix setu: <http://ontology.setu.nl#> .\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .\n\n<http://example.com/person/1102116> a setu:Person;\n  setu:supplierAssignedIdentifier \"1102116\" .\n\n_:0 a setu:WorkActivity;\n  setu:activityEnd \"2019-06-03T18:00:00Z\";\n  setu:activityStart \"2019-06-03T09:00:00Z\";\n  setu:costCenterCode \"NL010000516540\";\n  setu:duration 8.0;\n  setu:hourType setu:HourTypeRegular .\n\n_:1 a setu:WorkActivity;\n  setu:activityEnd \"2019-06-03T19:00:00Z\";\n  setu:activityStart \"2019-06-03T18:00:00Z\";\n  setu:costCenterCode \"NL010000516540\";\n  setu:duration 1.0;\n  setu:hourType setu:HourTypeOvertime .\n\n_:2 a setu:Timecard;\n  setu:customerAssignedTimecardIdentifier \"1102116-12345\";\n  setu:reportedResource <http://example.com/person/1102116>;\n  setu:reportedWorkActivity _:0, _:1 .\n"
  },
  "origin": "34.147.29.138",
  "url": "https://httpbin.org/post"
}
Request
<?xml version="1.0" encoding="utf-8"?>
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <emp>
        <pers_id>1102116</pers_id>
        <start_date>2019-06-03T09:00:00Z</start_date>
        <end_date>2019-06-03T18:00:00Z</end_date>
        <time_type>Regular</time_type>
        <externalcode>1102116-12345</externalcode>
        <hours_quant>8.0</hours_quant>
        <costcenter>NL010000516540</costcenter>
    </emp>
    <emp>
        <pers_id>1102116</pers_id>
        <start_date>2019-06-03T18:00:00Z</start_date>
        <end_date>2019-06-03T19:00:00Z</end_date>
        <time_type>Overtime</time_type>
        <externalcode>1102116-12345</externalcode>
        <hours_quant>1.0</hours_quant>
        <costcenter>NL010000516540</costcenter>
    </emp>
</root>
Transformed into
@prefix setu: <http://ontology.setu.nl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://example.com/person/1102116> a setu:Person;
  setu:supplierAssignedIdentifier "1102116" .

_:0 a setu:WorkActivity;
  setu:activityEnd "2019-06-03T18:00:00Z";
  setu:activityStart "2019-06-03T09:00:00Z";
  setu:costCenterCode "NL010000516540";
  setu:duration 8.0;
  setu:hourType setu:HourTypeRegular .

_:1 a setu:WorkActivity;
  setu:activityEnd "2019-06-03T19:00:00Z";
  setu:activityStart "2019-06-03T18:00:00Z";
  setu:costCenterCode "NL010000516540";
  setu:duration 1.0;
  setu:hourType setu:HourTypeOvertime .

_:2 a setu:Timecard;
  setu:customerAssignedTimecardIdentifier "1102116-12345";
  setu:reportedResource <http://example.com/person/1102116>;
  setu:reportedWorkActivity _:0, _:1 .
Time 2023-02-10 07:57:01.354814
Endpoint SETU Timecard example
Success True
Endpoint url https://httpbin.org/post
Input format xml
Output format turtle
Response from https://httpbin.org/post
{
  "args": {},
  "data": "{\"payload\": \"@prefix setu: <http://ontology.setu.nl#> .\\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .\\n\\n<http://example.com/person/1102116> a setu:Person;\\n  setu:supplierAssignedIdentifier \\\"1102116\\\" .\\n\\n_:0 a setu:WorkActivity;\\n  setu:activityEnd \\\"2019-06-03T18:00:00Z\\\";\\n  setu:activityStart \\\"2019-06-03T09:00:00Z\\\";\\n  setu:costCenterCode \\\"NL010000516540\\\";\\n  setu:duration 8.0;\\n  setu:hourType setu:HourTypeRegular .\\n\\n_:1 a setu:WorkActivity;\\n  setu:activityEnd \\\"2019-06-03T19:00:00Z\\\";\\n  setu:activityStart \\\"2019-06-03T18:00:00Z\\\";\\n  setu:costCenterCode \\\"NL010000516540\\\";\\n  setu:duration 1.0;\\n  setu:hourType setu:HourTypeOvertime .\\n\\n_:2 a setu:Timecard;\\n  setu:customerAssignedTimecardIdentifier \\\"1102116-12345\\\";\\n  setu:reportedResource <http://example.com/person/1102116>;\\n  setu:reportedWorkActivity _:0, _:1 .\\n\"}",
  "files": {},
  "form": {},
  "headers": {
    "Accept": "*/*",
    "Accept-Encoding": "gzip, deflate",
    "Content-Length": "857",
    "Content-Type": "application/json",
    "Host": "httpbin.org",
    "User-Agent": "python-requests/2.28.1",
    "X-Amzn-Trace-Id": "Root=1-63e5f8cd-120e79923b5e1a99147f9230"
  },
  "json": {
    "payload": "@prefix setu: <http://ontology.setu.nl#> .\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .\n\n<http://example.com/person/1102116> a setu:Person;\n  setu:supplierAssignedIdentifier \"1102116\" .\n\n_:0 a setu:WorkActivity;\n  setu:activityEnd \"2019-06-03T18:00:00Z\";\n  setu:activityStart \"2019-06-03T09:00:00Z\";\n  setu:costCenterCode \"NL010000516540\";\n  setu:duration 8.0;\n  setu:hourType setu:HourTypeRegular .\n\n_:1 a setu:WorkActivity;\n  setu:activityEnd \"2019-06-03T19:00:00Z\";\n  setu:activityStart \"2019-06-03T18:00:00Z\";\n  setu:costCenterCode \"NL010000516540\";\n  setu:duration 1.0;\n  setu:hourType setu:HourTypeOvertime .\n\n_:2 a setu:Timecard;\n  setu:customerAssignedTimecardIdentifier \"1102116-12345\";\n  setu:reportedResource <http://example.com/person/1102116>;\n  setu:reportedWorkActivity _:0, _:1 .\n"
  },
  "origin": "34.147.29.138",
  "url": "https://httpbin.org/post"
}
Request
<?xml version="1.0" encoding="utf-8"?>
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <emp>
        <pers_id>1102116</pers_id>
        <start_date>2019-06-03T09:00:00Z</start_date>
        <end_date>2019-06-03T18:00:00Z</end_date>
        <time_type>Regular</time_type>
        <externalcode>1102116-12345</externalcode>
        <hours_quant>8.0</hours_quant>
        <costcenter>NL010000516540</costcenter>
    </emp>
    <emp>
        <pers_id>1102116</pers_id>
        <start_date>2019-06-03T18:00:00Z</start_date>
        <end_date>2019-06-03T19:00:00Z</end_date>
        <time_type>Overtime</time_type>
        <externalcode>1102116-12345</externalcode>
        <hours_quant>1.0</hours_quant>
        <costcenter>NL010000516540</costcenter>
    </emp>
</root>
Transformed into
@prefix setu: <http://ontology.setu.nl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://example.com/person/1102116> a setu:Person;
  setu:supplierAssignedIdentifier "1102116" .

_:0 a setu:WorkActivity;
  setu:activityEnd "2019-06-03T18:00:00Z";
  setu:activityStart "2019-06-03T09:00:00Z";
  setu:costCenterCode "NL010000516540";
  setu:duration 8.0;
  setu:hourType setu:HourTypeRegular .

_:1 a setu:WorkActivity;
  setu:activityEnd "2019-06-03T19:00:00Z";
  setu:activityStart "2019-06-03T18:00:00Z";
  setu:costCenterCode "NL010000516540";
  setu:duration 1.0;
  setu:hourType setu:HourTypeOvertime .

_:2 a setu:Timecard;
  setu:customerAssignedTimecardIdentifier "1102116-12345";
  setu:reportedResource <http://example.com/person/1102116>;
  setu:reportedWorkActivity _:0, _:1 .
Page 1 of 1