# SiSuggestMappingRequestType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Request for "suggestMapping" method.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
applicationAttribute | property SiAttributeDefinitionType | [1,1] | Definition of the attribute at the application side.
midPointAttribute | property SiAttributeDefinitionType | [1,1] | Definition of the attribute at the midPoint side.
inbound | property boolean | [1,1] | Is the mapping to be produced an inbound one?
example | property SiSuggestMappingExampleType | [0,-1] | A handful of (applicationValue → midpointValue) examples.
errorLog | property string | [0,1] | Optional error context from midPoint explaining why the previous suggestion could not be applied (e.
previousScript | property string | [0,1] | Previously suggested transformation script (if any).

- ### Items

  - #### applicationAttribute

    Flags: RAM,runtime

    Multiplicity: [1,1]

    Display order:

    Definition of the attribute at the application side.

  - #### midPointAttribute

    Flags: RAM,runtime

    Multiplicity: [1,1]

    Display order:

    Definition of the attribute at the midPoint side.

  - #### inbound

    Flags: RAM,runtime

    Multiplicity: [1,1]

    Display order:

    Is the mapping to be produced an inbound one?

  - #### example

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Display order:

    A handful of (applicationValue → midpointValue) examples.

  - #### errorLog

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Optional error context from midPoint explaining why the previous suggestion could not be applied (e.g., expression evaluation failure). Provided to help the service refine the next suggestion.

  - #### previousScript

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Previously suggested transformation script (if any). Sending it back allows the service to iteratively improve or fix the script when the last attempt failed.