Documentation of the CarRentalAgentService

RequestPropertyOptionalAttribute Class

This attribute class is used to mark a property of a CarRentalAgentService class as optional for a common or specific Request.

For a list of all members of this type, see RequestPropertyOptionalAttribute Members.

System.Object
   Attribute
      RequestPropertyOptionalAttribute

public class RequestPropertyOptionalAttribute : Attribute

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

This type supports the CarRentalAgentService interface infrastructure and is not intended to be used directly from your code.

Even tough a property is marked with RequestPropertyRequiredAttribute it has not necessarily to be set for each Request. This is because there are mostly more than one call variants of a webservice-method, that means different well-defined parametersets. So if a property isn't defined as necessary parameter of a special call variant, it has not to be handed over, even tough it is marked with RequestPropertyRequiredAttribute. The available call-variants and therefore the well-defined parametersets are to be looked up in the definition section of each webservice-method seperately. Each well-defined parameterset is propagated as HTTP-POST-Variant of the corresponding webservice-method!

Note   

All properties marked with this attribute are optional to be specified on an operational request.

Consequently, you may specify a value for a property marked with this property. Depending on the property, a value assignment on that property may affect the operation itself, however is not required to have an effect.

Requirements

Namespace: SunnyCars.Schema.Osi.WsReservation.V4

Assembly: Sunnycars.Schema.Osi.WsReservation.V4 (in Sunnycars.Schema.Osi.WsReservation.V4.dll)

See Also

RequestPropertyOptionalAttribute Members | SunnyCars.Schema.Osi.WsReservation.V4 Namespace | Request | RequestPropertyRequiredAttribute