POST api/MappedDrives
API Endpoint that will log mapped drives to the ECNStats.Mapped_Drives table. Parameters must be provided in the body of the web request and in JSON format.
Request Information
URI Parameters
None.
Body Parameters
MappedDrivesRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| DriveLetter | string |
None. |
|
| DrivePath | string |
None. |
|
| UserName | string |
None. |
|
| Token | globally unique identifier |
None. |
|
| MachineDomain | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"DriveLetter": "sample string 1",
"DrivePath": "sample string 2",
"UserName": "sample string 3",
"Token": "fbfac26f-8a43-4c09-bce0-989203bbd571",
"MachineDomain": "sample string 5"
}
application/xml, text/xml
Sample:
<MappedDrivesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WinAPI.Requests"> <MachineDomain>sample string 5</MachineDomain> <Token>fbfac26f-8a43-4c09-bce0-989203bbd571</Token> <DriveLetter>sample string 1</DriveLetter> <DrivePath>sample string 2</DrivePath> <UserName>sample string 3</UserName> </MappedDrivesRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>