POST api/MappedPrinters
API Endpoint that will log mapped printers to the ECNStats.Mapped_Printers table. Parameters must be provided in the body of the web request and in JSON format.
Request Information
URI Parameters
None.
Body Parameters
MappedPrintersRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PrinterPath | string |
None. |
|
| UserName | string |
None. |
|
| Token | globally unique identifier |
None. |
|
| MachineDomain | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PrinterPath": "sample string 1",
"UserName": "sample string 2",
"Token": "bd95c8a3-1023-4351-8f24-924f846f4eee",
"MachineDomain": "sample string 4"
}
application/xml, text/xml
Sample:
<MappedPrintersRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WinAPI.Requests"> <MachineDomain>sample string 4</MachineDomain> <Token>bd95c8a3-1023-4351-8f24-924f846f4eee</Token> <PrinterPath>sample string 1</PrinterPath> <UserName>sample string 2</UserName> </MappedPrintersRequest>
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>