Click or drag to resize
Infosoft Logo

InfoWebXMLWebServiceSaveComplaint2 Method

Saves complaint from customer.

Namespace: Infosoft.Webservices
Assembly: Infosoft.Webservices (in Infosoft.Webservices.dll) Version: 4.00.0.0
Syntax
public InfoWebComplaint SaveComplaint2(
	int customerNumber,
	string titleCode,
	string complaintCode,
	string complaintText,
	DateTime complaintDate,
	DateTime complaintLateDelivery,
	string lateDeliveryType,
	string lateDeliveryText,
	string serviceCar,
	string signature,
	string complaintReasonCode
)

Parameters

customerNumber  Int32
The identifier for the customer
titleCode  String
The code for the subscription title.
complaintCode  String
A code indicating the type of complaint.
complaintText  String
The customers description of the complaint (if any) - it is optional
complaintDate  DateTime
The date the complaint concerns (not the day it was registered)
complaintLateDelivery  DateTime
No longer in use, just specify a random date to have the service accept the request.
lateDeliveryType  String
Defines the followup type (if any), Usually leave it out or set to 0 (default) if you don't know what to specify here. Can be one of the following: 0 - Ingen oppfølging, 1 - Service, 2 - Ettersending bud,3 - Ettersending post,4 - Avisbudet leverer, 5 - Godskrift i dager, 6 - Godskrift i kroner,7 - Henter selv, 8 - Banderole.
lateDeliveryText  String
The text for the late delivery (a note to the distribution service)
serviceCar  String
Number of the service car, if the late delivery type is 1 (Service).
signature  String
An optional signature/code that indicates where the registration came from. Defaults to WEB if not given.
complaintReasonCode  String
A code indicating the type of complaint reason.

Return Value

InfoWebComplaint
An InfoWebComplaint object with status code 00 if the complaint was saved successfully. For other possible status codes look under Remarks.
Remarks

Possible status codes:

    int customerNumber = 1234567;
    string titleCode = "BT";
    string complaintCode = "01";
    string complaintText = "This is an internal message about the complaint";
    string lateDeliveryType = "2";
    string lateDeliveryText = "This is a message to the courier for the late delivery";
    string serviceCar = "1";
    
    // The complaintDate and complaintLateDelivery objects are assumed to have been retrieved previously.
    InfoWebComplaint complaintObject = ComplaintSave(customerNumber, titleCode, complaintCode, complaintText, complaintDate,complaintLateDelivery, lateDeliveryType, lateDeliveryText);
See Also