Add Form

You can perform form addition operations in this step.

The form addition process is used in the customer addition and update steps.

The parameters that need to be sent to the service are as follows:

Form Addition Request Parameters

Parametre
Type
Is Mandatory?
Description

DealerNo

string

It is the dealer number.

Username

string

It is the username created for the dealer.

Password

string

It is the password created for the dealer.

FileName

string

It is the file name information.

FileExtension

string

It is the file extension.

FormTypeId

int

It is the form type ID information.

File

byte[]

It is the Byte[] file data.

The JSON example to be sent to the service should be as follows:

{
    "Header": {
        "DealerNo": "dealerno",
        "Username": "username",
        "Password": "password"
    },
    "FileName": "SÜLEYMAN KAHRAMAN KİMLİK ARKA YÜZÜ.jpeg",
    "FileExtention": ".jpeg",
    "FormTypeId": "1",
    "File": "byte[] content here"
}

The parameters for the response message sent from the service after the transaction are shared below;

Form Addition Response Parameters

Parametre
Type
Is Mandatory?
Description

FormId

int

It is the ID of the added form.

FormTypeId

int

It is the form type ID.

FormTypeName

string

It is the name of the form type.

Name

string

It is the name of the created form.

Url

string

It is the URL information of the created form.

If the status information is 0, it means the transaction has been successfully completed.

The example response is as follows:

Last updated