| All Verbs | /Gemifin/Attachment/Add |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Token | query | string | No | |
| UserId | query | int | No | |
| GemifinOrderUID | query | int | No | |
| FileName | query | string | No | |
| base64Content | query | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Data | form | GemifinOrderGpDto | No | |
| Error | form | bool | No | |
| ErrorMessage | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Date | form | DateTime | No | |
| Canceled | form | bool | No | |
| CanceledTime | form | DateTime | No | |
| CorrespondenceAddress | form | string | No | |
| ContactPerson | form | string | No | |
| ContactPersonPhoneNo | form | string | No | |
| ContractNumber | form | string | No | |
| PriceExpectation | form | decimal | No | |
| AcceptancePayment | form | decimal | No | |
| SlipAmount | form | decimal | No | |
| AcceptancePaymentReceived | form | bool | No | |
| Instalment | form | bool | No | |
| EyeType | form | EyeType | No | |
| IDNumber | form | string | No | |
| LensType | form | int | No | |
| Condition | form | int | No | |
| FirstName | form | string | No | |
| SurName | form | string | No | |
| Street | form | string | No | |
| HouseNr | form | string | No | |
| PostCode | form | string | No | |
| City | form | string | No | |
| Country | form | string | No | |
| IdentificationNumber | form | string | No | |
| form | string | No | ||
| Phone | form | string | No | |
| MobilePhone | form | string | No | |
| OrderFlag | form | string | No | |
| Operation | form | string | No | |
| Center | form | string | No | |
| ContractDate | form | DateTime | No | |
| RefundAmount | form | decimal | No | |
| OperationDescription | form | string | No | |
| Note | form | string | No | |
| Attachments | form | List<GemifinOrderAttachmentGpDto> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UID | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RecCreated | form | DateTime | No | |
| TemplateUID | form | int | No | |
| DocumentName | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/reply/GemifinAttachmentAddRequest HTTP/1.1
Host: data.oriem.cz
Content-Type: text/jsv
Content-Length: length
{
Token: String,
UserId: 0,
GemifinOrderUID: 0,
FileName: String,
base64Content: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Data:
{
Date: 0001-01-01,
Canceled: False,
CanceledTime: 0001-01-01,
CorrespondenceAddress: String,
ContactPerson: String,
ContactPersonPhoneNo: String,
ContractNumber: String,
PriceExpectation: 0,
AcceptancePayment: 0,
SlipAmount: 0,
AcceptancePaymentReceived: False,
Instalment: False,
EyeType: None,
IDNumber: String,
LensType: 0,
Condition: 0,
FirstName: String,
SurName: String,
Street: String,
HouseNr: String,
PostCode: String,
City: String,
Country: String,
IdentificationNumber: String,
Mail: String,
Phone: String,
MobilePhone: String,
OrderFlag: String,
Operation: String,
Center: String,
ContractDate: 0001-01-01,
RefundAmount: 0,
OperationDescription: String,
Note: String,
Attachments:
[
{
RecCreated: 0001-01-01,
TemplateUID: 0,
DocumentName: String,
UID: 0
}
],
UID: 0
},
Error: False,
ErrorMessage: String
}