POST api/General/SetIntegratorProfilePrefix
Request Information
URI Parameters
None.
Body Parameters
SetIntegratorProfilePrefixRequestName | Description | Type | Additional information |
---|---|---|---|
ProfilePrefix | IntegratorProfilePrefix |
None. |
|
Token | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProfilePrefix": { "IntegratorProfilePrefixId": "sample string 1", "IntegratorProfileId": "sample string 2", "UserId": "sample string 3", "Prefix": "sample string 4", "Year": 5, "LastSerialNumber": 6, "LastInvoiceIssueTime": "2023-02-06T15:05:54.9244188+03:00", "LastUpdateTime": "2023-02-06T15:05:54.9244188+03:00", "CreationTime": "2023-02-06T15:05:54.9244188+03:00", "IntegratorProfileName": "sample string 10", "PrefixTypeId": "sample string 11", "InvoiceId": "sample string 12" }, "Token": "sample string 1" }
application/xml, text/xml
Sample:
<SetIntegratorProfilePrefixRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Integrator.Request"> <Token xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 1</Token> <ProfilePrefix xmlns:d2p1="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Integrator"> <d2p1:CreationTime>2023-02-06T15:05:54.9244188+03:00</d2p1:CreationTime> <d2p1:IntegratorProfileId>sample string 2</d2p1:IntegratorProfileId> <d2p1:IntegratorProfileName>sample string 10</d2p1:IntegratorProfileName> <d2p1:IntegratorProfilePrefixId>sample string 1</d2p1:IntegratorProfilePrefixId> <d2p1:InvoiceId>sample string 12</d2p1:InvoiceId> <d2p1:LastInvoiceIssueTime>2023-02-06T15:05:54.9244188+03:00</d2p1:LastInvoiceIssueTime> <d2p1:LastSerialNumber>6</d2p1:LastSerialNumber> <d2p1:LastUpdateTime>2023-02-06T15:05:54.9244188+03:00</d2p1:LastUpdateTime> <d2p1:Prefix>sample string 4</d2p1:Prefix> <d2p1:PrefixTypeId>sample string 11</d2p1:PrefixTypeId> <d2p1:UserId>sample string 3</d2p1:UserId> <d2p1:Year>5</d2p1:Year> </ProfilePrefix> </SetIntegratorProfilePrefixRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SetIntegratorProfilePrefixResponseName | Description | Type | Additional information |
---|---|---|---|
ProfilePrefix | IntegratorProfilePrefix |
None. |
|
ErrorCode | string |
None. |
|
ErrorMessage | string |
None. |
|
ErrorCategory | string |
None. |
|
Result | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "ProfilePrefix": { "IntegratorProfilePrefixId": "sample string 1", "IntegratorProfileId": "sample string 2", "UserId": "sample string 3", "Prefix": "sample string 4", "Year": 5, "LastSerialNumber": 6, "LastInvoiceIssueTime": "2023-02-06T15:05:54.9400436+03:00", "LastUpdateTime": "2023-02-06T15:05:54.9400436+03:00", "CreationTime": "2023-02-06T15:05:54.9400436+03:00", "IntegratorProfileName": "sample string 10", "PrefixTypeId": "sample string 11", "InvoiceId": "sample string 12" }, "ErrorCode": "sample string 1", "ErrorMessage": "sample string 2", "ErrorCategory": "sample string 3", "Result": true }
application/xml, text/xml
Sample:
<SetIntegratorProfilePrefixResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Integrator.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> <ProfilePrefix xmlns:d2p1="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Integrator"> <d2p1:CreationTime>2023-02-06T15:05:54.9400436+03:00</d2p1:CreationTime> <d2p1:IntegratorProfileId>sample string 2</d2p1:IntegratorProfileId> <d2p1:IntegratorProfileName>sample string 10</d2p1:IntegratorProfileName> <d2p1:IntegratorProfilePrefixId>sample string 1</d2p1:IntegratorProfilePrefixId> <d2p1:InvoiceId>sample string 12</d2p1:InvoiceId> <d2p1:LastInvoiceIssueTime>2023-02-06T15:05:54.9400436+03:00</d2p1:LastInvoiceIssueTime> <d2p1:LastSerialNumber>6</d2p1:LastSerialNumber> <d2p1:LastUpdateTime>2023-02-06T15:05:54.9400436+03:00</d2p1:LastUpdateTime> <d2p1:Prefix>sample string 4</d2p1:Prefix> <d2p1:PrefixTypeId>sample string 11</d2p1:PrefixTypeId> <d2p1:UserId>sample string 3</d2p1:UserId> <d2p1:Year>5</d2p1:Year> </ProfilePrefix> </SetIntegratorProfilePrefixResponse>