POST api/mcscertification/gettncinfo
Request Information
URI Parameters
None.
Body Parameters
GetTnCInfoArgsName | Description | Type | Additional information |
---|---|---|---|
id | string |
None. |
|
uids | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "sample string 1", "uids": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<GetTnCInfoArgs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InstallerDb.Controllers"> <id>sample string 1</id> <uids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </uids> </GetTnCInfoArgs>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetTnCInfoViewModelName | Description | Type | Additional information |
---|---|---|---|
CompanyName | string |
None. |
|
ContactName | string |
None. |
|
Certifications | Collection of GetTnCInfoGmCertViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "companyName": "sample string 1", "contactName": "sample string 2", "certifications": [ { "printerSerialNumber": "sample string 1", "printerMake": "sample string 2", "printerModel": "sample string 3", "ink": "sample string 4", "uid": "sample string 5", "certId": "sample string 6", "state": 0 }, { "printerSerialNumber": "sample string 1", "printerMake": "sample string 2", "printerModel": "sample string 3", "ink": "sample string 4", "uid": "sample string 5", "certId": "sample string 6", "state": 0 } ] }
application/xml, text/xml
Sample:
<GetTnCInfoViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InstallerDb.Controllers"> <Certifications> <GetTnCInfoGmCertViewModel> <CertId>sample string 6</CertId> <Ink>sample string 4</Ink> <PrinterMake>sample string 2</PrinterMake> <PrinterModel>sample string 3</PrinterModel> <PrinterSerialNumber>sample string 1</PrinterSerialNumber> <State>Not_Set</State> <UID>sample string 5</UID> </GetTnCInfoGmCertViewModel> <GetTnCInfoGmCertViewModel> <CertId>sample string 6</CertId> <Ink>sample string 4</Ink> <PrinterMake>sample string 2</PrinterMake> <PrinterModel>sample string 3</PrinterModel> <PrinterSerialNumber>sample string 1</PrinterSerialNumber> <State>Not_Set</State> <UID>sample string 5</UID> </GetTnCInfoGmCertViewModel> </Certifications> <CompanyName>sample string 1</CompanyName> <ContactName>sample string 2</ContactName> </GetTnCInfoViewModel>