Patent ID: 8870247

Claim:
A door locking apparatus comprising: a latch mechanism that can latch and release a striker; a door opening mechanism that can switch between an unlocking position where the striker latched by the latch mechanism can be released and a locking position where the striker latched by the latch mechanism cannot be released, wherein the door opening mechanism can be operated by a manipulation of an inner handle or an outer handle for opening a door; a manual locking mechanism that moves the door opening mechanism to the unlocking position or the locking position by a manipulation of a locking knob for use from inside a vehicle or a key cylinder for use from outside the vehicle; an automatic locking mechanism that moves the door opening mechanism to the unlocking position or the locking position based on an input of an electric signal; a first housing in which at least the door opening mechanism and the manual locking mechanism are disposed; and a second housing in which the automatic locking mechanism is disposed; and a second housing attaching portion to which the second housing is attached is provided on an outside of the first housing, wherein first and second communication holes through which a rotational driving torque of the automatic locking mechanism is transmitted to the door opening mechanism are made in the first and second housings so as to be communicated with each other; and a locking state detector that detects an unlocking state or a locking state of the door opening mechanism to output the detection state as an electric signal and a connector that externally outputs the electric signal from the locking state detector, wherein the locking state detector and the connector are disposed in the first housing, wherein a connector placing portion of the first housing, in which the connector is disposed, is provided so as to be located inside the second housing attaching portion, and a terminal insertion hole through which a connection terminal is disposed is made in the connector placing portion in order to supply an electric power to the automatic locking mechanism.