POST api/Partner/SetTerminalSettings
Request Information
URI Parameters
None.
Body Parameters
SetTerminalSettingsRequestName | Description | Type | Additional information |
---|---|---|---|
IntegratorProfileId | string |
None. |
|
TerminalId | string |
None. |
|
EInvoicePrefix | string |
None. |
|
EArchivePrefix | string |
None. |
|
EInvoiceXsltFileUrl | string |
None. |
|
EArchieveXsltFileUrl | string |
None. |
|
AutoSendEmail | boolean |
None. |
|
Token | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "IntegratorProfileId": "sample string 1", "TerminalId": "sample string 2", "EInvoicePrefix": "sample string 3", "EArchivePrefix": "sample string 4", "EInvoiceXsltFileUrl": "sample string 5", "EArchieveXsltFileUrl": "sample string 6", "AutoSendEmail": true, "Token": "sample string 8" }
application/xml, text/xml
Sample:
<SetTerminalSettingsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Terminal.Request"> <Token xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 8</Token> <AutoSendEmail>true</AutoSendEmail> <EArchieveXsltFileUrl>sample string 6</EArchieveXsltFileUrl> <EArchivePrefix>sample string 4</EArchivePrefix> <EInvoicePrefix>sample string 3</EInvoicePrefix> <EInvoiceXsltFileUrl>sample string 5</EInvoiceXsltFileUrl> <IntegratorProfileId>sample string 1</IntegratorProfileId> <TerminalId>sample string 2</TerminalId> </SetTerminalSettingsRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SetTerminalSettingsResponseName | Description | Type | Additional information |
---|---|---|---|
TerminalProfileSettings | TerminalProfileSettings |
None. |
|
ErrorCode | string |
None. |
|
ErrorMessage | string |
None. |
|
ErrorCategory | string |
None. |
|
Result | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "TerminalProfileSettings": { "IntegratorProfileId": "sample string 1", "TerminalId": "sample string 2", "EInvoicePrefix": "sample string 3", "EArchivePrefix": "sample string 4", "EInvoiceXsltFileUrl": "sample string 5", "EArchieveXsltFileUrl": "sample string 6", "AutoSendEmail": true }, "ErrorCode": "sample string 1", "ErrorMessage": "sample string 2", "ErrorCategory": "sample string 3", "Result": true }
application/xml, text/xml
Sample:
<SetTerminalSettingsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Terminal.Response"> <ErrorCategory xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 3</ErrorCategory> <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 1</ErrorCode> <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 2</ErrorMessage> <Result xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">true</Result> <TerminalProfileSettings xmlns:d2p1="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Terminal"> <d2p1:AutoSendEmail>true</d2p1:AutoSendEmail> <d2p1:EArchieveXsltFileUrl>sample string 6</d2p1:EArchieveXsltFileUrl> <d2p1:EArchivePrefix>sample string 4</d2p1:EArchivePrefix> <d2p1:EInvoicePrefix>sample string 3</d2p1:EInvoicePrefix> <d2p1:EInvoiceXsltFileUrl>sample string 5</d2p1:EInvoiceXsltFileUrl> <d2p1:IntegratorProfileId>sample string 1</d2p1:IntegratorProfileId> <d2p1:TerminalId>sample string 2</d2p1:TerminalId> </TerminalProfileSettings> </SetTerminalSettingsResponse>